Lines Matching refs:prefix
864 const struct in6_addr *prefix, in gen_stable_iid() argument
878 struct in6_addr prefix; in gen_stable_iid() member
886 if (prefix == NULL) { in gen_stable_iid()
891 memcpy(&buf.prefix, prefix, sizeof(struct in6_addr)); in gen_stable_iid()
950 const struct in6_addr *prefix, in net_ipv6_addr_generate_iid() argument
967 if (prefix == NULL) { in net_ipv6_addr_generate_iid()
970 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[0]), in net_ipv6_addr_generate_iid()
972 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[1]), in net_ipv6_addr_generate_iid()
984 if (prefix == NULL) { in net_ipv6_addr_generate_iid()
988 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[0]), &tmp_addr.s6_addr32[0]); in net_ipv6_addr_generate_iid()
989 UNALIGNED_PUT(UNALIGNED_GET(&prefix->s6_addr32[1]), &tmp_addr.s6_addr32[1]); in net_ipv6_addr_generate_iid()