/freebsd-11-stable/sys/netinet6/ |
H A D | in6_jail.c | 179 prison_get_ip6(struct ucred *cred, struct in6_addr *ia6) argument 184 KASSERT(ia6 != NULL, ("%s: ia6 is NULL", __func__)); 199 bcopy(&pr->pr_ip6[0], ia6, sizeof(struct in6_addr)); 212 prison_saddrsel_ip6(struct ucred *cred, struct in6_addr *ia6) argument 219 KASSERT(ia6 != NULL, ("%s: ia6 is NULL", __func__)); 235 bcopy(&lia6, ia6, sizeof(struct in6_addr)); 275 prison_local_ip6(struct ucred *cred, struct in6_addr *ia6, int v6only) argument 281 KASSERT(ia6 ! 323 prison_remote_ip6(struct ucred *cred, struct in6_addr *ia6) argument 364 prison_check_ip6_locked(const struct prison *pr, const struct in6_addr *ia6) argument 394 prison_check_ip6(const struct ucred *cred, const struct in6_addr *ia6) argument [all...] |
H A D | nd6.c | 914 struct in6_ifaddr *ia6, *nia6; local 940 TAILQ_FOREACH_SAFE(ia6, &V_in6_ifaddrhead, ia_link, nia6) { 942 if (IFA6_IS_INVALID(ia6)) { 956 (ia6->ia6_flags & IN6_IFF_TEMPORARY) != 0) { 957 if (regen_tmpaddr(ia6) == 0) 961 in6_purgeaddr(&ia6->ia_ifa); 965 } else if (IFA6_IS_DEPRECATED(ia6)) { 966 int oldflags = ia6->ia6_flags; 968 ia6->ia6_flags |= IN6_IFF_DEPRECATED; 975 (ia6 1078 regen_tmpaddr(struct in6_ifaddr *ia6) argument [all...] |
H A D | in6.c | 153 #define ia62ifa(ia6) (&((ia6)->ia_ifa)) 1664 struct in6_ifaddr *ia6; local 1675 ia6 = (struct in6_ifaddr *)ifa; 1676 if (IN6_ARE_ADDR_EQUAL(&ia6->ia_addr.sin6_addr, &in6)) {
|
H A D | nd6_rtr.c | 1226 struct in6_ifaddr *ia6 = NULL, *ia6_match = NULL; local 1503 if ((ia6 = in6_ifadd(new, mcast)) != NULL) { 1508 ia6->ia6_ndpr = pr; 1524 if ((e = in6_tmpifadd(ia6, 1, 1)) != 0) { 1531 ifa_free(&ia6->ia_ifa);
|
H A D | ip6_output.c | 994 struct in6_ifaddr *ia6; local 997 ia6 = in6_ifawithifp(ifp, &ip6->ip6_src); 998 if (ia6) { 1000 counter_u64_add(ia6->ia_ifa.ifa_opackets, 1); 1001 counter_u64_add(ia6->ia_ifa.ifa_obytes, 1003 ifa_free(&ia6->ia_ifa);
|
H A D | icmp6.c | 1186 struct in6_ifaddr *ia6 = NULL; local 1230 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */); 1231 if (ia6 == NULL) 1234 if ((ia6->ia6_flags & IN6_IFF_TEMPORARY) && 1236 ifa_free(&ia6->ia_ifa); 1242 ifa_free(&ia6->ia_ifa);
|
/freebsd-11-stable/usr.bin/netstat/ |
H A D | inet6.c | 1309 inet6name(struct in6_addr *ia6) argument 1318 if (IN6_IS_ADDR_UNSPECIFIED(ia6)) { 1331 memcpy(&sin6.sin6_addr, ia6, sizeof(*ia6)); 1333 /* XXX: ia6.s6_addr[2] can contain scopeid. */
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | main.c | 444 struct in6_addr ia6 = IN6ADDR_LOOPBACK_INIT; local 457 j.ip6 = &ia6;
|
/freebsd-11-stable/sys/net/ |
H A D | if_stf.c | 348 * success on: dst = 10.1.1.1, ia6->ia_addr = 2002:0a01:0101:... 356 * success on: src = 10.1.1.1, ia6->ia_addr = 2002:0a00:.../24 357 * fail on: src = 10.1.1.1, ia6->ia_addr = 2002:0b00:.../24 378 struct in6_ifaddr *ia6; local 399 ia6 = (struct in6_ifaddr *)ia; 402 *mask = ia6->ia_prefixmask.sin6_addr;
|
H A D | rtsock.c | 494 struct in6_addr ia6; local 510 &ia6, sizeof(struct in6_addr)); 511 if (prison_check_ip6(cred, &ia6) == 0) { 521 ia6 = ((struct sockaddr_in6 *)rt->rt_ifa->ifa_addr)-> 523 if (prison_get_ip6(cred, &ia6) != 0) 529 bcopy(&ia6, &saun->sin6.sin6_addr, sizeof(struct in6_addr));
|
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_input.c | 544 struct in6_ifaddr *ia6; local 554 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */); 555 if (ia6 && (ia6->ia6_flags & IN6_IFF_ANYCAST)) { 558 ifa_free(&ia6->ia_ifa); 564 if (ia6) 565 ifa_free(&ia6->ia_ifa); 1297 struct in6_ifaddr *ia6; local 1299 ia6 = in6ifa_ifwithaddr(&ip6->ip6_dst, 0 /* XXX */); 1300 if (ia6 ! [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | conf.c | 4489 struct in6_addr ia6; local 4506 memmove(&ia6, h->h_addr_list[i], 4508 addr = anynet_ntop(&ia6, 4918 struct in6_addr ia6; local 5011 ia6 = sa->sin6.sin6_addr; 5012 if (IN6_IS_ADDR_UNSPECIFIED(&ia6)) 5014 addr = anynet_ntop(&ia6, buf6, sizeof(buf6)); 5021 addr = anynet_ntop(&ia6, buf6, sizeof(buf6)); 5120 struct in6_addr ia6; 5211 ia6 [all...] |
H A D | sm_resolve.c | 1468 struct in6_addr ia6; local 1584 memmove(&ia6, h->h_addr_list[i], IN6ADDRSZ); 1585 addr = anynet_ntop(&ia6, buf6, sizeof(buf6));
|
H A D | main.c | 772 struct in6_addr ia6; local 798 memmove(&ia6, hp->h_addr_list[i], IN6ADDRSZ); 799 addr = anynet_ntop(&ia6, buf6, sizeof(buf6));
|