/freebsd-13-stable/sys/netinet6/ |
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 | in6_fib.c | 121 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, argument 126 struct flm_lookup_key key = {.addr6 = dst6 }; 143 fib6_lookup(uint32_t fibnum, const struct in6_addr *dst6, argument 158 .sin6_addr = *dst6, 162 if (IN6_IS_SCOPE_LINKLOCAL(dst6)) 223 lookup_nhop(uint32_t fibnum, const struct in6_addr *dst6, argument 239 .sin6_addr = *dst6, 243 if (IN6_IS_SCOPE_LINKLOCAL(dst6)) 267 fib6_check_urpf(uint32_t fibnum, const struct in6_addr *dst6, argument 273 struct flm_lookup_key key = {.addr6 = dst6 }; 294 fib6_lookup_rt(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags, struct route_nhop_data *rnd) argument 332 fib6_lookup_debugnet(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid, uint32_t flags) argument [all...] |
H A D | nd6_nbr.c | 260 struct sockaddr_in6 dst6; local 262 bzero(&dst6, sizeof(dst6)); 263 dst6.sin6_len = sizeof(struct sockaddr_in6); 264 dst6.sin6_family = AF_INET6; 265 dst6.sin6_addr = taddr6; 272 if (rib_lookup_info(ifp->if_fib, (struct sockaddr *)&dst6, 492 struct in6_addr dst6, src6; local 495 in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid); 496 error = in6_selectsrc_addr(fibnum, &dst6, 949 struct in6_addr daddr6, dst6, src6; local [all...] |
H A D | in6_fib_algo.c | 276 fib6_radix_lookup_nh(uint32_t fibnum, const struct in6_addr *dst6, uint32_t scopeid) argument 279 const struct flm_lookup_key key = { .addr6 = dst6 };
|
H A D | in6.c | 924 struct sockaddr_in6 dst6; local 980 dst6 = ifra->ifra_dstaddr; 982 (dst6.sin6_family == AF_INET6)) { 986 in6_tmp = dst6.sin6_addr; 990 if (dst6.sin6_scope_id != 0) { 991 if (dst6.sin6_scope_id != zoneid) 994 dst6.sin6_scope_id = zoneid; 997 if (sa6_embedscope(&dst6, 0)) 1001 ifra->ifra_dstaddr = dst6;
|
H A D | nd6.c | 1245 const struct sockaddr *dst6; local 1289 dst6 = (const struct sockaddr *)&pr->ndpr_prefix; 1305 error = rib_lookup_info(fibnum, dst6, 0, 0, 2221 const struct sockaddr_in6 *dst6; local 2228 dst6 = (const struct sockaddr_in6 *)sa_dst; 2241 ETHER_MAP_IPV6_MULTICAST(&dst6->sin6_addr, 2250 ln = nd6_lookup(&dst6->sin6_addr, plle ? LLE_EXCLUSIVE : LLE_UNLOCKED, 2273 return (nd6_resolve_slow(ifp, 0, m, dst6, desten, pflags, plle));
|
H A D | ip6_mroute.c | 1590 struct sockaddr_in6 dst6; local 1592 bzero(&dst6, sizeof(dst6)); 1593 dst6.sin6_len = sizeof(struct sockaddr_in6); 1594 dst6.sin6_family = AF_INET6; 1595 dst6.sin6_addr = ip6->ip6_dst; 1604 (struct sockaddr *)&dst6, NULL);
|
H A D | icmp6.c | 2121 struct in6_addr dst6; local 2129 in6_splitscope(&ip6->ip6_src, &dst6, &scopeid); 2130 error = in6_selectsrc_addr(M_GETFIB(m), &dst6, 2191 icmp6_redirect_diag(struct in6_addr *src6, struct in6_addr *dst6, argument 2199 ip6_sprintf(ip6bufs, src6), ip6_sprintf(ip6bufd, dst6),
|
/freebsd-13-stable/tests/sys/netinet/ |
H A D | udp_dontroute.c | 100 struct sockaddr_in6 *dst6 = ((struct sockaddr_in6*)&dst); local 104 dst6->sin6_port = htons(port); 105 ret = inet_pton(AF_INET6, addr, &dst6->sin6_addr);
|
/freebsd-13-stable/usr.sbin/flowctl/ |
H A D | flowctl.c | 307 char src6[INET6_ADDRSTRLEN], dst6[INET6_ADDRSTRLEN]; local 321 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); 326 dst6, 384 char src6[INET6_ADDRSTRLEN], dst6[INET6_ADDRSTRLEN], next6[INET6_ADDRSTRLEN]; local 397 inet_ntop(AF_INET6, &fle6->r.dst.r_dst6, dst6, sizeof(dst6)); 403 dst6,
|
/freebsd-13-stable/sys/net/ |
H A D | if_stf.c | 412 const struct sockaddr_in6 *dst6; local 430 dst6 = (const struct sockaddr_in6 *)dst; 467 else if (IN6_IS_ADDR_6TO4(&dst6->sin6_addr)) 468 ptr = GET_V4(&dst6->sin6_addr);
|
H A D | rtsock.c | 848 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; local 851 bzero(dst6, sizeof(struct sockaddr_in6)); 854 dst6->sin6_family = AF_INET6; 855 dst6->sin6_len = sizeof(struct sockaddr_in6); 878 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; local 881 rt_get_inet6_prefix_pmask(rt, &dst6->sin6_addr, 883 dst6->sin6_scope_id = scopeid;
|
/freebsd-13-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_fil_freebsd.c | 508 i6addr_t dst6; local 557 &dst6, NULL) == -1) { 561 dst4 = dst6.in4; 594 &dst6, NULL) == -1) { 599 dst6 = fin->fin_dst6; 649 ip6->ip6_src = dst6.in6;
|
/freebsd-13-stable/sys/contrib/dpdk_rte_lpm/ |
H A D | dpdk_lpm6.c | 80 lookup_ptr_ll(const struct rte_lpm6 *lpm6, const struct in6_addr *dst6, argument 87 return (fib6_radix_lookup_nh(rte_ext->fibnum, dst6, scopeid));
|
/freebsd-13-stable/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 178 struct sockaddr_in6 dst6; local 202 dst6.sin6_addr = ip6->ip6_dst; 203 nh6 = nat64_find_route6(&dst6, m); 209 dst = (struct sockaddr *)&dst6;
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_cma.c | 3458 struct sockaddr_in6 *src6, *dst6; local 3461 dst6 = (struct sockaddr_in6 *) cma_dst_addr(id_priv); 3465 sdp_hdr->dst_addr.ip6 = dst6->sin6_addr; 3494 struct sockaddr_in6 *src6, *dst6; local 3497 dst6 = (struct sockaddr_in6 *) cma_dst_addr(id_priv); 3501 cma_hdr->dst_addr.ip6 = dst6->sin6_addr;
|
/freebsd-13-stable/contrib/wpa/src/common/ |
H A D | dpp.c | 9044 struct sockaddr_in6 *dst6; local 9058 dst6 = (struct sockaddr_in6 *) addr; 9059 os_memset(dst6, 0, sizeof(*dst6)); 9060 dst6->sin6_family = AF_INET6; 9061 os_memcpy(&dst6->sin6_addr, &ipaddr->u.v6, 9063 dst6->sin6_port = htons(port); 9064 *addrlen = sizeof(*dst6);
|
/freebsd-13-stable/sys/netinet/ |
H A D | tcp_subr.c | 3436 struct in6_addr dst6; local 3447 in6_splitscope(&inc->inc6_faddr, &dst6, &scopeid); 3448 nh = fib6_lookup(inc->inc_fibnum, &dst6, scopeid, NHR_NONE, 0);
|
H A D | sctp_output.c | 5482 struct sockaddr_in6 *dst6 = (struct sockaddr_in6 *)dst; local 5656 IN6_IS_ADDR_LINKLOCAL(&dst6->sin6_addr)) { 5683 IN6_IS_ADDR_SITELOCAL(&dst6->sin6_addr)) { 5691 memcpy(&stc.laddress, &dst6->sin6_addr, sizeof(struct in6_addr));
|
/freebsd-13-stable/sys/netpfil/pf/ |
H A D | pf.c | 3266 struct in6_addr dst6; local 3286 in6_splitscope(&addr->v6, &dst6, &scopeid); 3287 nh = fib6_lookup(rtableid, &dst6, scopeid, 0, 0);
|