Searched refs:pfx (Results 1 – 1 of 1) sorted by relevance
283 static inline void ipv6_addr_prefix(struct in6_addr *pfx, in ipv6_addr_prefix() argument291 memset(pfx->s6_addr, 0, sizeof(pfx->s6_addr)); in ipv6_addr_prefix()292 memcpy(pfx->s6_addr, addr, o); in ipv6_addr_prefix()294 pfx->s6_addr[o] = addr->s6_addr[o] & (0xff00 >> b); in ipv6_addr_prefix()