| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib.c | 121 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup() argument 126 struct flm_lookup_key key = {.addr6 = dst6 }; in fib6_lookup() 143 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, in fib6_lookup() argument 158 .sin6_addr = *dst6, in fib6_lookup() 162 if (IN6_IS_SCOPE_LINKLOCAL(dst6)) in fib6_lookup() 239 .sin6_addr = *dst6, in lookup_nhop() 243 if (IN6_IS_SCOPE_LINKLOCAL(dst6)) in lookup_nhop() 273 struct flm_lookup_key key = {.addr6 = dst6 }; in fib6_check_urpf() 277 nh = lookup_nhop(fibnum, dst6, scopeid); in fib6_check_urpf() 309 .sin6_addr = *dst6, in fib6_lookup_rt() [all …]
|
| H A D | in6_fib.h | 39 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags, 41 int fib6_check_urpf(uint32_t fibnum, const struct in6_addr *dst6, 43 struct rtentry *fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6, 46 const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags); 48 const struct in6_addr *dst6, uint32_t scopeid);
|
| H A D | nd6_nbr.c | 260 struct sockaddr_in6 dst6; in nd6_ns_input() local 262 bzero(&dst6, sizeof(dst6)); in nd6_ns_input() 263 dst6.sin6_len = sizeof(struct sockaddr_in6); in nd6_ns_input() 264 dst6.sin6_family = AF_INET6; in nd6_ns_input() 265 dst6.sin6_addr = taddr6; in nd6_ns_input() 490 struct in6_addr dst6, src6; in nd6_ns_output_fib() local 494 error = in6_selectsrc_addr(fibnum, &dst6, in nd6_ns_output_fib() 500 ip6_sprintf(ip6buf, &dst6), in nd6_ns_output_fib() 947 struct in6_addr daddr6, dst6, src6; in nd6_na_output_fib() local 1005 in6_splitscope(&daddr6, &dst6, &scopeid); in nd6_na_output_fib() [all …]
|
| H A D | in6_fib_algo.c | 276 fib6_radix_lookup_nh(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid) in fib6_radix_lookup_nh() argument 279 const struct flm_lookup_key key = { .addr6 = dst6 }; in fib6_radix_lookup_nh()
|
| H A D | in6.c | 924 struct sockaddr_in6 dst6; in in6_validate_ifra() local 980 dst6 = ifra->ifra_dstaddr; in in6_validate_ifra() 982 (dst6.sin6_family == AF_INET6)) { in in6_validate_ifra() 986 in6_tmp = dst6.sin6_addr; in in6_validate_ifra() 990 if (dst6.sin6_scope_id != 0) { in in6_validate_ifra() 991 if (dst6.sin6_scope_id != zoneid) in in6_validate_ifra() 994 dst6.sin6_scope_id = zoneid; in in6_validate_ifra() 997 if (sa6_embedscope(&dst6, 0)) in in6_validate_ifra() 1001 ifra->ifra_dstaddr = dst6; in in6_validate_ifra()
|
| H A D | ip6_mroute.c | 1590 struct sockaddr_in6 dst6; in phyint_send() local 1592 bzero(&dst6, sizeof(dst6)); in phyint_send() 1593 dst6.sin6_len = sizeof(struct sockaddr_in6); in phyint_send() 1594 dst6.sin6_family = AF_INET6; in phyint_send() 1595 dst6.sin6_addr = ip6->ip6_dst; in phyint_send() 1604 (struct sockaddr *)&dst6, NULL); in phyint_send()
|
| H A D | nd6.c | 1243 const struct sockaddr *dst6; in nd6_is_new_addr_neighbor() local 1287 dst6 = (const struct sockaddr *)&pr->ndpr_prefix; in nd6_is_new_addr_neighbor() 1303 error = rib_lookup_info(fibnum, dst6, 0, 0, in nd6_is_new_addr_neighbor() 2219 const struct sockaddr_in6 *dst6; in nd6_resolve() local 2226 dst6 = (const struct sockaddr_in6 *)sa_dst; in nd6_resolve() 2239 ETHER_MAP_IPV6_MULTICAST(&dst6->sin6_addr, in nd6_resolve() 2248 ln = nd6_lookup(&dst6->sin6_addr, plle ? LLE_EXCLUSIVE : LLE_UNLOCKED, in nd6_resolve() 2271 return (nd6_resolve_slow(ifp, 0, m, dst6, desten, pflags, plle)); in nd6_resolve()
|
| H A D | icmp6.c | 2122 struct in6_addr dst6; in icmp6_reflect() local 2130 in6_splitscope(&ip6->ip6_src, &dst6, &scopeid); in icmp6_reflect() 2131 error = in6_selectsrc_addr(M_GETFIB(m), &dst6, in icmp6_reflect() 2192 icmp6_redirect_diag(struct in6_addr *src6, struct in6_addr *dst6, in icmp6_redirect_diag() argument 2200 ip6_sprintf(ip6bufs, src6), ip6_sprintf(ip6bufd, dst6), in icmp6_redirect_diag()
|
| /f-stack/freebsd/net/ |
| H A D | if_stf.c | 412 const struct sockaddr_in6 *dst6; in stf_output() local 430 dst6 = (const struct sockaddr_in6 *)dst; in stf_output() 467 else if (IN6_IS_ADDR_6TO4(&dst6->sin6_addr)) in stf_output() 468 ptr = GET_V4(&dst6->sin6_addr); in stf_output()
|
| H A D | rtsock.c | 839 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; in init_sockaddrs_family() local 842 bzero(dst6, sizeof(struct sockaddr_in6)); in init_sockaddrs_family() 845 dst6->sin6_family = AF_INET6; in init_sockaddrs_family() 846 dst6->sin6_len = sizeof(struct sockaddr_in6); in init_sockaddrs_family() 869 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; in export_rtaddrs() local 872 rt_get_inet6_prefix_pmask(rt, &dst6->sin6_addr, in export_rtaddrs() 874 dst6->sin6_scope_id = scopeid; in export_rtaddrs()
|
| /f-stack/lib/ |
| H A D | ff_route.c | 895 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; in init_sockaddrs_family() local 898 bzero(dst6, sizeof(struct sockaddr_in6)); in init_sockaddrs_family() 901 dst6->sin6_family = AF_INET6; in init_sockaddrs_family() 902 dst6->sin6_len = sizeof(struct sockaddr_in6); in init_sockaddrs_family() 923 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; in export_rtaddrs() local 926 rt_get_inet6_prefix_pmask(rt, &dst6->sin6_addr, in export_rtaddrs() 928 dst6->sin6_scope_id = scopeid; in export_rtaddrs()
|
| /f-stack/freebsd/contrib/ipfilter/netinet/ |
| H A D | ip_fil_freebsd.c | 517 i6addr_t dst6; local 566 &dst6, NULL) == -1) { 570 dst4 = dst6.in4; 603 &dst6, NULL) == -1) { 608 dst6 = fin->fin_dst6; 658 ip6->ip6_src = dst6.in6;
|
| /f-stack/freebsd/contrib/dpdk_rte_lpm/ |
| H A D | dpdk_lpm6.c | 80 lookup_ptr_ll(const struct rte_lpm6 *lpm6, const struct in6_addr *dst6, in lookup_ptr_ll() argument 87 return (fib6_radix_lookup_nh(rte_ext->fibnum, dst6, scopeid)); in lookup_ptr_ll()
|
| /f-stack/freebsd/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 178 struct sockaddr_in6 dst6; in nat64_direct_output_one() local 202 dst6.sin6_addr = ip6->ip6_dst; in nat64_direct_output_one() 203 nh6 = nat64_find_route6(&dst6, m); in nat64_direct_output_one() 209 dst = (struct sockaddr *)&dst6; in nat64_direct_output_one()
|
| /f-stack/freebsd/netinet/ |
| H A D | tcp_subr.c | 2978 struct in6_addr dst6; 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()
|
| H A D | sctp_output.c | 5482 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; in sctp_send_initiate_ack() local 5656 IN6_IS_ADDR_LINKLOCAL(&dst6->sin6_addr)) { in sctp_send_initiate_ack() 5683 IN6_IS_ADDR_SITELOCAL(&dst6->sin6_addr)) { in sctp_send_initiate_ack() 5691 memcpy(&stc.laddress, &dst6->sin6_addr, sizeof(struct in6_addr)); in sctp_send_initiate_ack()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 3259 struct in6_addr dst6; 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()
|