/linux-4.4.14/net/hsr/ |
H A D | hsr_netlink.c | 48 link[0] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE1])); hsr_newlink() 53 link[1] = __dev_get_by_index(src_net, nla_get_u32(data[IFLA_HSR_SLAVE2])); hsr_newlink() 262 hsr_dev = __dev_get_by_index(genl_info_net(info), hsr_get_node_status() 388 hsr_dev = __dev_get_by_index(genl_info_net(info), hsr_get_node_list()
|
/linux-4.4.14/net/bridge/ |
H A D | br_mdb.c | 362 dev = __dev_get_by_index(net, bpm->ifindex); br_mdb_parse() 440 dev = __dev_get_by_index(net, entry->ifindex); __br_mdb_add() 484 pdev = __dev_get_by_index(net, entry->ifindex); br_mdb_add() 586 pdev = __dev_get_by_index(net, entry->ifindex); br_mdb_del()
|
H A D | br_ioctl.c | 96 dev = __dev_get_by_index(net, ifindex); add_del_if()
|
/linux-4.4.14/net/phonet/ |
H A D | pn_netlink.c | 93 dev = __dev_get_by_index(net, ifm->ifa_index); addr_doit() 259 dev = __dev_get_by_index(net, nla_get_u32(tb[RTA_OIF])); route_doit()
|
/linux-4.4.14/net/ipv6/ |
H A D | anycast.c | 94 dev = __dev_get_by_index(net, ifindex); ipv6_sock_ac_join() 165 dev = __dev_get_by_index(net, pac->acl_ifindex); ipv6_sock_ac_drop() 193 dev = __dev_get_by_index(net, pac->acl_ifindex); ipv6_sock_ac_close()
|
H A D | addrlabel.c | 439 !__dev_get_by_index(net, ifal->ifal_index)) ip6addrlbl_newdel() 546 !__dev_get_by_index(net, ifal->ifal_index)) ip6addrlbl_get()
|
H A D | addrconf.c | 599 dev = __dev_get_by_index(net, ifindex); inet6_netconf_get_devconf() 2564 dev = __dev_get_by_index(net, ireq.ifr6_ifindex); addrconf_set_dstaddr() 2659 dev = __dev_get_by_index(net, ifindex); inet6_addr_add() 2734 dev = __dev_get_by_index(net, ifindex); inet6_addr_del() 4220 dev = __dev_get_by_index(net, ifm->ifa_index); inet6_rtm_newaddr() 4573 dev = __dev_get_by_index(net, ifm->ifa_index); inet6_rtm_getaddr()
|
H A D | mcast.c | 174 dev = __dev_get_by_index(net, ifindex); 228 dev = __dev_get_by_index(net, mc_lst->ifindex); ipv6_sock_mc_drop() 294 dev = __dev_get_by_index(net, mc_lst->ifindex); ipv6_sock_mc_close()
|
H A D | sit.c | 1069 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); ipip6_tunnel_bind_dev()
|
H A D | route.c | 3268 dev = __dev_get_by_index(net, iif); inet6_rtm_getroute()
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_netlink.c | 106 pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); ipoib_new_child_link()
|
/linux-4.4.14/net/8021q/ |
H A D | vlan_netlink.c | 129 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); vlan_newlink()
|
/linux-4.4.14/drivers/net/bonding/ |
H A D | bond_netlink.c | 184 slave_dev = __dev_get_by_index(dev_net(bond_dev), bond_changelink() 292 dev = __dev_get_by_index(dev_net(bond_dev), ifindex);
|
/linux-4.4.14/net/sched/ |
H A D | cls_api.c | 169 dev = __dev_get_by_index(net, t->tcm_ifindex); tc_ctl_tfilter() 440 dev = __dev_get_by_index(net, tcm->tcm_ifindex); tc_dump_tfilter()
|
H A D | act_mirred.c | 79 dev = __dev_get_by_index(net, parm->ifindex); tcf_mirred_init()
|
H A D | cls_fw.c | 389 dev = __dev_get_by_index(net, f->ifindex); fw_dump()
|
H A D | sch_api.c | 1129 dev = __dev_get_by_index(net, tcm->tcm_ifindex); tc_get_qdisc() 1202 dev = __dev_get_by_index(net, tcm->tcm_ifindex); tc_modify_qdisc() 1544 dev = __dev_get_by_index(net, tcm->tcm_ifindex); tc_ctl_tclass()
|
H A D | cls_flower.c | 598 dev = __dev_get_by_index(net, key->indev_ifindex); fl_dump()
|
H A D | cls_u32.c | 1009 dev = __dev_get_by_index(net, n->ifindex);
|
/linux-4.4.14/net/ipv4/ |
H A D | fib_semantics.c | 510 dev = __dev_get_by_index(net, cfg->fc_oif); change_nexthops() 609 dev = __dev_get_by_index(net, oif); fib_encap_match() 740 dev = __dev_get_by_index(net, nh->nh_oif); fib_check_nh() 1093 dev = __dev_get_by_index(net, cfg->fc_oif);
|
H A D | devinet.c | 765 dev = __dev_get_by_index(net, ifm->ifa_index); rtm_to_ifaddr() 1867 dev = __dev_get_by_index(net, ifindex); inet_netconf_get_devconf()
|
H A D | ip_tunnel.c | 393 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); ip_tunnel_bind_dev()
|
H A D | route.c | 2579 dev = __dev_get_by_index(net, iif); inet_rtm_getroute()
|
/linux-4.4.14/net/core/ |
H A D | rtnetlink.c | 1664 upper_dev = __dev_get_by_index(dev_net(dev), ifindex); do_set_master() 1968 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_setlink() 2058 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_dellink() 2194 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_newlink() 2433 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_getlink() 2708 dev = __dev_get_by_index(net, ndm->ndm_ifindex); rtnl_fdb_add() 2810 dev = __dev_get_by_index(net, ndm->ndm_ifindex); rtnl_fdb_del() 2939 br_dev = __dev_get_by_index(net, br_idx); rtnl_fdb_dump() 3215 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_bridge_setlink() 3289 dev = __dev_get_by_index(net, ifm->ifi_index); rtnl_bridge_dellink()
|
H A D | dev.c | 787 * __dev_get_by_index - find a device by its ifindex 798 struct net_device *__dev_get_by_index(struct net *net, int ifindex) __dev_get_by_index() function 809 EXPORT_SYMBOL(__dev_get_by_index); variable 6192 if (!__dev_get_by_index(net, ifindex)) dev_new_index() 6661 else if (__dev_get_by_index(net, dev->ifindex)) register_netdevice() 7382 if (__dev_get_by_index(net, dev->ifindex)) dev_change_net_namespace()
|
H A D | neighbour.c | 1614 dev = __dev_get_by_index(net, ndm->ndm_ifindex); neigh_delete() 1674 dev = __dev_get_by_index(net, ndm->ndm_ifindex); neigh_add()
|
/linux-4.4.14/net/decnet/ |
H A D | dn_fib.c | 206 if ((dev = __dev_get_by_index(&init_net, nh->nh_oif)) == NULL) dn_fib_check_nh() 249 dev = __dev_get_by_index(&init_net, nh->nh_oif); dn_fib_check_nh()
|
H A D | dn_dev.c | 553 dev = __dev_get_by_index(&init_net, ifindex); dn_dev_by_index() 636 if ((dev = __dev_get_by_index(&init_net, ifm->ifa_index)) == NULL) dn_nl_newaddr()
|
H A D | dn_route.c | 1681 dev = __dev_get_by_index(&init_net, fld.flowidn_iif); dn_cache_getroute()
|
/linux-4.4.14/net/caif/ |
H A D | chnl_net.c | 288 lldev = __dev_get_by_index(dev_net(dev), llifindex); chnl_net_open()
|
/linux-4.4.14/net/can/ |
H A D | gw.c | 882 gwj->src.dev = __dev_get_by_index(&init_net, gwj->ccgw.src_idx); cgw_create_job() 890 gwj->dst.dev = __dev_get_by_index(&init_net, gwj->ccgw.dst_idx); cgw_create_job()
|
/linux-4.4.14/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 449 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); ipvlan_link_new()
|
/linux-4.4.14/net/batman-adv/ |
H A D | hard-interface.c | 105 parent_dev = __dev_get_by_index(&init_net, dev_get_iflink(net_dev)); batadv_is_on_batman_iface()
|
/linux-4.4.14/drivers/net/ |
H A D | vxlan.c | 814 tdev = __dev_get_by_index(net, *ifindex); vxlan_fdb_parse() 2399 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, vxlan_change_mtu() 2800 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); vxlan_dev_configure()
|
H A D | macvlan.c | 1256 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); macvlan_common_newlink()
|
/linux-4.4.14/net/ieee802154/ |
H A D | nl802154.c | 155 netdev = __dev_get_by_index(netns, ifindex); __cfg802154_rdev_from_attrs() 594 netdev = __dev_get_by_index(&init_net, ifidx); nl802154_dump_wpan_phy_parse()
|
/linux-4.4.14/net/packet/ |
H A D | af_packet.c | 565 dev = __dev_get_by_index(sock_net(&po->sk), po->ifindex); prb_calc_retire_blk_tmo() 3409 dev = __dev_get_by_index(sock_net(sk), mreq->mr_ifindex); packet_mc_add() 3468 dev = __dev_get_by_index(sock_net(sk), ml->ifindex); packet_mc_drop() 3493 dev = __dev_get_by_index(sock_net(sk), ml->ifindex); packet_flush_mclist()
|
/linux-4.4.14/net/wireless/ |
H A D | nl80211.c | 170 netdev = __dev_get_by_index(netns, ifindex); __cfg80211_rdev_from_attrs() 1767 netdev = __dev_get_by_index(sock_net(skb->sk), ifidx); nl80211_dump_wiphy_parse() 2116 netdev = __dev_get_by_index(genl_info_net(info), ifindex); nl80211_set_wiphy()
|
/linux-4.4.14/include/linux/ |
H A D | netdevice.h | 2259 struct net_device *__dev_get_by_index(struct net *net, int ifindex);
|