| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib.c | 122 uint32_t scopeid, uint32_t flags, uint32_t flowid) in fib6_lookup() argument 128 nh = dp->f(dp->arg, key, scopeid); in fib6_lookup() 144 uint32_t scopeid, uint32_t flags, uint32_t flowid) in fib6_lookup() argument 163 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); in fib6_lookup() 224 uint32_t scopeid) in lookup_nhop() argument 244 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); in lookup_nhop() 275 nh = dp->f(dp->arg, key, scopeid); in fib6_check_urpf() 277 nh = lookup_nhop(fibnum, dst6, scopeid); in fib6_check_urpf() 314 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); in fib6_lookup_rt() 333 uint32_t scopeid, uint32_t flags) in fib6_lookup_debugnet() argument [all …]
|
| H A D | in6_fib.h | 39 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags, 42 uint32_t scopeid, uint32_t flags, const struct ifnet *src_if); 44 uint32_t scopeid, uint32_t flags, struct route_nhop_data *rnd); 46 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags); 48 const struct in6_addr *dst6, uint32_t scopeid);
|
| H A D | in6_fib_algo.c | 99 lradix6_lookup(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in lradix6_lookup() argument 108 addr6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); in lradix6_lookup() 249 radix6_lookup(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in radix6_lookup() argument 263 sin6.sin6_addr.s6_addr16[1] = htons(scopeid & 0xffff); in radix6_lookup() 276 fib6_radix_lookup_nh(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid) in fib6_radix_lookup_nh() argument 284 return (radix6_lookup(rh, key, scopeid)); in fib6_radix_lookup_nh()
|
| H A D | in6_src.c | 596 uint32_t scopeid, struct ifnet *ifp, struct in6_addr *srcp, in in6_selectsrc_addr() argument 608 dst_sa.sin6_scope_id = scopeid; in in6_selectsrc_addr() 763 uint32_t scopeid = 0; in selectroute() local 766 scopeid = ntohs(sa6->sin6_addr.s6_addr16[1]); in selectroute() 771 &sa6->sin6_addr, scopeid, NHR_REF, flowid); in selectroute() 774 sa6->sin6_addr.s6_addr16[1] = htons(scopeid); in selectroute() 918 uint32_t fibnum, scopeid; in in6_selecthlim() local 922 in6_splitscope(&inp->in6p_faddr, &dst, &scopeid); in in6_selecthlim() 923 nh = fib6_lookup(fibnum, &dst, scopeid, 0, 0); in in6_selecthlim()
|
| H A D | scope6.c | 484 in6_set_unicast_scopeid(struct in6_addr *in6, uint32_t scopeid) in in6_set_unicast_scopeid() argument 487 in6->s6_addr16[1] = htons(scopeid & 0xffff); in in6_set_unicast_scopeid() 522 uint32_t *scopeid) in in6_splitscope() argument 529 *scopeid = zoneid; in in6_splitscope()
|
| H A D | nd6_nbr.c | 491 uint32_t scopeid; in nd6_ns_output_fib() local 493 in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid); in nd6_ns_output_fib() 495 scopeid, ifp, &src6, NULL); in nd6_ns_output_fib() 948 uint32_t scopeid; in nd6_na_output_fib() local 1005 in6_splitscope(&daddr6, &dst6, &scopeid); in nd6_na_output_fib() 1007 scopeid, ifp, &src6, NULL); in nd6_na_output_fib()
|
| H A D | ip6_output.c | 743 uint32_t scopeid; in ip6_output() local 760 in6_splitscope(&dst_sa.sin6_addr, &kdst, &scopeid); in ip6_output() 764 if (scopeid > 0) { in ip6_output() 765 ifp = in6_getlinkifnet(scopeid); in ip6_output() 775 nh = fib6_lookup(fibnum, &kdst, scopeid, NHR_NONE, in ip6_output() 1466 uint32_t scopeid; in ip6_getpmtu_ctl() local 1469 in6_splitscope(dst, &kdst, &scopeid); in ip6_getpmtu_ctl() 1472 nh = fib6_lookup(fibnum, &kdst, scopeid, NHR_NONE, 0); in ip6_getpmtu_ctl() 1499 uint32_t scopeid; in ip6_getpmtu() local 1525 in6_splitscope(dst, &kdst, &scopeid); in ip6_getpmtu() [all …]
|
| H A D | icmp6.c | 2123 uint32_t scopeid; in icmp6_reflect() local 2130 in6_splitscope(&ip6->ip6_src, &dst6, &scopeid); in icmp6_reflect() 2132 scopeid, NULL, &src6, &hlim); in icmp6_reflect() 2272 uint32_t scopeid; in icmp6_redirect_input() local 2274 in6_splitscope(&reddst6, &kdst, &scopeid); in icmp6_redirect_input() 2276 nh = fib6_lookup(ifp->if_fib, &kdst, scopeid, 0, 0); in icmp6_redirect_input()
|
| H A D | in6.c | 2195 uint32_t scopeid; in in6_lltable_rtcheck() local 2204 in6_splitscope(&sin6->sin6_addr, &dst, &scopeid); in in6_lltable_rtcheck() 2206 nh = fib6_lookup(fibnum, &dst, scopeid, NHR_NONE, 0); in in6_lltable_rtcheck()
|
| H A D | in6_mcast.c | 1834 uint32_t scopeid; in in6p_lookup_mcast_ifp() local 1840 in6_splitscope(&gsin6->sin6_addr, &dst, &scopeid); in in6p_lookup_mcast_ifp() 1842 nh = fib6_lookup(fibnum, &dst, scopeid, 0, 0); in in6p_lookup_mcast_ifp()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_fib.c | 113 fib4_lookup(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, in fib4_lookup() argument 120 nh = dp->f(dp->arg, key, scopeid); in fib4_lookup() 135 fib4_lookup(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, in fib4_lookup() argument 214 lookup_nhop(uint32_t fibnum, struct in_addr dst, uint32_t scopeid) in lookup_nhop() argument 253 fib4_check_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, in fib4_check_urpf() argument 261 nh = dp->f(dp->arg, key, scopeid); in fib4_check_urpf() 263 nh = lookup_nhop(fibnum, dst, scopeid); in fib4_check_urpf() 281 fib4_lookup_rt(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, in fib4_lookup_rt() argument 317 fib4_lookup_debugnet(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, in fib4_lookup_debugnet() argument 323 rt = fib4_lookup_rt(fibnum, dst, scopeid, NHR_UNLOCKED, &rnd); in fib4_lookup_debugnet()
|
| H A D | in_fib.h | 52 uint32_t scopeid, uint32_t flags, uint32_t flowid); 53 int fib4_check_urpf(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, 55 struct rtentry *fib4_lookup_rt(uint32_t fibnum, struct in_addr dst, uint32_t scopeid, 58 uint32_t scopeid, uint32_t flags);
|
| H A D | in_fib_algo.c | 97 bsearch4_lookup(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in bsearch4_lookup() argument 203 uint32_t scopeid; in bsearch4_add_route_cb() local 209 rt_get_inet_prefix_pmask(rt, &addr4, &mask4, &scopeid); in bsearch4_add_route_cb() 528 lradix4_lookup(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in lradix4_lookup() argument 608 uint32_t scopeid; in lradix4_add_route_cb() local 618 rt_get_inet_prefix_pmask(rt, &addr4, &mask4, &scopeid); in lradix4_add_route_cb() 679 radix4_lookup(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in radix4_lookup() argument
|
| H A D | tcp_subr.c | 2979 uint32_t scopeid; in tcp_maxmtu6() local 2989 in6_splitscope(&inc->inc6_faddr, &dst6, &scopeid); in tcp_maxmtu6() 2990 nh = fib6_lookup(inc->inc_fibnum, &dst6, scopeid, NHR_NONE, 0); in tcp_maxmtu6()
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm6.c | 81 uint32_t scopeid) in lookup_ptr_ll() argument 87 return (fib6_radix_lookup_nh(rte_ext->fibnum, dst6, scopeid)); in lookup_ptr_ll() 120 return (lookup_ptr_ll(lpm6, addr6, scopeid)); in lookup_ptr() 161 const struct in6_addr addr6, int plen, uint32_t scopeid) in handle_ll_change() argument 179 uint32_t scopeid; in pack_parent_rule() local 181 rt_get_inet6_prefix_plen(rt, &new_addr6, &plen, &scopeid); in pack_parent_rule() 250 uint32_t scopeid; in handle_any_change() local 253 rt_get_inet6_prefix_plen(rc->rc_rt, &addr6, &plen, &scopeid); in handle_any_change() 256 ret = handle_ll_change(dd, rc, addr6, plen, scopeid); in handle_any_change() 301 uint32_t scopeid; in add_route_cb() local [all …]
|
| H A D | dpdk_lpm.c | 79 lookup_ptr(void *algo_data, const struct flm_lookup_key key, uint32_t scopeid) in lookup_ptr() argument 145 uint32_t scopeid; in get_parent_rule() local 147 rt_get_inet_prefix_plen(rt, &addr4, &inet_plen, &scopeid); in get_parent_rule() 216 uint32_t scopeid; in handle_rtable_change_cb() local 220 rt_get_inet_prefix_plen(rc->rc_rt, &addr4, &plen, &scopeid); in handle_rtable_change_cb() 249 uint32_t scopeid; in add_route_cb() local 252 rt_get_inet_prefix_plen(rt, &addr4, &plen, &scopeid); in add_route_cb()
|
| /f-stack/freebsd/netgraph/netflow/ |
| H A D | netflow.c | 357 uint32_t scopeid; in hash_insert() local 361 rt_get_inet_prefix_plen(rt, &addr, &plen, &scopeid); in hash_insert() 377 uint32_t scopeid; in hash_insert() local 380 rt_get_inet_prefix_plen(rt, &addr, &plen, &scopeid); in hash_insert() 431 uint32_t scopeid; in hash6_insert() local 435 rt_get_inet6_prefix_plen(rt, &addr, &plen, &scopeid); in hash6_insert() 451 uint32_t scopeid; in hash6_insert() local 454 rt_get_inet6_prefix_plen(rt, &addr, &plen, &scopeid); in hash6_insert()
|
| /f-stack/freebsd/net/route/ |
| H A D | fib_algo.h | 55 const struct flm_lookup_key key, uint32_t scopeid);
|
| /f-stack/lib/ |
| H A D | ff_route.c | 144 uint32_t scopeid) in fill_sockaddr_inet6() argument 151 .sin6_scope_id = scopeid, in fill_sockaddr_inet6() 916 uint32_t scopeid = 0; in export_rtaddrs() local 918 &scopeid); in export_rtaddrs() 925 uint32_t scopeid = 0; in export_rtaddrs() local 927 &mask6->sin6_addr, &scopeid); in export_rtaddrs() 928 dst6->sin6_scope_id = scopeid; in export_rtaddrs()
|
| /f-stack/freebsd/net/ |
| H A D | rtsock.c | 861 uint32_t scopeid = 0; in export_rtaddrs() local 863 &scopeid); in export_rtaddrs() 871 uint32_t scopeid = 0; in export_rtaddrs() local 873 &mask6->sin6_addr, &scopeid); in export_rtaddrs() 874 dst6->sin6_scope_id = scopeid; in export_rtaddrs() 1315 uint32_t scopeid) in fill_sockaddr_inet6() argument 1322 .sin6_scope_id = scopeid, in fill_sockaddr_inet6()
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_table_algo.c | 3912 uint32_t scopeid; in ta_dump_kfib_tentry_int() local 3917 rt_get_inet_prefix_plen(rt, &tent->k.addr, &plen, &scopeid); in ta_dump_kfib_tentry_int() 3925 rt_get_inet6_prefix_plen(rt, &tent->k.addr6, &plen, &scopeid); in ta_dump_kfib_tentry_int()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 3260 uint32_t scopeid; in pf_calc_mss() local 3279 in6_splitscope(&addr->v6, &dst6, &scopeid); in pf_calc_mss() 3280 nh = fib6_lookup(rtableid, &dst6, scopeid, 0, 0); in pf_calc_mss()
|