Home
last modified time | relevance | path

Searched refs:dst6 (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/netinet6/
H A Din6.c882 struct sockaddr_in6 dst6; in in6_update_ifa() local
930 dst6 = ifra->ifra_dstaddr; in in6_update_ifa()
932 (dst6.sin6_family == AF_INET6)) { in in6_update_ifa()
935 if ((error = in6_recoverscope(&dst6, in in6_update_ifa()
942 dst6.sin6_scope_id = scopeid; in in6_update_ifa()
943 else if (dst6.sin6_scope_id != scopeid) in in6_update_ifa()
945 if ((error = in6_embedscope(&dst6.sin6_addr, &dst6, NULL, NULL)) in in6_update_ifa()
948 dst6.sin6_scope_id = 0; /* XXX */ in in6_update_ifa()
1052 if (dst6.sin6_family == AF_INET6 && in in6_update_ifa()
1053 !IN6_ARE_ADDR_EQUAL(&dst6.sin6_addr, in in6_update_ifa()
[all …]
H A Dip6_mroute.c1465 struct sockaddr_in6 *dst6; in phyint_send() local
1516 dst6 = (struct sockaddr_in6 *)&ro.ro_dst; in phyint_send()
1519 dst6->sin6_len = sizeof(struct sockaddr_in6); in phyint_send()
1520 dst6->sin6_family = AF_INET6; in phyint_send()
1521 dst6->sin6_addr = ip6->ip6_dst; in phyint_send()
1530 dst6->sin6_len = sizeof(struct sockaddr_in6); in phyint_send()
1531 dst6->sin6_family = AF_INET6; in phyint_send()
1532 dst6->sin6_addr = ip6->ip6_dst; in phyint_send()
H A Dip6_input.c427 struct sockaddr_in6 *dst6; in ip6_input() local
437 dst6 = &ip6_forward_rt.ro_dst; in ip6_input()
438 dst6->sin6_len = sizeof(struct sockaddr_in6); in ip6_input()
439 dst6->sin6_family = AF_INET6; in ip6_input()
440 dst6->sin6_addr = ip6->ip6_dst; in ip6_input()
H A Dnd6.c1130 nd6_nud_hint(struct rtentry *rt, struct in6_addr *dst6, int force) in nd6_nud_hint() argument
1139 if (!dst6) in nd6_nud_hint()
1141 if (!(rt = nd6_lookup(dst6, 0, NULL))) in nd6_nud_hint()
H A Dicmp6.c2147 icmp6_redirect_diag(struct in6_addr *src6, struct in6_addr *dst6, in icmp6_redirect_diag() argument
2152 ip6_sprintf(src6), ip6_sprintf(dst6), ip6_sprintf(tgt6)); in icmp6_redirect_diag()
/dragonfly/sys/net/stf/
H A Dif_stf.c334 struct sockaddr_in6 *dst6; in stf_output_serialized() local
347 dst6 = (struct sockaddr_in6 *)dst; in stf_output_serialized()
380 else if (IN6_IS_ADDR_6TO4(&dst6->sin6_addr)) in stf_output_serialized()
381 in4 = GET_V4(&dst6->sin6_addr); in stf_output_serialized()
/dragonfly/sys/net/pf/
H A Dpf.c3585 struct sockaddr_in6 *dst6; in pf_calc_mss() local
3610 dst6->sin6_family = AF_INET6; in pf_calc_mss()
3611 dst6->sin6_len = sizeof(*dst6); in pf_calc_mss()
3612 dst6->sin6_addr = addr->v6; in pf_calc_mss()
5922 struct sockaddr_in6 *dst6; in pf_routable() local
5949 dst6->sin6_family = AF_INET6; in pf_routable()
5950 dst6->sin6_len = sizeof(*dst6); in pf_routable()
5951 dst6->sin6_addr = addr->v6; in pf_routable()
5998 struct sockaddr_in6 *dst6; in pf_rtlabel_match() local
6019 dst6->sin6_len = sizeof(*dst6); in pf_rtlabel_match()
[all …]
/dragonfly/contrib/wpa_supplicant/src/common/
H A Ddpp.c9044 struct sockaddr_in6 *dst6; in dpp_ipaddr_to_sockaddr() local
9058 dst6 = (struct sockaddr_in6 *) addr; in dpp_ipaddr_to_sockaddr()
9059 os_memset(dst6, 0, sizeof(*dst6)); in dpp_ipaddr_to_sockaddr()
9060 dst6->sin6_family = AF_INET6; in dpp_ipaddr_to_sockaddr()
9061 os_memcpy(&dst6->sin6_addr, &ipaddr->u.v6, in dpp_ipaddr_to_sockaddr()
9063 dst6->sin6_port = htons(port); in dpp_ipaddr_to_sockaddr()
9064 *addrlen = sizeof(*dst6); in dpp_ipaddr_to_sockaddr()