in6               247 netinet/ip_carp.c 	struct in6_addr last6, cur6, in6;
in6               303 netinet/ip_carp.c 			in6 = ifatoia6(ifa)->ia_addr.sin6_addr;
in6               304 netinet/ip_carp.c 			if (IN6_IS_SCOPE_EMBED(&in6)) {
in6               307 netinet/ip_carp.c 				in6.s6_addr16[1] = 0;
in6               310 netinet/ip_carp.c 			    memcmp(&in6, &last6, sizeof(in6)) > 0 &&
in6               311 netinet/ip_carp.c 			    memcmp(&in6, &cur6, sizeof(in6)) < 0) {
in6               312 netinet/ip_carp.c 				cur6 = in6;
in6              1230 netinet/ip_carp.c 	struct in6_addr *in6;
in6              1239 netinet/ip_carp.c 		in6 = &ifatoia6(ifa)->ia_addr.sin6_addr;
in6              1240 netinet/ip_carp.c 		nd6_na_output(sc->sc_carpdev, &mcast, in6,
in6                72 netinet6/in6_ifattach.c #define EUI64_TO_IFID(in6)	do {(in6)->s6_addr[8] ^= EUI64_UBIT; } while (0)
in6                73 netinet6/in6_ifattach.c #define EUI64_GROUP(in6)	((in6)->s6_addr[8] & EUI64_GBIT)
in6                74 netinet6/in6_ifattach.c #define EUI64_INDIVIDUAL(in6)	(!EUI64_GROUP(in6))
in6                75 netinet6/in6_ifattach.c #define EUI64_LOCAL(in6)	((in6)->s6_addr[8] & EUI64_UBIT)
in6                76 netinet6/in6_ifattach.c #define EUI64_UNIVERSAL(in6)	(!EUI64_LOCAL(in6))
in6                78 netinet6/in6_ifattach.c #define IFID_LOCAL(in6)		(!EUI64_LOCAL(in6))
in6                79 netinet6/in6_ifattach.c #define IFID_UNIVERSAL(in6)	(!EUI64_UNIVERSAL(in6))
in6                89 netinet6/in6_ifattach.c get_rand_ifid(ifp, in6)
in6                91 netinet6/in6_ifattach.c 	struct in6_addr *in6;	/* upper 64bits are preserved */
in6               109 netinet6/in6_ifattach.c 	bcopy(digest, &in6->s6_addr[8], 8);
in6               112 netinet6/in6_ifattach.c 	in6->s6_addr[8] &= ~EUI64_GBIT;	/* g bit to "individual" */
in6               113 netinet6/in6_ifattach.c 	in6->s6_addr[8] |= EUI64_UBIT;	/* u bit to "local" */
in6               116 netinet6/in6_ifattach.c 	EUI64_TO_IFID(in6);
in6               126 netinet6/in6_ifattach.c get_hw_ifid(ifp, in6)
in6               128 netinet6/in6_ifattach.c 	struct in6_addr *in6;	/* upper 64bits are preserved */
in6               192 netinet6/in6_ifattach.c 			bcopy(addr, &in6->s6_addr[8], 8);
in6               194 netinet6/in6_ifattach.c 			in6->s6_addr[8] = addr[0];
in6               195 netinet6/in6_ifattach.c 			in6->s6_addr[9] = addr[1];
in6               196 netinet6/in6_ifattach.c 			in6->s6_addr[10] = addr[2];
in6               197 netinet6/in6_ifattach.c 			in6->s6_addr[11] = 0xff;
in6               198 netinet6/in6_ifattach.c 			in6->s6_addr[12] = 0xfe;
in6               199 netinet6/in6_ifattach.c 			in6->s6_addr[13] = addr[3];
in6               200 netinet6/in6_ifattach.c 			in6->s6_addr[14] = addr[4];
in6               201 netinet6/in6_ifattach.c 			in6->s6_addr[15] = addr[5];
in6               219 netinet6/in6_ifattach.c 	if (EUI64_GROUP(in6))
in6               223 netinet6/in6_ifattach.c 	EUI64_TO_IFID(in6);
in6               229 netinet6/in6_ifattach.c 	if ((in6->s6_addr[8] & ~(EUI64_GBIT | EUI64_UBIT)) == 0x00 &&
in6               230 netinet6/in6_ifattach.c 	    bcmp(&in6->s6_addr[9], allzero, 7) == 0) {
in6               243 netinet6/in6_ifattach.c get_ifid(ifp0, altifp, in6)
in6               246 netinet6/in6_ifattach.c 	struct in6_addr *in6;
in6               251 netinet6/in6_ifattach.c 	if (get_hw_ifid(ifp0, in6) == 0) {
in6               258 netinet6/in6_ifattach.c 	if (altifp && get_hw_ifid(altifp, in6) == 0) {
in6               268 netinet6/in6_ifattach.c 		if (get_hw_ifid(ifp, in6) != 0)
in6               275 netinet6/in6_ifattach.c 		if (IFID_UNIVERSAL(in6)) {
in6               284 netinet6/in6_ifattach.c 	if (get_rand_ifid(ifp, in6) == 0) {
in6               296 netinet6/in6_ifattach.c 	    ifp0->if_xname, in6->s6_addr[8], in6->s6_addr[9], in6->s6_addr[10],
in6               297 netinet6/in6_ifattach.c 	    in6->s6_addr[11], in6->s6_addr[12], in6->s6_addr[13],
in6               298 netinet6/in6_ifattach.c 	    in6->s6_addr[14], in6->s6_addr[15]));
in6               552 netinet6/in6_ifattach.c 	struct in6_addr in6;
in6               604 netinet6/in6_ifattach.c 		in6 = in6addr_loopback;
in6               605 netinet6/in6_ifattach.c 		if (in6ifa_ifpwithaddr(ifp, &in6) == NULL) {
in6               547 netinet6/in6_src.c in6_embedscope(in6, sin6, in6p, ifpp)
in6               548 netinet6/in6_src.c 	struct in6_addr *in6;
in6               558 netinet6/in6_src.c 	*in6 = sin6->sin6_addr;
in6               568 netinet6/in6_src.c 	if (IN6_IS_SCOPE_EMBED(in6)) {
in6               579 netinet6/in6_src.c 			in6->s6_addr16[1] = htons(pi->ipi6_ifindex);
in6               580 netinet6/in6_src.c 		} else if (in6p && IN6_IS_ADDR_MULTICAST(in6) &&
in6               584 netinet6/in6_src.c 			in6->s6_addr16[1] = htons(ifp->if_index);
in6               592 netinet6/in6_src.c 			in6->s6_addr16[1] = htons(scopeid & 0xffff);
in6               612 netinet6/in6_src.c in6_recoverscope(sin6, in6, ifp)
in6               614 netinet6/in6_src.c 	const struct in6_addr *in6;
in6               619 netinet6/in6_src.c 	sin6->sin6_addr = *in6;
in6               627 netinet6/in6_src.c 	if (IN6_IS_SCOPE_EMBED(in6)) {
in6               837 netinet6/nd6.c 	struct in6_addr in6 = ((struct sockaddr_in6 *)rt_key(rt))->sin6_addr;
in6               880 netinet6/nd6.c 			rt6_flush(&in6, rt->rt_ifp);
in6               772 netinet6/nd6_nbr.c 			struct in6_addr *in6;
in6               775 netinet6/nd6_nbr.c 			in6 = &((struct sockaddr_in6 *)rt_key(rt))->sin6_addr;
in6               784 netinet6/nd6_nbr.c 			dr = defrouter_lookup(in6, rt->rt_ifp);