Lines Matching refs:prefix
33 struct in6_addr prefix; member
67 const struct in6_addr *prefix; member
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)) in __ip6addrlbl_match()
160 static struct ip6addrlbl_entry *ip6addrlbl_alloc(const struct in6_addr *prefix, in ip6addrlbl_alloc() argument
168 __func__, prefix, prefixlen, ifindex, (unsigned int)label); in ip6addrlbl_alloc()
170 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); in ip6addrlbl_alloc()
193 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); in ip6addrlbl_alloc()
216 ipv6_addr_equal(&p->prefix, &newp->prefix)) { in __ip6addrlbl_add()
243 const struct in6_addr *prefix, int prefixlen, in ip6addrlbl_add() argument
250 __func__, prefix, prefixlen, ifindex, (unsigned int)label, in ip6addrlbl_add()
253 newp = ip6addrlbl_alloc(prefix, prefixlen, ifindex, label); in ip6addrlbl_add()
266 const struct in6_addr *prefix, int prefixlen, in __ip6addrlbl_del() argument
274 __func__, prefix, prefixlen, ifindex); in __ip6addrlbl_del()
279 ipv6_addr_equal(&p->prefix, prefix)) { in __ip6addrlbl_del()
290 const struct in6_addr *prefix, int prefixlen, in ip6addrlbl_del() argument
297 __func__, prefix, prefixlen, ifindex); in ip6addrlbl_del()
299 ipv6_addr_prefix(&prefix_buf, prefix, prefixlen); in ip6addrlbl_del()
321 ip6addrlbl_init_table[i].prefix, in ip6addrlbl_net_init()
460 if (nla_put_in6_addr(skb, IFAL_ADDRESS, &p->prefix) < 0 || in ip6addrlbl_fill()