Home
last modified time | relevance | path

Searched refs:ia6 (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/netinet6/
H A Din6_jail.c66 prison_bcopy_primary_ip6(const struct prison *pr, struct in6_addr *ia6) in prison_bcopy_primary_ip6() argument
69 bcopy(prison_ip_get0(pr, PR_INET6), ia6, sizeof(struct in6_addr)); in prison_bcopy_primary_ip6()
108 prison_get_ip6(struct ucred *cred, struct in6_addr *ia6) in prison_get_ip6() argument
113 KASSERT(ia6 != NULL, ("%s: ia6 is NULL", __func__)); in prison_get_ip6()
128 prison_bcopy_primary_ip6(pr, ia6); in prison_get_ip6()
141 prison_saddrsel_ip6(struct ucred *cred, struct in6_addr *ia6) in prison_saddrsel_ip6() argument
147 KASSERT(ia6 != NULL, ("%s: ia6 is NULL", __func__)); in prison_saddrsel_ip6()
162 bcopy(&lia6, ia6, sizeof(struct in6_addr)); in prison_saddrsel_ip6()
202 prison_local_ip6(struct ucred *cred, struct in6_addr *ia6, int v6only) in prison_local_ip6() argument
208 KASSERT(ia6 != NULL, ("%s: ia6 is NULL", __func__)); in prison_local_ip6()
[all …]
H A Dnd6.c941 struct in6_ifaddr *ia6, *nia6; in nd6_timer() local
958 CK_STAILQ_FOREACH_SAFE(ia6, &V_in6_ifaddrhead, ia_link, nia6) { in nd6_timer()
960 if (IFA6_IS_INVALID(ia6)) { in nd6_timer()
974 (ia6->ia6_flags & IN6_IFF_TEMPORARY) != 0) { in nd6_timer()
975 if (regen_tmpaddr(ia6) == 0) in nd6_timer()
979 in6_purgeaddr(&ia6->ia_ifa); in nd6_timer()
983 } else if (IFA6_IS_DEPRECATED(ia6)) { in nd6_timer()
984 int oldflags = ia6->ia6_flags; in nd6_timer()
986 ia6->ia6_flags |= IN6_IFF_DEPRECATED; in nd6_timer()
993 (ia6->ia6_flags & IN6_IFF_TEMPORARY) != 0 && in nd6_timer()
[all …]
H A Dfrag6.c429 struct in6_ifaddr *ia6; in frag6_input() local
460 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */, false); in frag6_input()
461 if (ia6 != NULL) in frag6_input()
462 dstifp = ia6->ia_ifp; in frag6_input()
H A Dnd6_rtr.c1468 struct in6_ifaddr *ia6 = NULL, *ia6_match = NULL; in prelist_update() local
1743 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { in prelist_update()
1748 ia6->ia6_ndpr = pr; in prelist_update()
1764 if ((e = in6_tmpifadd(ia6, 1, 1)) != 0) { in prelist_update()
1770 ifa_free(&ia6->ia_ifa); in prelist_update()
H A Din6.c181 #define ia62ifa(ia6) (&((ia6)->ia_ifa)) argument
1850 struct in6_ifaddr *ia6; in in6_ifhasaddr() local
1862 ia6 = (struct in6_ifaddr *)ifa; in in6_ifhasaddr()
1863 if (IN6_ARE_ADDR_EQUAL(&ia6->ia_addr.sin6_addr, &in6)) in in6_ifhasaddr()
H A Dip6_output.c1182 struct in6_ifaddr *ia6; in ip6_output() local
1185 ia6 = in6_ifawithifp(ifp, &ip6->ip6_src); in ip6_output()
1186 if (ia6) { in ip6_output()
1188 counter_u64_add(ia6->ia_ifa.ifa_opackets, 1); in ip6_output()
1189 counter_u64_add(ia6->ia_ifa.ifa_obytes, in ip6_output()
H A Dicmp6.c1218 struct in6_ifaddr *ia6 = NULL; in ni6_input() local
1254 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */, false); in ni6_input()
1255 if (ia6 == NULL) in ni6_input()
1258 if ((ia6->ia6_flags & IN6_IFF_TEMPORARY) && in ni6_input()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Daddrconf.h38 addrconf_addr_solict_mult(struct in6_addr *ia6, struct in6_addr *sol) in addrconf_addr_solict_mult() argument
45 sol->s6_addr32[3] = ia6->s6_addr32[3]; in addrconf_addr_solict_mult()
/freebsd/sys/security/mac/
H A Dmac_inet6.c176 mac_inet6_check_add_addr(struct ucred *cred, const struct in6_addr *ia6, in mac_inet6_check_add_addr() argument
181 MAC_POLICY_CHECK(ip6_check_jail, cred, ia6, ifp); in mac_inet6_check_add_addr()
H A Dmac_framework.h203 const struct in6_addr *ia6, struct ifnet *ifp);
H A Dmac_policy.h260 const struct in6_addr *ia6, struct ifnet *ifp);
/freebsd/usr.bin/netstat/
H A Dinet6.c1316 inet6name(struct in6_addr *ia6) in inet6name() argument
1325 if (IN6_IS_ADDR_UNSPECIFIED(ia6)) { in inet6name()
1338 memcpy(&sin6.sin6_addr, ia6, sizeof(*ia6)); in inet6name()
/freebsd/tools/regression/priv/
H A Dmain.c442 struct in6_addr ia6 = IN6ADDR_LOOPBACK_INIT; in enter_jail() local
455 j.ip6 = &ia6; in enter_jail()
/freebsd/sys/security/mac_ipacl/
H A Dmac_ipacl.c418 const struct in6_addr *ia6, if_t ifp) in ipacl_ip6_check_jail() argument
422 ip6_addr.v6 = *ia6; /* Make copy to not alter the original. */ in ipacl_ip6_check_jail()
/freebsd/contrib/sendmail/src/
H A Dconf.c4499 struct in6_addr ia6; local
4516 memmove(&ia6, h->h_addr_list[i],
4518 addr = anynet_ntop(&ia6,
4928 struct in6_addr ia6; in load_if_names() local
5024 ia6 = sa->sin6.sin6_addr; in load_if_names()
5025 if (IN6_IS_ADDR_UNSPECIFIED(&ia6)) in load_if_names()
5027 addr = anynet_ntop(&ia6, buf6, sizeof(buf6)); in load_if_names()
5034 addr = anynet_ntop(&ia6, buf6, sizeof(buf6)); in load_if_names()
5137 struct in6_addr ia6; in load_if_names()
5231 ia6 = sa->sin6.sin6_addr; in load_if_names()
[all …]
H A Dsm_resolve.c1417 struct in6_addr ia6; local
1535 memmove(&ia6, h->h_addr_list[i], IN6ADDRSZ);
1536 addr = anynet_ntop(&ia6, buf6, sizeof(buf6));
H A Dmain.c800 struct in6_addr ia6; local
826 memmove(&ia6, hp->h_addr_list[i], IN6ADDRSZ);
827 addr = anynet_ntop(&ia6, buf6, sizeof(buf6));
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c918 struct in6_addr *ia6 = NULL; in ipf_ifpaddr() local
946 ia6 = &((struct sockaddr_in6 *)sin)->sin6_addr; in ipf_ifpaddr()
947 if (!IN6_IS_ADDR_LINKLOCAL(ia6) && in ipf_ifpaddr()
948 !IN6_IS_ADDR_LOOPBACK(ia6)) in ipf_ifpaddr()
/freebsd/sys/net/
H A Drtsock.c570 struct in6_addr ia6; in rtm_get_jailed() local
586 &ia6, sizeof(struct in6_addr)); in rtm_get_jailed()
587 if (prison_check_ip6(cred, &ia6) == 0) { in rtm_get_jailed()
597 ia6 = ((struct sockaddr_in6 *)nh->nh_ifa->ifa_addr)-> in rtm_get_jailed()
599 if (prison_get_ip6(cred, &ia6) != 0) in rtm_get_jailed()
605 bcopy(&ia6, &saun->sin6.sin6_addr, sizeof(struct in6_addr)); in rtm_get_jailed()
/freebsd/sys/netinet/
H A Dtcp_input.c573 struct in6_ifaddr *ia6; in tcp6_input_with_port() local
591 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */, false); in tcp6_input_with_port()
592 if (ia6 && (ia6->ia6_flags & IN6_IFF_ANYCAST)) { in tcp6_input_with_port()
1270 struct in6_ifaddr *ia6; in tcp_input_with_port() local
1272 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */, false); in tcp_input_with_port()
1273 if (ia6 != NULL && in tcp_input_with_port()
1274 (ia6->ia6_flags & IN6_IFF_DEPRECATED)) { in tcp_input_with_port()