Lines Matching refs:prefix
35 struct in6_addr prefix; member
83 const struct in6_addr *prefix; member
88 .prefix = &in6addr_any,
91 .prefix = &(struct in6_addr){ { { 0xfc } } } ,
95 .prefix = &(struct in6_addr){ { { 0xfe, 0xc0 } } },
99 .prefix = &(struct in6_addr){ { { 0x20, 0x02 } } },
103 .prefix = &(struct in6_addr){ { { 0x3f, 0xfe } } },
107 .prefix = &(struct in6_addr){ { { 0x20, 0x01 } } },
111 .prefix = &(struct in6_addr){ { { 0x20, 0x01, 0x00, 0x10 } } },
115 .prefix = &(struct in6_addr){ { { [10] = 0xff, [11] = 0xff } } },
119 .prefix = &in6addr_any,
123 .prefix = &in6addr_loopback,
166 if (!ipv6_prefix_equal(addr, &p->prefix, p->prefixlen)) in __ip6addrlbl_match()
204 const struct in6_addr *prefix, in ip6addrlbl_alloc() argument
212 __func__, prefix, prefixlen, ifindex, (unsigned int)label); in ip6addrlbl_alloc()
214 addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); in ip6addrlbl_alloc()
237 ipv6_addr_prefix(&newp->prefix, prefix, prefixlen); in ip6addrlbl_alloc()
264 ipv6_addr_equal(&p->prefix, &newp->prefix)) { in __ip6addrlbl_add()
291 const struct in6_addr *prefix, int prefixlen, in ip6addrlbl_add() argument
298 __func__, prefix, prefixlen, ifindex, (unsigned int)label, in ip6addrlbl_add()
301 newp = ip6addrlbl_alloc(net, prefix, prefixlen, ifindex, label); in ip6addrlbl_add()
314 const struct in6_addr *prefix, int prefixlen, in __ip6addrlbl_del() argument
322 __func__, prefix, prefixlen, ifindex); in __ip6addrlbl_del()
328 ipv6_addr_equal(&p->prefix, prefix)) { in __ip6addrlbl_del()
339 const struct in6_addr *prefix, int prefixlen, in ip6addrlbl_del() argument
346 __func__, prefix, prefixlen, ifindex); in ip6addrlbl_del()
348 ipv6_addr_prefix(&prefix_buf, prefix, prefixlen); in ip6addrlbl_del()
365 ip6addrlbl_init_table[i].prefix, in ip6addrlbl_net_init()
487 if (nla_put(skb, IFAL_ADDRESS, 16, &p->prefix) < 0 || in ip6addrlbl_fill()