Home | History | Annotate | Download | only in route

Lines Matching full:ifindex

89  * int ifindex = rtnl_link_name2i(cache, "lo");
90 * struct rtnl_link *link = rtnl_link_get(cache, ifindex);
691 diff |= LINK_DIFF(IFINDEX, a->l_index != b->l_index);
728 __ADD(LINK_ATTR_IFINDEX, ifindex)
784 * @arg ifindex link interface index
791 struct rtnl_link *rtnl_link_get(struct nl_cache *cache, int ifindex)
799 if (link->l_index == ifindex) {
972 * @arg ifindex link interface index
981 char * rtnl_link_i2name(struct nl_cache *cache, int ifindex, char *dst,
984 struct rtnl_link *link = rtnl_link_get(cache, ifindex);
1004 int ifindex = 0;
1009 ifindex = link->l_index;
1013 return ifindex;
1266 void rtnl_link_set_ifindex(struct rtnl_link *link, int ifindex)
1268 link->l_index = ifindex;
1319 void rtnl_link_set_link(struct rtnl_link *link, int ifindex)
1321 link->l_link = ifindex;
1330 void rtnl_link_set_master(struct rtnl_link *link, int ifindex)
1332 link->l_master = ifindex;