Home
last modified time | relevance | path

Searched refs:dev_get_by_index (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.1.9/net/can/
Draw.c393 dev = dev_get_by_index(sock_net(sk), ro->ifindex); in raw_release()
442 dev = dev_get_by_index(sock_net(sk), addr->can_ifindex); in raw_bind()
473 dev = dev_get_by_index(sock_net(sk), in raw_bind()
556 dev = dev_get_by_index(sock_net(sk), ro->ifindex); in raw_setsockopt()
617 dev = dev_get_by_index(sock_net(sk), ro->ifindex); in raw_setsockopt()
817 dev = dev_get_by_index(sock_net(sk), ifindex); in raw_sendmsg()
Dbcm.c283 dev = dev_get_by_index(sock_net(op->sk), op->ifindex); in bcm_can_tx()
791 dev = dev_get_by_index(sock_net(op->sk), in bcm_delete_rx_op()
1215 dev = dev_get_by_index(sock_net(sk), ifindex); in bcm_rx_setup()
1268 dev = dev_get_by_index(sock_net(sk), ifindex); in bcm_tx_send()
1333 dev = dev_get_by_index(sock_net(sk), ifindex); in bcm_sendmsg()
1542 dev = dev_get_by_index(net, op->ifindex); in bcm_release()
1604 dev = dev_get_by_index(net, addr->can_ifindex); in bcm_connect()
Disotp.c216 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_fc()
750 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_send_cframe()
979 dev = dev_get_by_index(sock_net(sk), so->ifindex); in isotp_sendmsg()
1181 dev = dev_get_by_index(net, so->ifindex); in isotp_release()
1266 dev = dev_get_by_index(net, addr->can_ifindex); in isotp_bind()
/linux-6.1.9/net/netfilter/
Dnf_dup_netdev.c80 dev = dev_get_by_index(ctx->net, oif); in nft_fwd_dup_netdev_offload()
Dnf_flow_table_offload.c244 dev = dev_get_by_index(net, other_tuple->iifidx); in flow_offload_eth_src()
568 dev = dev_get_by_index(net, ifindex); in flow_offload_redirect()
/linux-6.1.9/drivers/staging/gdm724x/
Dnetlink_k.c59 dev = dev_get_by_index(&init_net, ifindex); in netlink_rcv_cb()
/linux-6.1.9/net/batman-adv/
Doriginator.c717 soft_iface = dev_get_by_index(net, ifindex); in batadv_hardif_neigh_dump()
734 hard_iface = dev_get_by_index(net, hard_ifindex); in batadv_hardif_neigh_dump()
1301 soft_iface = dev_get_by_index(net, ifindex); in batadv_orig_dump()
1318 hard_iface = dev_get_by_index(net, hard_ifindex); in batadv_orig_dump()
Dnetlink.c983 soft_iface = dev_get_by_index(net, ifindex); in batadv_netlink_dump_hardif()
1173 soft_iface = dev_get_by_index(net, ifindex); in batadv_get_softif_from_info()
1210 hard_dev = dev_get_by_index(net, hardif_index); in batadv_get_hardif_from_info()
Dgateway_client.c516 soft_iface = dev_get_by_index(net, ifindex); in batadv_gw_dump()
Dhard-interface.c248 real_netdev = dev_get_by_index(real_net, iflink); in batadv_get_real_netdevice()
/linux-6.1.9/security/selinux/
Dnetif.c142 dev = dev_get_by_index(ns, ifindex); in sel_netif_sid_slow()
/linux-6.1.9/net/ieee802154/6lowpan/
Dcore.c146 wdev = dev_get_by_index(dev_net(ldev), nla_get_u32(tb[IFLA_LINK])); in lowpan_newlink()
/linux-6.1.9/net/netlabel/
Dnetlabel_unlabeled.c491 dev = dev_get_by_index(net, iface->ifindex); in netlbl_unlhsh_remove_addr4()
551 dev = dev_get_by_index(net, iface->ifindex); in netlbl_unlhsh_remove_addr6()
1084 dev = dev_get_by_index(&init_net, iface->ifindex); in netlbl_unlabel_staticlist_gen()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dint_port.c434 dev = dev_get_by_index(&init_net, ifindex); in mlx5e_tc_int_port_dev_fwd()
/linux-6.1.9/drivers/net/netdevsim/
Dhwstats.c236 netdev = dev_get_by_index(net, ifindex); in nsim_dev_hwstats_enable_ifindex()
/linux-6.1.9/net/xfrm/
Dxfrm_device.c249 dev = dev_get_by_index(net, xuo->ifindex); in xfrm_dev_state_add()
/linux-6.1.9/security/
Dlsm_audit.c384 dev = dev_get_by_index(&init_net, a->u.net->netif); in dump_common_audit_data()
/linux-6.1.9/net/phonet/
Daf_phonet.c246 dev = dev_get_by_index(net, sk->sk_bound_dev_if); in pn_skb_send()
Dsocket.c372 dev = dev_get_by_index(sock_net(sk), in pn_socket_ioctl()
/linux-6.1.9/net/rds/
Dib.c456 dev = dev_get_by_index(&init_net, scope_id); in rds_ib_laddr_check()
/linux-6.1.9/net/sched/
Dact_mirred.c174 ndev = dev_get_by_index(net, parm->ifindex); in tcf_mirred_init()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c24 route_dev = dev_get_by_index(dev_net(e->out_dev), e->route_dev_ifindex); in mlx5e_set_int_port_tunnel()
678 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_set_vf_tunnel()
720 route_dev = dev_get_by_index(dev_net(out_dev), route_dev_ifindex); in mlx5e_update_vf_tunnel()
/linux-6.1.9/kernel/bpf/
Doffload.c99 offload->netdev = dev_get_by_index(current->nsproxy->net_ns, in bpf_prog_offload_init()
/linux-6.1.9/drivers/net/wireguard/
Dnetlink.c60 dev = dev_get_by_index(sock_net(skb->sk), in lookup_interface()
/linux-6.1.9/net/ncsi/
Dncsi-netlink.c44 dev = dev_get_by_index(net, ifindex); in ndp_from_ifindex()

123