Searched refs:__dev_get_by_index (Results 1 - 39 of 39) sorted by relevance

/linux-4.4.14/net/hsr/
H A Dhsr_netlink.c48 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 Dbr_mdb.c362 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 Dbr_ioctl.c96 dev = __dev_get_by_index(net, ifindex); add_del_if()
/linux-4.4.14/net/phonet/
H A Dpn_netlink.c93 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 Danycast.c94 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 Daddrlabel.c439 !__dev_get_by_index(net, ifal->ifal_index)) ip6addrlbl_newdel()
546 !__dev_get_by_index(net, ifal->ifal_index)) ip6addrlbl_get()
H A Daddrconf.c599 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 Dmcast.c174 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 Dsit.c1069 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); ipip6_tunnel_bind_dev()
H A Droute.c3268 dev = __dev_get_by_index(net, iif); inet6_rtm_getroute()
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c106 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 Dvlan_netlink.c129 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 Dbond_netlink.c184 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 Dcls_api.c169 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 Dact_mirred.c79 dev = __dev_get_by_index(net, parm->ifindex); tcf_mirred_init()
H A Dcls_fw.c389 dev = __dev_get_by_index(net, f->ifindex); fw_dump()
H A Dsch_api.c1129 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 Dcls_flower.c598 dev = __dev_get_by_index(net, key->indev_ifindex); fl_dump()
H A Dcls_u32.c1009 dev = __dev_get_by_index(net, n->ifindex);
/linux-4.4.14/net/ipv4/
H A Dfib_semantics.c510 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 Ddevinet.c765 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 Dip_tunnel.c393 tdev = __dev_get_by_index(tunnel->net, tunnel->parms.link); ip_tunnel_bind_dev()
H A Droute.c2579 dev = __dev_get_by_index(net, iif); inet_rtm_getroute()
/linux-4.4.14/net/core/
H A Drtnetlink.c1664 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 Ddev.c787 * __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 Dneighbour.c1614 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 Ddn_fib.c206 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 Ddn_dev.c553 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 Ddn_route.c1681 dev = __dev_get_by_index(&init_net, fld.flowidn_iif); dn_cache_getroute()
/linux-4.4.14/net/caif/
H A Dchnl_net.c288 lldev = __dev_get_by_index(dev_net(dev), llifindex); chnl_net_open()
/linux-4.4.14/net/can/
H A Dgw.c882 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 Dipvlan_main.c449 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 Dhard-interface.c105 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 Dvxlan.c814 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 Dmacvlan.c1256 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); macvlan_common_newlink()
/linux-4.4.14/net/ieee802154/
H A Dnl802154.c155 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 Daf_packet.c565 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 Dnl80211.c170 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 Dnetdevice.h2259 struct net_device *__dev_get_by_index(struct net *net, int ifindex);

Completed in 977 milliseconds