• Home
  • Raw
  • Download

Lines Matching refs:ifindex

525 static int inet6_netconf_fill_devconf(struct sk_buff *skb, int ifindex,  in inet6_netconf_fill_devconf()  argument
545 if (nla_put_s32(skb, NETCONFA_IFINDEX, ifindex) < 0) in inet6_netconf_fill_devconf()
579 int ifindex, struct ipv6_devconf *devconf) in inet6_netconf_notify_devconf() argument
588 err = inet6_netconf_fill_devconf(skb, ifindex, devconf, 0, 0, in inet6_netconf_notify_devconf()
658 int ifindex; in inet6_netconf_get_devconf() local
669 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); in inet6_netconf_get_devconf()
670 switch (ifindex) { in inet6_netconf_get_devconf()
678 dev = dev_get_by_index(net, ifindex); in inet6_netconf_get_devconf()
693 err = inet6_netconf_fill_devconf(skb, ifindex, devconf, in inet6_netconf_get_devconf()
768 if (inet6_netconf_fill_devconf(skb, dev->ifindex, in inet6_netconf_dump_devconf()
857 dev->ifindex, &idev->cnf); in dev_forward_change()
939 dev->ifindex, in addrconf_linkdown_change()
1502 int ifindex; member
1628 ret = (!dst->ifindex || in ipv6_get_saddr_eval()
1629 dst->ifindex == score->ifa->idev->dev->ifindex); in ipv6_get_saddr_eval()
1635 score->ifa->idev->dev->ifindex) == dst->label; in ipv6_get_saddr_eval()
1790 dst.ifindex = dst_dev ? dst_dev->ifindex : 0; in ipv6_dev_get_saddr()
1792 dst.label = ipv6_addr_label(net, daddr, dst_type, dst.ifindex); in ipv6_dev_get_saddr()
1838 master_idx = master->ifindex; in ipv6_dev_get_saddr()
2435 table = (unsigned) dev->ifindex + (-sysctl); in addrconf_rt_table()
2453 .fc_ifindex = dev->ifindex, in addrconf_prefix_route()
2502 if (rt->fib6_nh->fib_nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
2527 .fc_ifindex = dev->ifindex, in addrconf_add_mroute()
2948 const struct in6_addr *addr, int ifindex) in ipv6_mc_config() argument
2956 ret = ipv6_sock_mc_join(sk, ifindex, addr); in ipv6_mc_config()
2958 ret = ipv6_sock_mc_drop(sk, ifindex, addr); in ipv6_mc_config()
2967 static int inet6_addr_add(struct net *net, int ifindex, in inet6_addr_add() argument
2996 dev = __dev_get_by_index(net, ifindex); in inet6_addr_add()
3008 true, cfg->pfx, ifindex); in inet6_addr_add()
3063 cfg->pfx, ifindex); in inet6_addr_add()
3069 static int inet6_addr_del(struct net *net, int ifindex, u32 ifa_flags, in inet6_addr_del() argument
3082 dev = __dev_get_by_index(net, ifindex); in inet6_addr_del()
3109 false, pfx, dev->ifindex); in inet6_addr_del()
4458 ifp->idev->dev->ifindex, in if6_seq_show()
5028 u8 scope, int ifindex) in put_ifaddrmsg() argument
5037 ifm->ifa_index = ifindex; in put_ifaddrmsg()
5088 int ifindex; member
5104 ifa->idev->dev->ifindex); in inet6_fill_ifaddr()
5169 int ifindex = ifmca->idev->dev->ifindex; in inet6_fill_ifmcaddr() local
5185 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex); in inet6_fill_ifmcaddr()
5201 int ifindex = dev ? dev->ifindex : 1; in inet6_fill_ifacaddr() local
5219 put_ifaddrmsg(nlh, 128, IFA_F_PERMANENT, scope, ifindex); in inet6_fill_ifacaddr()
5317 fillargs->ifindex = ifm->ifa_index; in inet6_valid_dump_ifaddr_req()
5318 if (fillargs->ifindex) { in inet6_valid_dump_ifaddr_req()
5382 if (fillargs.ifindex) { in inet6_dump_addr()
5383 dev = __dev_get_by_index(tgt_net, fillargs.ifindex); in inet6_dump_addr()
6026 hdr->ifi_index = dev->ifindex; in inet6_fill_ifinfo()
6034 (dev->ifindex != dev_get_iflink(dev) && in inet6_fill_ifinfo()
6176 pmsg->prefix_ifindex = idev->dev->ifindex; in inet6_fill_prefix()
6439 idev->dev->ifindex, in addrconf_sysctl_proxy_ndp()
7160 int i, ifindex; in __addrconf_sysctl_register() local
7188 ifindex = NETCONFA_IFINDEX_ALL; in __addrconf_sysctl_register()
7190 ifindex = NETCONFA_IFINDEX_DEFAULT; in __addrconf_sysctl_register()
7192 ifindex = idev->dev->ifindex; in __addrconf_sysctl_register()
7194 ifindex, p); in __addrconf_sysctl_register()
7204 struct ipv6_devconf *p, int ifindex) in __addrconf_sysctl_unregister() argument
7216 inet6_netconf_notify_devconf(net, RTM_DELNETCONF, 0, ifindex, NULL); in __addrconf_sysctl_unregister()
7241 idev->dev->ifindex); in addrconf_sysctl_unregister()