Lines Matching refs:addr
34 struct in6_addr addr;
94 struct in6_addr addr;
213 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf)
224 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32));
227 static inline void ipv6_arcnet_mc_map(const struct in6_addr *addr, char *buf)
232 static inline void ipv6_ib_mc_map(const struct in6_addr *addr,
247 memcpy(buf + 10, addr->s6_addr + 6, 10);
250 static inline int ipv6_ipgre_mc_map(const struct in6_addr *addr,
257 if ((addr->s6_addr32[0] | addr->s6_addr32[1] |
258 (addr->s6_addr32[2] ^ htonl(0x0000ffff))) != 0)
260 memcpy(buf, &addr->s6_addr32[3], 4);