Searched refs:dev_get_by_index (Results 1 - 37 of 37) sorted by relevance

/linux-4.4.14/drivers/staging/gdm72xx/
H A Dnetlink_k.c70 dev = dev_get_by_index(&init_net, ifindex); netlink_rcv_cb()
76 "dev_get_by_index(%d) is not found.\n", netlink_rcv_cb()
/linux-4.4.14/net/can/
H A Draw.c361 dev = dev_get_by_index(&init_net, ro->ifindex); raw_release()
407 dev = dev_get_by_index(&init_net, addr->can_ifindex); raw_bind()
438 dev = dev_get_by_index(&init_net, ro->ifindex); raw_bind()
517 dev = dev_get_by_index(&init_net, ro->ifindex); raw_setsockopt()
569 dev = dev_get_by_index(&init_net, ro->ifindex); raw_setsockopt()
741 dev = dev_get_by_index(&init_net, ifindex); raw_sendmsg()
H A Dbcm.c257 dev = dev_get_by_index(&init_net, op->ifindex); bcm_can_tx()
768 dev = dev_get_by_index(&init_net, list_for_each_entry_safe()
1168 dev = dev_get_by_index(&init_net, ifindex); bcm_rx_setup()
1219 dev = dev_get_by_index(&init_net, ifindex); bcm_tx_send()
1274 dev = dev_get_by_index(&init_net, ifindex); bcm_sendmsg()
1464 dev = dev_get_by_index(&init_net, op->ifindex); bcm_release()
1514 dev = dev_get_by_index(&init_net, addr->can_ifindex); bcm_connect()
/linux-4.4.14/drivers/staging/gdm724x/
H A Dnetlink_k.c74 dev = dev_get_by_index(&init_net, ifindex); netlink_rcv_cb()
/linux-4.4.14/include/net/
H A Dl3mdev.h153 dev = dev_get_by_index(net, fl6->flowi6_oif); l3mdev_rt6_dst_by_oif()
/linux-4.4.14/drivers/infiniband/core/
H A Daddr.c131 dev = dev_get_by_index(dev_addr->net, dev_addr->bound_dev_if); rdma_translate_ip()
491 dev = dev_get_by_index(&init_net, dev_addr.bound_dev_if); rdma_addr_find_dmac_by_grh()
H A Dcma.c457 ndev = dev_get_by_index(&init_net, bound_if_index); cma_validate_port()
2323 ndev = dev_get_by_index(&init_net, addr->dev_addr.bound_dev_if); cma_resolve_iboe_route()
3699 ndev = dev_get_by_index(&init_net, dev_addr->bound_dev_if); cma_iboe_join_multicast()
/linux-4.4.14/net/ieee802154/6lowpan/
H A Dcore.c138 wdev = dev_get_by_index(dev_net(ldev), nla_get_u32(tb[IFLA_LINK])); lowpan_newlink()
/linux-4.4.14/security/selinux/
H A Dnetif.c146 dev = dev_get_by_index(ns, ifindex); sel_netif_sid_slow()
/linux-4.4.14/security/
H A Dlsm_audit.c380 dev = dev_get_by_index(&init_net, a->u.net->netif); dump_common_audit_data()
/linux-4.4.14/include/rdma/
H A Dib_addr.h198 dev = dev_get_by_index(&init_net, dev_addr->bound_dev_if); iboe_addr_get_sgid()
H A Dib_sa.h167 return rec->net ? dev_get_by_index(rec->net, rec->ifindex) : NULL; ib_get_ndev_from_path()
/linux-4.4.14/net/netlabel/
H A Dnetlabel_unlabeled.c510 dev = dev_get_by_index(net, iface->ifindex); netlbl_unlhsh_remove_addr4()
571 dev = dev_get_by_index(net, iface->ifindex); netlbl_unlhsh_remove_addr6()
1104 dev = dev_get_by_index(&init_net, iface->ifindex); netlbl_unlabel_staticlist_gen()
/linux-4.4.14/net/phonet/
H A Daf_phonet.c259 dev = dev_get_by_index(net, sk->sk_bound_dev_if); pn_skb_send()
H A Dsocket.c382 dev = dev_get_by_index(sock_net(sk), pn_socket_ioctl()
/linux-4.4.14/net/ipv4/
H A Dip_sockglue.c791 dev = dev_get_by_index(sock_net(sk), ifindex); do_ip_setsockopt()
847 dev = dev_get_by_index(sock_net(sk), mreq.imr_ifindex); do_ip_setsockopt()
H A Dfib_semantics.c1142 nh->nh_dev = dev_get_by_index(net, fi->fib_nh->nh_oif);
H A Dipmr.c760 dev = dev_get_by_index(net, vifc->vifc_lcl_ifindex); vif_add()
/linux-4.4.14/net/ipv6/
H A Dipv6_sockglue.c563 dev = dev_get_by_index(net, ifindex); do_ipv6_setsockopt()
590 dev = dev_get_by_index(net, val); do_ipv6_setsockopt()
H A Dip6mr.c960 dev = dev_get_by_index(net, vifc->mif6c_pifi); mif6_add()
H A Droute.c1769 dev = dev_get_by_index(net, cfg->fc_ifindex); ip6_route_info_create()
/linux-4.4.14/net/decnet/
H A Ddn_fib.c362 nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif);
H A Ddn_route.c991 dev_out = dev_get_by_index(&init_net, oldflp->flowidn_oif); dn_route_output_slow()
/linux-4.4.14/net/ieee802154/
H A Dsocket.c267 dev = dev_get_by_index(sock_net(sk), sk->sk_bound_dev_if); raw_sendmsg()
H A Dnl-mac.c162 dev = dev_get_by_index(&init_net, ieee802154_nl_get_dev()
/linux-4.4.14/kernel/
H A Dsysctl_binary.c1252 dev = dev_get_by_index(net, ctl_name); get_sysctl()
/linux-4.4.14/net/llc/
H A Daf_llc.c262 llc->dev = dev_get_by_index(&init_net, sk->sk_bound_dev_if); llc_ui_autobind()
/linux-4.4.14/net/mpls/
H A Daf_mpls.c515 dev = dev_get_by_index(net, oif); find_outdev()
/linux-4.4.14/net/sched/
H A Dsch_api.c1793 dev = dev_get_by_index(net, tcm->tcm_ifindex); tc_dump_tclass()
/linux-4.4.14/net/wireless/
H A Dscan.c1168 dev = dev_get_by_index(net, ifindex); cfg80211_get_dev_from_ifindex()
H A Dnl80211.c4118 v = dev_get_by_index(genl_info_net(info), nla_get_u32(vlanattr)); get_vlan()
/linux-4.4.14/net/core/
H A Ddev.c837 * dev_get_by_index - find a device by its ifindex
847 struct net_device *dev_get_by_index(struct net *net, int ifindex) dev_get_by_index() function
858 EXPORT_SYMBOL(dev_get_by_index); variable
/linux-4.4.14/drivers/net/team/
H A Dteam.c2199 dev = dev_get_by_index(net, ifindex); team_nl_team_get()
/linux-4.4.14/net/packet/
H A Daf_packet.c2495 dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); tpacket_snd()
2661 dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); packet_snd()
/linux-4.4.14/drivers/scsi/fcoe/
H A Dfcoe.c1944 netdev = dev_get_by_index(&init_net, entry->ifindex); fcoe_dcb_app_notification()
/linux-4.4.14/net/batman-adv/
H A Dtranslation-table.c546 in_dev = dev_get_by_index(&init_net, ifindex); batadv_tt_local_add()
/linux-4.4.14/include/linux/
H A Dnetdevice.h2258 struct net_device *dev_get_by_index(struct net *net, int ifindex);

Completed in 1186 milliseconds