Lines Matching refs:ifindex

35 	int ifindex;  member
116 int addrtype, int ifindex) in __ip6addrlbl_match() argument
118 if (p->ifindex && p->ifindex != ifindex) in __ip6addrlbl_match()
129 int type, int ifindex) in __ipv6_addr_label() argument
134 if (__ip6addrlbl_match(p, addr, type, ifindex)) in __ipv6_addr_label()
141 const struct in6_addr *addr, int type, int ifindex) in ipv6_addr_label() argument
149 p = __ipv6_addr_label(net, addr, type, ifindex); in ipv6_addr_label()
154 __func__, addr, type, ifindex, label); in ipv6_addr_label()
161 int prefixlen, int ifindex, in ip6addrlbl_alloc() argument
168 __func__, prefix, prefixlen, ifindex, (unsigned int)label); in ip6addrlbl_alloc()
195 newp->ifindex = ifindex; in ip6addrlbl_alloc()
215 p->ifindex == newp->ifindex && in __ip6addrlbl_add()
224 } else if ((p->prefixlen == newp->prefixlen && !p->ifindex) || in __ip6addrlbl_add()
244 int ifindex, u32 label, int replace) 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()
267 int ifindex) in __ip6addrlbl_del() argument
274 __func__, prefix, prefixlen, ifindex); in __ip6addrlbl_del()
278 p->ifindex == ifindex && in __ip6addrlbl_del()
291 int ifindex) in ip6addrlbl_del() argument
297 __func__, prefix, prefixlen, ifindex); in ip6addrlbl_del()
301 ret = __ip6addrlbl_del(net, &prefix_buf, prefixlen, ifindex); in ip6addrlbl_del()
372 static bool addrlbl_ifindex_exists(struct net *net, int ifindex) in addrlbl_ifindex_exists() argument
378 dev = dev_get_by_index_rcu(net, ifindex); in addrlbl_ifindex_exists()
436 int prefixlen, int ifindex, u32 lseq) in ip6addrlbl_putmsg() argument
442 ifal->ifal_index = ifindex; in ip6addrlbl_putmsg()
457 ip6addrlbl_putmsg(nlh, p->prefixlen, p->ifindex, lseq); in ip6addrlbl_fill()