Home
last modified time | relevance | path

Searched refs:sll_ifindex (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/tools/testing/selftests/net/
Dpsock_snd.c176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind()
177 if (!laddr.sll_ifindex) in do_bind()
203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
204 if (!laddr.sll_ifindex) in do_send()
Dtxring_overwrite.c98 laddr.sll_ifindex = if_nametoindex("lo"); in setup_tx()
99 if (!laddr.sll_ifindex) in setup_tx()
Dpsock_fanout.c76 addr.sll_ifindex = if_nametoindex("lo"); in sock_fanout_open()
77 if (addr.sll_ifindex == 0) { in sock_fanout_open()
Dpsock_tpacket.c403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx()
734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
Dmsg_zerocopy.c513 laddr.sll_ifindex = cfg_ifindex; in do_tx()
/Linux-v5.4/samples/bpf/
Dsock_example.h26 sll.sll_ifindex = if_nametoindex(name); in open_raw_sock()
/Linux-v5.4/include/uapi/linux/
Dif_packet.h16 int sll_ifindex; member
/Linux-v5.4/net/packet/
Daf_packet.c2105 sll->sll_ifindex = orig_dev->ifindex; in packet_rcv()
2107 sll->sll_ifindex = dev->ifindex; in packet_rcv()
2354 sll->sll_ifindex = orig_dev->ifindex; in tpacket_rcv()
2356 sll->sll_ifindex = dev->ifindex; in tpacket_rcv()
2640 dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); in tpacket_snd()
2851 dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); in packet_snd()
3199 return packet_do_bind(sk, NULL, sll->sll_ifindex, in packet_bind()
3469 sll->sll_ifindex = po->ifindex; in packet_getname()
/Linux-v5.4/Documentation/networking/
Dpacket_mmap.txt144 sll_ifindex parameter of struct sockaddr_ll.
160 my_addr.sll_ifindex = s_ifr.ifr_ifindex;
640 ll.sll_ifindex = ifr.ifr_ifindex;
851 ll.sll_ifindex = if_nametoindex(netdev);
/Linux-v5.4/arch/um/drivers/
Dvector_user.c174 sock.sll_ifindex = ifr.ifr_ifindex; in create_raw_fd()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c491 laddr.sll_ifindex = 1; in do_test()