| /f-stack/freebsd/netinet/ |
| H A D | in_fib_algo.c | 76 uint32_t addr4; member 101 uint32_t addr4 = ntohl(key.addr4.s_addr); in bsearch4_lookup() local 110 if (addr4 < br->addr4) { in bsearch4_lookup() 114 } else if (addr4 > br->addr4) { in bsearch4_lookup() 210 rr->addr4 = ntohl(addr4.s_addr); in bsearch4_add_route_cb() 229 if (rec1->addr4 < rec2->addr4) in rr_cmp() 231 else if (rec1->addr4 > rec2->addr4) in rr_cmp() 331 if (pst->addr4 == (rib_entry->addr4 & pst->mask4)) in bsearch4_process_record() 370 if (br_tmp->addr4 == rib_entry->addr4) { in bsearch4_process_record() 534 .sin_addr = key.addr4, in lradix4_lookup() [all …]
|
| H A D | in_rmx.c | 58 const struct sockaddr_in *addr4 = (const struct sockaddr_in *)addr; in rib4_preadd() local 79 if (in_broadcast(addr4->sin_addr, nh->nh_ifp)) { in rib4_preadd()
|
| H A D | in_fib.c | 118 struct flm_lookup_key key = {.addr4 = dst }; in fib4_lookup() 259 struct flm_lookup_key key = {.addr4 = dst }; in fib4_check_urpf()
|
| H A D | in.c | 1293 in_lltable_new(struct in_addr addr4, u_int flags) in in_lltable_new() argument 1306 lle->base.r_l3addr.addr4 = addr4; in in_lltable_new() 1327 lle_addr.s_addr = ntohl(lle->r_l3addr.addr4.s_addr); in in_lltable_match_prefix() 1469 return (in_lltable_hash_dst(lle->r_l3addr.addr4, hsize)); in in_lltable_hash() 1481 sin->sin_addr = lle->r_l3addr.addr4; in in_lltable_fill_sa_entry() 1496 if (lle->r_l3addr.addr4.s_addr == dst.s_addr) in in_lltable_find_dst()
|
| H A D | if_ether.c | 268 dst = lle->r_l3addr.addr4; in arptimer()
|
| /f-stack/freebsd/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 147 rt_get_inet_prefix_plen(rt, &addr4, &inet_plen, &scopeid); in get_parent_rule() 215 struct in_addr addr4; in handle_rtable_change_cb() local 220 rt_get_inet_prefix_plen(rc->rc_rt, &addr4, &plen, &scopeid); in handle_rtable_change_cb() 223 ret = handle_gu_change(dd, rc, addr4, plen); in handle_rtable_change_cb() 248 struct in_addr addr4; in add_route_cb() local 252 rt_get_inet_prefix_plen(rt, &addr4, &plen, &scopeid); in add_route_cb() 255 inet_ntop(AF_INET, &addr4, abuf, sizeof(abuf)); in add_route_cb() 274 ret = rte_lpm_add(dd->lpm, ntohl(addr4.s_addr), plen, nhidx); in add_route_cb()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_geoip_module.c | 265 in_addr_t addr4; in ngx_stream_geoip_addr_v6() local 279 addr4 = ntohl(sin->sin_addr.s_addr); in ngx_stream_geoip_addr_v6() 284 addr6.s6_addr[12] = addr4 >> 24; in ngx_stream_geoip_addr_v6() 285 addr6.s6_addr[13] = addr4 >> 16; in ngx_stream_geoip_addr_v6() 286 addr6.s6_addr[14] = addr4 >> 8; in ngx_stream_geoip_addr_v6() 287 addr6.s6_addr[15] = addr4; in ngx_stream_geoip_addr_v6()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_geoip_module.c | 296 in_addr_t addr4; in ngx_http_geoip_addr_v6() local 317 addr4 = ntohl(sin->sin_addr.s_addr); in ngx_http_geoip_addr_v6() 322 addr6.s6_addr[12] = addr4 >> 24; in ngx_http_geoip_addr_v6() 323 addr6.s6_addr[13] = addr4 >> 16; in ngx_http_geoip_addr_v6() 324 addr6.s6_addr[14] = addr4 >> 8; in ngx_http_geoip_addr_v6() 325 addr6.s6_addr[15] = addr4; in ngx_http_geoip_addr_v6()
|
| /f-stack/freebsd/net/route/ |
| H A D | fib_algo.h | 50 struct in_addr addr4; member
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64lsn_control.c | 120 uint32_t addr4, mask4; in nat64lsn_create() local 148 addr4 = ntohl(uc->prefix4.s_addr); in nat64lsn_create() 150 if ((addr4 & mask4) != addr4) in nat64lsn_create() 163 cfg = nat64lsn_init_instance(ch, addr4, uc->plen4); in nat64lsn_create()
|
| /f-stack/freebsd/net/ |
| H A D | if_llatbl.h | 56 struct in_addr addr4; member
|