Lines Matching refs:prefix

33 	struct in6_addr prefix;
45 * prefix addr_type label
67 const struct in6_addr *prefix;
72 .prefix = &in6addr_any,
75 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
79 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
83 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
87 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
91 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
95 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
99 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
103 .prefix = &in6addr_any,
107 .prefix = &in6addr_loopback,
122 if (!ipv6_prefix_equal(addr, &p->prefix, p->prefixlen))
160 static struct ip6addrlbl_entry *ip6addrlbl_alloc(const struct in6_addr *prefix,
167 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u)\n",
168 __func__, prefix, prefixlen, ifindex, (unsigned int)label);
170 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK);
193 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen);
216 ipv6_addr_equal(&p->prefix, &newp->prefix)) {
243 const struct in6_addr *prefix, int prefixlen,
249 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u, replace=%d)\n",
250 __func__, prefix, prefixlen, ifindex, (unsigned int)label,
253 newp = ip6addrlbl_alloc(prefix, prefixlen, ifindex, label);
266 const struct in6_addr *prefix, int prefixlen,
273 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n",
274 __func__, prefix, prefixlen, ifindex);
279 ipv6_addr_equal(&p->prefix, prefix)) {
290 const struct in6_addr *prefix, int prefixlen,
296 ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n",
297 __func__, prefix, prefixlen, ifindex);
299 ipv6_addr_prefix(&prefix_buf, prefix, prefixlen);
321 ip6addrlbl_init_table[i].prefix,
460 if (nla_put_in6_addr(skb, IFAL_ADDRESS, &p->prefix) < 0 ||