/freebsd/sys/netinet/ |
H A D | in_fib_algo.c | 75 uint32_t addr4; member 100 uint32_t addr4 = ntohl(key.addr4.s_addr); in bsearch4_lookup() local 109 if (addr4 < br->addr4) { in bsearch4_lookup() 113 } else if (addr4 > br->addr4) { in bsearch4_lookup() 201 struct in_addr addr4, mask4; in bsearch4_add_route_cb() local 208 rt_get_inet_prefix_pmask(rt, &addr4, &mask4, &scopeid); in bsearch4_add_route_cb() 209 rr->addr4 = ntohl(addr4.s_addr); in bsearch4_add_route_cb() 228 if (rec1->addr4 < rec2->addr4) in rr_cmp() 230 else if (rec1->addr4 > rec2->addr4) in rr_cmp() 287 last_array_addr = (br_prev->addr4 | ~br_prev->mask4); in pop_stack_entry() [all …]
|
H A D | in_rmx.c | 56 const struct sockaddr_in *addr4 = (const struct sockaddr_in *)addr; in rib4_set_nh_pfxflags() local 74 if (in_broadcast(addr4->sin_addr, nh->nh_ifp)) in rib4_set_nh_pfxflags()
|
H A D | in.c | 1451 in_lltable_new(struct in_addr addr4, u_int flags) in in_lltable_new() argument 1464 lle->base.r_l3addr.addr4 = addr4; in in_lltable_new() 1482 lle_addr.s_addr = ntohl(lle->r_l3addr.addr4.s_addr); in in_lltable_match_prefix() 1596 return (in_lltable_hash_dst(lle->r_l3addr.addr4, hsize)); in in_lltable_hash() 1608 sin->sin_addr = lle->r_l3addr.addr4; in in_lltable_fill_sa_entry() 1623 if (lle->r_l3addr.addr4.s_addr == dst.s_addr) in in_lltable_find_dst() 1802 arprequest(ifp, &lle->r_l3addr.addr4, &lle->r_l3addr.addr4, in in_lltable_post_resolved()
|
H A D | in_fib.c | 117 struct flm_lookup_key key = {.addr4 = dst }; in fib4_lookup() 258 struct flm_lookup_key key = {.addr4 = dst }; in fib4_check_urpf()
|
H A D | in_fib_dxr.c | 314 ntohl(key.addr4.s_addr))]); \ 1085 return (dxr->nh_tbl[dxr_lookup(dxr, ntohl(key.addr4.s_addr))]); in dxr_build() 1250 ip = ntohl(q->entries[ui].addr4.s_addr); in dxr_change_rib_batch()
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | dpdk_lpm.c | 89 ret = rte_lpm_lookup(lpm, ntohl(key.addr4.s_addr), &nhidx); in lookup_ptr() 144 struct in_addr addr4; in get_parent_rule() local 148 rt_get_inet_prefix_plen(rt, &addr4, &parent_plen, &scopeid); in get_parent_rule() 219 struct in_addr addr4; in handle_rtable_change_cb() local 224 rt_get_inet_prefix_plen(rc->rc_rt, &addr4, &plen, &scopeid); in handle_rtable_change_cb() 227 ret = handle_gu_change(dd, rc, addr4, plen); in handle_rtable_change_cb() 252 struct in_addr addr4; in add_route_cb() local 256 rt_get_inet_prefix_plen(rt, &addr4, &plen, &scopeid); in add_route_cb() 259 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf)); in add_route_cb() 278 ret = rte_lpm_add(dd->lpm, ntohl(addr4.s_addr), plen, nhidx); in add_route_cb()
|
/freebsd/sys/net/route/ |
H A D | route_helpers.c | 482 struct in_addr addr4; in get_inet_parent_prefix() local 491 rt_get_inet_prefix_plen(rt, &addr4, &parent_plen, &scopeid); in get_inet_parent_prefix() 505 rt_get_inet_prefix_plen(rt, &addr4, &parent_plen, &scopeid); in get_inet_parent_prefix() 520 struct in_addr addr4 = addr; in rt_get_inet_parent() local 527 addr4.s_addr = htonl(ntohl(addr4.s_addr) & ntohl(mask4.s_addr)); in rt_get_inet_parent() 528 if (addr4.s_addr == lookup_addr.s_addr) { in rt_get_inet_parent() 532 lookup_addr = addr4; in rt_get_inet_parent() 643 struct in_addr addr4; in rt_print_buf() local 644 rt_get_inet_prefix_plen(rt, &addr4, &plen, &scopeid); in rt_print_buf() 645 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf)); in rt_print_buf()
|
H A D | fib_algo.h | 49 struct in_addr addr4; member 55 struct in_addr addr4; member
|
/freebsd/tests/sys/net/routing/ |
H A D | rtsock_config.h | 45 struct sockaddr_in addr4; member 90 c->addr4.sin_len = sizeof(struct sockaddr_in); in config_setup() 91 c->addr4.sin_family = AF_INET; in config_setup() 96 c->addr4.sin_addr.s_addr = htonl(ntohl(c->net4.sin_addr.s_addr) + 1); in config_setup() 98 inet_ntop(AF_INET, &c->addr4.sin_addr, c->addr4_str, INET_ADDRSTRLEN); in config_setup()
|
H A D | test_rtsock_lladdr.c | 232 sin = c->addr4; in ATF_TC_BODY() 369 sin = c->addr4; in ATF_TC_BODY()
|
/freebsd/libexec/tftpd/tests/ |
H A D | functional.c | 331 struct sockaddr_in addr4; in setup() local 342 len = sizeof(addr4); in setup() 343 bzero(&addr4, len); in setup() 344 addr4.sin_len = len; in setup() 345 addr4.sin_family = PF_INET; in setup() 346 addr4.sin_port = htons(port); in setup() 347 server_addr = (struct sockaddr *)&addr4; in setup()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_net.h | 58 #define SET_ADDR4(psau, addr4) (NSRCADR(psau) = htonl(addr4)) argument
|
/freebsd/contrib/unbound/util/ |
H A D | proxy_protocol.h | 111 } addr4; member
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn_control.c | 117 uint32_t addr4, mask4; in nat64lsn_create() local 145 addr4 = ntohl(uc->prefix4.s_addr); in nat64lsn_create() 147 if ((addr4 & mask4) != addr4) in nat64lsn_create() 160 cfg = nat64lsn_init_instance(ch, addr4, uc->plen4); in nat64lsn_create()
|
/freebsd/contrib/wireguard-tools/ |
H A D | containers.h | 57 struct sockaddr_in addr4; member
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | dp_mon.h | 51 u8 addr4[ETH_ALEN]; member
|
H A D | rx_desc.h | 139 u8 addr4[ETH_ALEN]; member
|
H A D | hal.c | 466 ether_addr_copy(hdr->addr4, desc->u.qcn9274.mpdu_start.addr4); in ath12k_hw_qcn9274_rx_desc_get_dot11_hdr() 906 ether_addr_copy(hdr->addr4, desc->u.wcn7850.mpdu_start.addr4); in ath12k_hw_wcn7850_rx_desc_get_dot11_hdr()
|
H A D | hal_rx.h | 225 u8 addr4[ETH_ALEN]; member
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | rx_desc.h | 438 u8 addr4[ETH_ALEN]; member 545 u8 addr4[ETH_ALEN]; member 570 u8 addr4[ETH_ALEN]; member
|
/freebsd/usr.sbin/jail/ |
H A D | config.c | 533 struct in_addr addr4; in check_intparams() local 624 memcpy(&addr4, in check_intparams() 627 sin_addr, sizeof(addr4)); in check_intparams() 629 &addr4, avalue4, in check_intparams()
|
/freebsd/usr.sbin/rrenumd/ |
H A D | parser.y | 81 struct in_addr addr4; member 102 %token <addr4> IPV4ADDR
|
/freebsd/sys/net/ |
H A D | if_llatbl.h | 54 struct in_addr addr4; member
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | ieee80211.h | 458 uint8_t addr4[ETH_ALEN]; 1151 return (hdr->addr4); in ieee80211_is_frag() 456 uint8_t addr4[ETH_ALEN]; global() member
|
/freebsd/sys/netlink/route/ |
H A D | neigh.c | 165 addr.in = lle->r_l3addr.addr4; in dump_lle_locked()
|