/openbsd-current/sys/netinet/ |
H A D | ip_input.c | 238 ip_ours(struct mbuf **mp, int *offp, int nxt, int af) argument 245 if (af != AF_UNSPEC) 425 ip_input_if(struct mbuf **mp, int *offp, int nxt, int af, struct ifnet *ifp) argument 482 nxt = ip_ours(mp, offp, nxt, af); 490 nxt = ip_ours(mp, offp, nxt, af); 539 nxt = ip_ours(mp, offp, nxt, af); 555 nxt = ip_ours(mp, offp, nxt, af); 712 #define IPSTAT_INC(name) (af == AF_INET ? \ 717 ip_deliver(struct mbuf **mp, int *offp, int nxt, int af, int shared) argument 732 switch (af) { [all...] |
H A D | tcp_subr.c | 310 int af; /* af on wire */ local 319 af = tp->pf; 321 af = (((struct ip *)template)->ip_v == 6) ? AF_INET6 : AF_INET; 330 switch (af) { 398 switch (af) { 1011 tcp_signature(struct tdb *tdb, int af, struct mbuf *m, struct tcphdr *th, argument 1020 switch(af) {
|
H A D | igmp.c | 199 igmp_input(struct mbuf **mp, int *offp, int proto, int af) argument 212 proto = igmp_input_if(ifp, mp, offp, proto, af); 219 igmp_input_if(struct ifnet *ifp, struct mbuf **mp, int *offp, int proto, int af) argument 482 return rip_input(mp, offp, proto, af);
|
/openbsd-current/sys/net/ |
H A D | pfvar.h | 116 * For each connection (combination of proto,src,dst,af) the number 220 sa_family_t pfid_af; /* rule af */ 282 #define PF_MISMATCHAW(aw, x, af, neg, ifp, rtid) \ 285 pf_routable((x), (af), NULL, (rtid))) || \ 287 pf_routable((x), (af), (ifp), (rtid))) || \ 289 !pf_rtlabel_match((x), (af), (aw), (rtid))) || \ 291 !pfr_match_addr((aw)->p.tbl, (x), (af))) || \ 293 !pfi_match_addr((aw)->p.dyn, (x), (af))) || \ 296 &(aw)->v.a.mask, (x), (af))) || \ 298 !PF_AZERO(&(aw)->v.a.mask, (af)) 573 sa_family_t af; member in struct:pf_rule 651 sa_family_t af; member in struct:pf_src_node 708 sa_family_t af; member in struct:pf_state_key_cmp 763 sa_family_t af; member in struct:pfsync_state_key 784 sa_family_t af; member in struct:pfsync_state 1378 sa_family_t af; member in struct:pfioc_natlook [all...] |
H A D | pf_norm.c | 106 struct pf_frnode *fr_node; /* ip src/dst/proto/af for fragments */ 294 * Limit the number of fragments we accept for each (proto,src,dst,af) 1197 switch (pd->af) { 1211 unhandled_af(pd->af); 1223 pd->off + sizeof(*th), opts, olen, NULL, pd->af)) 1278 switch (pd->af) { 1298 unhandled_af(pd->af); 1307 pd->af)) { 1640 !pf_pull_hdr(pd->m, optsoff, opts, olen, NULL, pd->af)) 1666 pf_scrub(struct mbuf *m, u_int16_t flags, sa_family_t af, u_int8_ argument [all...] |
H A D | if_tpmr.c | 250 sa_family_t af; member in struct:tpmr_pf_ip_family 256 .af = AF_INET, 263 .af = AF_INET6, 298 if (pf_test(fam->af, dir, ifp0, &m) != PF_PASS) {
|
/openbsd-current/lib/libcrypto/x509/ |
H A D | x509_internal.h | 50 int af; /* INET and INET6 are supported */ member in struct:x509_constraints_name
|
/openbsd-current/usr.sbin/radiusd/ |
H A D | radiusd_local.h | 61 int af; member in struct:radiusd_client
|
H A D | parse.y | 81 int af; 187 client0->af = $3.af; 264 $$.af = res->ai_family;
|
/openbsd-current/usr.sbin/ldpd/ |
H A D | lde.h | 79 int af; member in struct:lde_addr 103 int af; member in struct:fec_nh
|
H A D | ldpe.h | 82 int af; member in struct:nbr 119 int af; member in struct:pending_conn
|
/openbsd-current/usr.sbin/tcpdump/ |
H A D | print-lldp.c | 105 lldp_print_addr(int af, const void *addr) argument 108 if (inet_ntop(af, addr, buf, sizeof(buf)) == NULL)
|
/openbsd-current/usr.bin/openssl/ |
H A D | s_socket.c | 81 init_client(int *sock, char *host, char *port, int type, int af) argument 87 hints.ai_family = af;
|
/openbsd-current/gnu/llvm/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 40 const char *inet_ntop(int af, const void *src, char *dst, socklen_t size) { argument 45 switch (af) {
|
/openbsd-current/usr.sbin/relayd/ |
H A D | pfe_filter.c | 402 rio.rule.af = address->ss.ss_family; 547 if ((pnl.af = cnl->src.ss_family) != cnl->dst.ss_family) 549 switch (pnl.af) { 579 inet_ntop(pnl.af, &pnl.rsaddr, ibuf, sizeof(ibuf)); 580 inet_ntop(pnl.af, &pnl.rdaddr, obuf, sizeof(obuf)); 585 switch (pnl.af) { 602 cnl->rsrc.ss_family = pnl.af; 603 cnl->rdst.ss_family = pnl.af;
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | ppp.c | 193 int flag, af; local 198 af = ((struct sockaddr *)&_this->phy_info)->sa_family; 199 if (af < AF_MAX) { 201 if (af == AF_INET || af == AF_INET6) 211 if (af == AF_INET || af == AF_INET6) 215 } else if (af == NPPPD_AF_PHONE_NUMBER) {
|
H A D | npppd_iface.c | 506 uint32_t af; local 524 GETLONG(af, pktp); 527 switch (af) {
|
/openbsd-current/usr.sbin/eigrpd/ |
H A D | eigrpd.c | 563 eigrp_find(struct eigrpd_conf *xconf, int af, uint16_t as) argument 568 if (eigrp->af == af && eigrp->as == as) 648 if ((xe = eigrp_find(xconf, eigrp->af, eigrp->as)) == NULL) { 666 if ((eigrp = eigrp_find(conf, xe->af, xe->as)) == NULL) {
|
H A D | eigrpe.c | 605 rinfo.af = if_addr->af; 610 eigrp_applymask(rinfo.af, &rinfo.prefix, &rinfo.prefix, 676 sctl.af = eigrp->af;
|
/openbsd-current/sbin/pfctl/ |
H A D | pfctl_table.c | 617 int i, af, dir, act; local 638 af = (i>>2) & 1; 642 istats_text[af][dir][act], 643 (unsigned long long)p->pfik_packets[af][dir][act], 644 (unsigned long long)p->pfik_bytes[af][dir][act]);
|
/openbsd-current/sbin/isakmpd/ |
H A D | ike_phase_1.c | 798 sa_family_t af = 0; local 829 af = AF_INET; 833 af = AF_INET6; 846 if (text2sockaddr(data, NULL, &src, af, 0)) { 867 if (text2sockaddr(data, NULL, &src, af, 0)) { 884 if (text2sockaddr(data, NULL, &src, af, 1)) { 993 sa_family_t af = 0; local 1015 af = AF_INET; 1018 af = AF_INET6; 1031 if (text2sockaddr(p, 0, &sa, af, [all...] |
/openbsd-current/sys/netinet6/ |
H A D | ip6_input.c | 175 ip6_ours(struct mbuf **mp, int *offp, int nxt, int af) argument 185 if (af != AF_UNSPEC) 357 ip6_input_if(struct mbuf **mp, int *offp, int nxt, int af, struct ifnet *ifp) argument 448 nxt = ip6_ours(mp, offp, nxt, af); 498 if (af == AF_UNSPEC) 499 nxt = ip6_ours(mp, offp, nxt, af); 511 nxt = ip6_ours(mp, offp, nxt, af); 570 nxt = ip6_ours(mp, offp, nxt, af); 595 if (af == AF_UNSPEC) 596 nxt = ip6_ours(mp, offp, nxt, af); [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.cpp | 114 uptr __sanitizer_in_addr_sz(int af) { argument 115 if (af == AF_INET) 117 else if (af == AF_INET6)
|
/openbsd-current/include/ |
H A D | resolv.h | 162 int af; /* address family for addr, mask */ member in struct:__res_state_ext::__anon3
|
/openbsd-current/usr.sbin/bgpd/ |
H A D | rde_prefix.c | 168 fatalx("pt_getaddr: unknown af"); 184 fatalx("pt_getflowspec: unknown af"); 246 fatalx("pt_fill: unknown af"); 342 fatalx("pt_lookup: unknown af"); 359 const struct pt_entry_flow *af, *bf; local 430 af = (const struct pt_entry_flow *)a; 432 return flowspec_cmp(af->flow, af->len - PT_FLOW_SIZE, 436 fatalx("pt_prefix_cmp: unknown af");
|