Lines Matching refs:ifindex

523 struct in_device *inetdev_by_index(struct net *net, int ifindex)  in inetdev_by_index()  argument
529 dev = dev_get_by_index_rcu(net, ifindex); in inetdev_by_index()
555 .imr_ifindex = ifa->ifa_dev->dev->ifindex, in ip_mc_config()
1520 ifm->ifa_index = ifa->ifa_dev->dev->ifindex; in inet_fill_ifaddr()
1747 static int inet_netconf_fill_devconf(struct sk_buff *skb, int ifindex, in inet_netconf_fill_devconf() argument
1763 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet_netconf_fill_devconf()
1792 void inet_netconf_notify_devconf(struct net *net, int type, int ifindex, in inet_netconf_notify_devconf() argument
1802 err = inet_netconf_fill_devconf(skb, ifindex, devconf, 0, 0, in inet_netconf_notify_devconf()
1834 int ifindex; in inet_netconf_get_devconf() local
1846 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); in inet_netconf_get_devconf()
1847 switch (ifindex) { in inet_netconf_get_devconf()
1855 dev = __dev_get_by_index(net, ifindex); in inet_netconf_get_devconf()
1870 err = inet_netconf_fill_devconf(skb, ifindex, devconf, in inet_netconf_get_devconf()
1911 if (inet_netconf_fill_devconf(skb, dev->ifindex, in inet_netconf_dump_devconf()
1997 dev->ifindex, &in_dev->cnf); in inet_forward_change()
2012 return idev->dev->ifindex; in devinet_conf_ifindex()
2028 int ifindex; in devinet_conf_proc() local
2041 ifindex = devinet_conf_ifindex(net, cnf); in devinet_conf_proc()
2043 ifindex, cnf); in devinet_conf_proc()
2047 ifindex = devinet_conf_ifindex(net, cnf); in devinet_conf_proc()
2049 ifindex, cnf); in devinet_conf_proc()
2085 idev->dev->ifindex, in devinet_sysctl_forward()