Lines Matching refs:s6_addr
95 #ifdef s6_addr
100 * If 's6_addr' is defined then assume that there is a union and three
110 #ifdef s6_addr
119 #ifdef s6_addr
130 (memcmp((x)->s6_addr, in6addr_any.s6_addr, 10) == 0 && \
131 (x)->s6_addr[10] == 0xff && (x)->s6_addr[11] == 0xff)
137 (memcmp((x)->s6_addr, in6addr_any.s6_addr, 12) == 0 && \
138 ((x)->s6_addr[12] != 0 || (x)->s6_addr[13] != 0 || \
139 (x)->s6_addr[14] != 0 || \
140 ((x)->s6_addr[15] != 0 && (x)->s6_addr[15] != 1)))
145 #define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
151 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0x80))
157 (((a)->s6_addr[0] == 0xfe) && (((a)->s6_addr[1] & 0xc0) == 0xc0))
164 (memcmp((x)->s6_addr, in6addr_loopback.s6_addr, 16) == 0)