Searched refs:s6_addr32 (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-head/contrib/ntp/lib/isc/include/isc/
H A Dipv6.h73 #define s6_addr32 _S6_un._S6_u32 macro
102 (((a)->s6_addr32[0] == 0) && \
103 ((a)->s6_addr32[1] == 0) && \
104 ((a)->s6_addr32[2] == 0) && \
105 ((a)->s6_addr32[3] == 0))
111 (((a)->s6_addr32[0] == 0) && \
112 ((a)->s6_addr32[1] == 0) && \
113 ((a)->s6_addr32[2] == 0) && \
114 ((a)->s6_addr32[3] == htonl(1)))
120 (((a)->s6_addr32[
[all...]
/freebsd-head/contrib/ofed/librdmacm/
H A Dconfig.h5 #define s6_addr32 __u6_addr.__u6_addr32 macro
H A Daddrinfo.c134 ib_addr_set(&(*dst)->sib_addr, src->sin6_addr.s6_addr32[0],
135 src->sin6_addr.s6_addr32[1], src->sin6_addr.s6_addr32[2],
136 src->sin6_addr.s6_addr32[3]);
/freebsd-head/contrib/wpa/src/ap/
H A Dndisc_snoop.c74 if (ip6addr->addr.s6_addr32[0] == addr->s6_addr32[0] &&
75 ip6addr->addr.s6_addr32[1] == addr->s6_addr32[1] &&
76 ip6addr->addr.s6_addr32[2] == addr->s6_addr32[2] &&
77 ip6addr->addr.s6_addr32[3] == addr->s6_addr32[3])
122 if (!(saddr.s6_addr32[0] == 0 && saddr.s6_addr32[
[all...]
/freebsd-head/sys/compat/linuxkpi/common/include/net/
H A Dif_inet6.h50 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32));
H A Dipv6.h89 __ipv6_addr_set_half(&addr->s6_addr32[0], w1, w2);
90 __ipv6_addr_set_half(&addr->s6_addr32[2], w3, w4);
104 return ((a->s6_addr32[0] | a->s6_addr32[1] |
105 (a->s6_addr32[2] ^ htonl(0x0000ffff))) == 0);
/freebsd-head/sys/netinet6/
H A Din6_var.h415 (((d)->s6_addr32[0] ^ (a)->s6_addr32[0]) & (m)->s6_addr32[0]) == 0 && \
416 (((d)->s6_addr32[1] ^ (a)->s6_addr32[1]) & (m)->s6_addr32[1]) == 0 && \
417 (((d)->s6_addr32[2] ^ (a)->s6_addr32[2]) & (m)->s6_addr32[2]) == 0 && \
418 (((d)->s6_addr32[
[all...]
H A Din6_pcbgroup.c115 hash = faddrp->s6_addr32[3] ^ fport;
123 hash = faddrp->s6_addr32[3] ^ laddrp->s6_addr32[3];
H A Din6_ifattach.c435 ifra.ifra_addr.sin6_addr.s6_addr32[0] = htonl(0xfe800000);
436 ifra.ifra_addr.sin6_addr.s6_addr32[1] = 0;
438 ifra.ifra_addr.sin6_addr.s6_addr32[2] = 0;
439 ifra.ifra_addr.sin6_addr.s6_addr32[3] = htonl(1);
640 bcopy(digest, &in6->s6_addr32[3], sizeof(in6->s6_addr32[3]));
H A Dnd6_rtr.c1234 ifra.ifra_addr.sin6_addr.s6_addr32[0] |=
1235 (ib->ia_addr.sin6_addr.s6_addr32[0] & ~mask.s6_addr32[0]);
1236 ifra.ifra_addr.sin6_addr.s6_addr32[1] |=
1237 (ib->ia_addr.sin6_addr.s6_addr32[1] & ~mask.s6_addr32[1]);
1238 ifra.ifra_addr.sin6_addr.s6_addr32[2] |=
1239 (ib->ia_addr.sin6_addr.s6_addr32[2] & ~mask.s6_addr32[2]);
1240 ifra.ifra_addr.sin6_addr.s6_addr32[
[all...]
H A Dnd6_nbr.c175 daddr6.s6_addr32[1] == 0 &&
176 daddr6.s6_addr32[2] == IPV6_ADDR_INT32_ONE &&
462 ip6->ip6_dst.s6_addr32[1] = 0;
463 ip6->ip6_dst.s6_addr32[2] = IPV6_ADDR_INT32_ONE;
464 ip6->ip6_dst.s6_addr32[3] = taddr6->s6_addr32[3];
989 daddr6.s6_addr32[1] = 0;
990 daddr6.s6_addr32[2] = 0;
991 daddr6.s6_addr32[3] = IPV6_ADDR_INT32_ONE;
H A Din6.c784 mltaddr.s6_addr32[0] = IPV6_ADDR_INT32_MLL;
785 mltaddr.s6_addr32[2] = htonl(1);
786 mltaddr.s6_addr32[3] = ifra->ifra_addr.sin6_addr.s6_addr32[3];
2199 return (IN6_LLTBL_HASH(dst->s6_addr32[3], hsize));
2512 sin->sin_addr.s_addr = sin6->sin6_addr.s6_addr32[3];
2523 sin6->sin6_addr.s6_addr32[0] = 0;
2524 sin6->sin6_addr.s6_addr32[1] = 0;
2525 sin6->sin6_addr.s6_addr32[2] = IPV6_ADDR_INT32_SMP;
2526 sin6->sin6_addr.s6_addr32[
[all...]
H A Dip6_mroute.c298 #define MF6CHASH(a, g) MF6CHASHMOD((a).s6_addr32[0] ^ (a).s6_addr32[1] ^ \
299 (a).s6_addr32[2] ^ (a).s6_addr32[3] ^ \
300 (g).s6_addr32[0] ^ (g).s6_addr32[1] ^ \
301 (g).s6_addr32[2] ^ (g).s6_addr32[3])
/freebsd-head/contrib/ofed/libibverbs/
H A Dconfig.h32 #define s6_addr32 __u6_addr.__u6_addr32 macro
H A Dverbs.c726 ipv6->s6_addr32[0] = 0;
727 ipv6->s6_addr32[1] = 0;
728 ipv6->s6_addr32[2] = htobe32(0x0000FFFF);
729 ipv6->s6_addr32[3] = ipv4;
921 (a->s6_addr32[0] == htobe32(0xff0e0000) &&
922 ((a->s6_addr32[1] |
923 (a->s6_addr32[2] ^ htobe32(0x0000ffff))) == 0UL));
/freebsd-head/sys/netpfil/ipfw/nptv6/
H A Dnptv6.c85 (a)->s6_addr32[0] &= (m)->s6_addr32[0]; \
86 (a)->s6_addr32[1] &= (m)->s6_addr32[1]; \
87 (a)->s6_addr32[2] &= (m)->s6_addr32[2]; \
88 (a)->s6_addr32[3] &= (m)->s6_addr32[3]; \
93 (((d)->s6_addr32[0] ^ (a)->s6_addr32[
[all...]
/freebsd-head/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.h136 ((a)->s6_addr32[0] == IPV6_ADDR_INT32_WKPFX && \
137 (a)->s6_addr32[1] == 0 && (a)->s6_addr32[2] == 0)
H A Dnat64_translate.c355 ip6->s6_addr32[plen / 32] = ia;
365 ip6->s6_addr32[1] &= 0xffffffff << (32 - plen % 32);
367 ip6->s6_addr32[1] |= ia >> (plen % 32);
368 ip6->s6_addr32[2] = ia << (24 - plen % 32);
370 ip6->s6_addr32[1] |= ia << (plen % 32);
371 ip6->s6_addr32[2] = ia >> (24 - plen % 32);
376 ip6->s6_addr32[2] = ia >> 8;
377 ip6->s6_addr32[3] = ia << 24;
379 ip6->s6_addr32[2] = ia << 8;
380 ip6->s6_addr32[
[all...]
/freebsd-head/sys/ofed/include/rdma/
H A Dib_addr.h312 if (addr->s6_addr32[0] == htonl(0xfe800000) &&
313 addr->s6_addr32[1] == 0)
333 ipv4_addr = addr->s6_addr32[3];
/freebsd-head/sys/netinet/
H A Dtcp_hostcache.c181 (((ip6)->s6_addr32[0] ^ \
182 (ip6)->s6_addr32[1] ^ \
183 (ip6)->s6_addr32[2] ^ \
184 (ip6)->s6_addr32[3]) & \
H A Dsiftr.c775 pn->ip_laddr[0] = inp->in6p_laddr.s6_addr32[0];
776 pn->ip_laddr[1] = inp->in6p_laddr.s6_addr32[1];
777 pn->ip_laddr[2] = inp->in6p_laddr.s6_addr32[2];
778 pn->ip_laddr[3] = inp->in6p_laddr.s6_addr32[3];
779 pn->ip_faddr[0] = inp->in6p_faddr.s6_addr32[0];
780 pn->ip_faddr[1] = inp->in6p_faddr.s6_addr32[1];
781 pn->ip_faddr[2] = inp->in6p_faddr.s6_addr32[2];
782 pn->ip_faddr[3] = inp->in6p_faddr.s6_addr32[3];
H A Dtcp_lro.c1264 hash = ip6->ip6_src.s6_addr32[0] +
1265 ip6->ip6_dst.s6_addr32[0];
1266 hash += ip6->ip6_src.s6_addr32[1] +
1267 ip6->ip6_dst.s6_addr32[1];
1268 hash += ip6->ip6_src.s6_addr32[2] +
1269 ip6->ip6_dst.s6_addr32[2];
1270 hash += ip6->ip6_src.s6_addr32[3] +
1271 ip6->ip6_dst.s6_addr32[3];
/freebsd-head/sys/dev/sfxge/
H A Dsfxge_rx.c148 return (left->s6_addr32[0] - right->s6_addr32[0]) |
149 (left->s6_addr32[1] - right->s6_addr32[1]) |
150 (left->s6_addr32[2] - right->s6_addr32[2]) |
151 (left->s6_addr32[3] - right->s6_addr32[3]);
/freebsd-head/usr.sbin/syslogd/
H A Dsyslogd.c171 #define s6_addr32 __u6_addr.__u6_addr32 macro
173 (((d)->s6_addr32[0] ^ (a)->s6_addr32[0]) & (m)->s6_addr32[0]) == 0 && \
174 (((d)->s6_addr32[1] ^ (a)->s6_addr32[1]) & (m)->s6_addr32[1]) == 0 && \
175 (((d)->s6_addr32[2] ^ (a)->s6_addr32[2]) & (m)->s6_addr32[
[all...]
/freebsd-head/sys/net/altq/
H A Daltq_subr.c1688 if (filt->ff_flow6.fi6_src.s6_addr32[i] !=
1689 (pkt->fi6_src.s6_addr32[i] &
1690 filt->ff_mask6.mask6_src.s6_addr32[i]))
1695 if (filt->ff_flow6.fi6_dst.s6_addr32[i] !=
1696 (pkt->fi6_dst.s6_addr32[i] &
1697 filt->ff_mask6.mask6_dst.s6_addr32[i]))

Completed in 391 milliseconds

12