Searched refs:af (Results 176 - 200 of 279) sorted by relevance

1234567891011>>

/openbsd-current/sys/net/
H A Dif_gre.c888 gre_input(struct mbuf **mp, int *offp, int type, int af) argument
902 if (gre_input_key(mp, offp, type, af, ip->ip_tos, &key) == -1)
903 return (rip_input(mp, offp, type, af));
910 gre_input6(struct mbuf **mp, int *offp, int type, int af) argument
927 if (gre_input_key(mp, offp, type, af, flow >> 20, &key) == -1)
928 return (rip6_input(mp, offp, type, af));
997 gre_input_key(struct mbuf **mp, int *offp, int type, int af, uint8_t otos, argument
1559 int af; local
1565 af = m->m_pkthdr.ph_family;
1570 bpf_mtap_af(if_bpf, af,
1633 sa_family_t af; local
1823 gre_l3_encap_dst(const struct gre_tunnel *tunnel, const void *dst, struct mbuf *m, sa_family_t af) argument
3759 sa_family_t af = sc->sc_tunnel.t_af; local
4060 gre_ip_cmp(int af, const union gre_addr *a, const union gre_addr *b) argument
[all...]
H A Dif_ethersubr.c223 sa_family_t af = dst->sa_family; local
230 af == AF_UNSPEC || af == pseudo_AF_HDRCMPLT);
240 switch (af) {
260 if_input_local(ifp, mcopy, af);
322 printf("%s: can't handle af%d\n", ifp->if_xname, af);
H A Dif.c782 if_input_local(struct ifnet *ifp, struct mbuf *m, sa_family_t af) argument
799 bpf_mtap_af(if_bpf, af, m, BPF_DIRECTION_OUT);
821 ((af == AF_INET &&
823 (af == AF_INET6 &&
848 switch (af) {
865 printf("%s: can't handle af%d\n", ifp->if_xname, af);
965 if_output_local(struct ifnet *ifp, struct mbuf *m, sa_family_t af) argument
970 m->m_pkthdr.ph_family = af;
1590 u_int af local
3558 unhandled_af(int af) argument
[all...]
H A Dif_bridge.c1499 struct llc *llc, int dir, int af, int hlen, struct mbuf *m)
1516 switch (af) {
1603 ip_deliver(&m, &hlen, prot, af, 0);
1612 error = ipsp_spd_lookup(m, af, hlen, IPSP_DIRECTION_OUT,
1622 pf_test(af, dir, encif, &m) != PF_PASS) {
1631 if (af == AF_INET)
1634 else if (af == AF_INET6)
1640 if ((af == AF_INET) &&
1649 error = ipsp_process_packet(m, tdb, af, 0);
1498 bridge_ipsec(struct ifnet *ifp, struct ether_header *eh, int hassnap, struct llc *llc, int dir, int af, int hlen, struct mbuf *m) argument
H A Dif_etherip.c587 ip_etherip_input(struct mbuf **mp, int *offp, int type, int af) argument
765 ip6_etherip_input(struct mbuf **mp, int *offp, int proto, int af) argument
825 etherip_ip_cmp(int af, const union etherip_addr *a, const union etherip_addr *b) argument
827 switch (af) {
837 panic("%s: unsupported af %d", __func__, af);
/openbsd-current/usr.sbin/unbound/util/
H A Dnet_help.h556 * @param af: where to store address family.
560 struct sockaddr_storage* addr, socklen_t* addrlen, int* net, int* af);
/openbsd-current/sbin/unwind/libunbound/util/
H A Dnet_help.h556 * @param af: where to store address family.
560 struct sockaddr_storage* addr, socklen_t* addrlen, int* net, int* af);
/openbsd-current/usr.bin/rsync/
H A Dsocket.c53 inet_bind(int s, sa_family_t af, const struct source *bsrc, size_t bsrcsz) argument
60 if (bsrc[i].family != af)
/openbsd-current/regress/sys/netinet/pmtu/
H A DMakefile194 .for af in inet inet6
195 ssh ${REMOTE_SSH} netstat -na -f ${af} -p tcp | fgrep ' *.19 '
/openbsd-current/usr.sbin/traceroute/
H A Dworker.c479 packet_ok(struct tr_conf *conf, int af, struct msghdr *mhdr, int cc, int *seq) argument
481 switch (af) {
489 errx(1, "unsupported AF: %d", af);
750 icmp_code(int af, int code, int *got_there, int *unreachable, argument
753 switch (af) {
761 errx(1, "unsupported AF: %d", af);
/openbsd-current/usr.sbin/rpki-client/
H A Dcert.c352 const IPAddressFamily *af; local
372 af = sk_IPAddressFamily_value(addrblk, i);
374 switch (af->ipAddressChoice->type) {
380 aors = af->ipAddressChoice->u.addressesOrRanges;
385 fn, af->ipAddressChoice->type);
400 if (!ip_addr_afi_parse(fn, af->addressFamily, &afi)) {
H A Dx509.c624 const IPAddressFamily *af; local
639 af = sk_IPAddressFamily_value(addrblk, i);
640 if (af->ipAddressChoice->type != IPAddressChoice_inherit)
/openbsd-current/sys/arch/macppc/dev/
H A Dif_mc.c1084 mace_calcladrf(struct mc_softc *sc, u_int8_t *af) argument
1102 *((u_int32_t *)af) = *((u_int32_t *)af + 1) = 0;
1111 af[crc >> 3] |= 1 << (crc & 7);
1120 *((u_int32_t *)af) = *((u_int32_t *)af + 1) = 0xffffffff;
/openbsd-current/libexec/spamd/
H A Dspamd.c54 int af; member in struct:con
214 sa_family_t af; local
273 af = AF_INET;
277 af = AF_INET6;
314 if (af == AF_INET) {
344 printf("bogus config line - need 'tag;message;af;count;a/m;a/m;a/m...'\n");
471 append_error_string(struct con *cp, size_t off, char *fmt, int af, void *ia) argument
539 inet_ntop(af, ia, c + i, (len - i));
598 cp->af, cp->ia);
724 cp->af
[all...]
/openbsd-current/usr.bin/nc/
H A Dnetcat.c1562 set_common_sockopts(int s, int af) argument
1577 if (af == AF_INET && setsockopt(s, IPPROTO_IP,
1581 else if (af == AF_INET6 && setsockopt(s, IPPROTO_IPV6,
1597 if (af == AF_INET && setsockopt(s, IPPROTO_IP,
1601 else if (af == AF_INET6 && setsockopt(s, IPPROTO_IPV6,
1607 if (af == AF_INET && setsockopt(s, IPPROTO_IP,
1611 else if (af == AF_INET6 && setsockopt(s, IPPROTO_IPV6,
/openbsd-current/sys/netinet/
H A Dudp_usrreq.c193 udp_input(struct mbuf **mp, int *offp, int proto, int af) argument
232 switch (af) {
262 unhandled_af(af);
337 protoff = af == AF_INET ? offsetof(struct ip, ip_p) :
340 af, IPPROTO_ESP, 1);
345 switch (af) {
564 error = ipsp_spd_lookup(m, af, iphlen, IPSP_DIRECTION_IN,
/openbsd-current/libexec/ftpd/
H A Dftpd.c1802 int af; local
1826 af = 4;
1832 af = 6;
1835 af = 0;
1838 if (af) {
1843 printf("(%u,%llu", af, (unsigned long long)alen);
1852 af = 1;
1855 af = 2;
1858 af = 0;
1861 if (af) {
2280 af2epsvproto(int af) argument
[all...]
/openbsd-current/usr.sbin/nsd/
H A Drdata.c485 int af = -1; local
489 case 1: af = AF_INET; break;
490 case 2: af = AF_INET6; break;
492 if (af != -1 && buffer_available(&packet, length)) {
497 if (inet_ntop(af, address, text_address, sizeof(text_address))) {
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.cpp167 uptr __sanitizer_in_addr_sz(int af) { argument
168 if (af == AF_INET)
170 else if (af == AF_INET6)
/openbsd-current/usr.sbin/unbound/services/
H A Drpz.c942 int net, af; local
948 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
964 int net, af; local
970 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
987 int net, af; local
993 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
1336 int net, af; local
1339 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af))
1454 int net, af; local
1457 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af))
1470 int net, af; local
[all...]
/openbsd-current/sbin/unwind/libunbound/services/
H A Drpz.c942 int net, af; local
948 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
964 int net, af; local
970 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
987 int net, af; local
993 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af)) {
1336 int net, af; local
1339 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af))
1454 int net, af; local
1457 if(!netblockdnametoaddr(dname, dnamelen, &addr, &addrlen, &net, &af))
1470 int net, af; local
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/
H A Dapp.c687 /* We have seen "af" at the start of a symbol,
1276 /* "af'" is a symbol containing '\''. */
/openbsd-current/gnu/usr.bin/texinfo/intl/
H A Dconfig.charset130 for l in af af_ZA ca ca_ES da da_DK de de_AT de_BE de_CH de_DE de_LU \
/openbsd-current/usr.sbin/ldpd/
H A Dinit.c204 nbr->keepalive = min(nbr_get_keepalive(nbr->af, nbr->id),
389 parms.keepalive_time = htons(nbr_get_keepalive(nbr->af, nbr->id));
/openbsd-current/regress/sys/net/pflog/
H A DMakefile335 REGRESS_TARGETS += run-bpf-af
336 run-bpf-af: stamp-stop
355 # af-to address has been rewritten
367 # af-to address has been rewritten

Completed in 481 milliseconds

1234567891011>>