Home
last modified time | relevance | path

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

/linux-6.6.21/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()
Dcsum.c417 addr.sll_ifindex = if_nametoindex(cfg_ifname); in send_packet()
418 if (!addr.sll_ifindex) in send_packet()
538 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in recv_prepare_packet_bind()
539 if (!laddr.sll_ifindex) in recv_prepare_packet_bind()
Dpsock_fanout.c80 addr.sll_ifindex = if_nametoindex("lo"); in sock_fanout_open()
81 if (addr.sll_ifindex == 0) { in sock_fanout_open()
Dgro.c723 daddr.sll_ifindex = if_nametoindex(ifname); in bind_packetsocket()
724 if (daddr.sll_ifindex == 0) in bind_packetsocket()
814 daddr.sll_ifindex = if_nametoindex(ifname); in gro_sender()
815 if (daddr.sll_ifindex == 0) in gro_sender()
Dpsock_tpacket.c403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx()
734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
Dtoeplitz.c361 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring()
Dtxtimestamp.c604 laddr.sll_ifindex = 1; in do_test()
Dmsg_zerocopy.c512 laddr.sll_ifindex = cfg_ifindex; in do_tx()
/linux-6.6.21/samples/bpf/
Dsock_example.h26 sll.sll_ifindex = if_nametoindex(name); in open_raw_sock()
/linux-6.6.21/include/uapi/linux/
Dif_packet.h17 int sll_ifindex; member
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dlwt_redirect.c112 .sll_ifindex = ifindex, in new_packet_sock()
Dxdp_bonding.c242 .sll_ifindex = ifindex, in send_udp_packets()
/linux-6.6.21/net/packet/
Daf_packet.c2189 sll->sll_ifindex = orig_dev->ifindex; in packet_rcv()
2191 sll->sll_ifindex = dev->ifindex; in packet_rcv()
2466 sll->sll_ifindex = orig_dev->ifindex; in tpacket_rcv()
2468 sll->sll_ifindex = dev->ifindex; in tpacket_rcv()
2766 dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); in tpacket_snd()
2980 dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); in packet_snd()
3328 return packet_do_bind(sk, NULL, sll->sll_ifindex, sll->sll_protocol); in packet_bind()
3602 sll->sll_ifindex = ifindex; in packet_getname()
/linux-6.6.21/Documentation/networking/
Dpacket_mmap.rst148 sll_ifindex parameter of struct sockaddr_ll.
164 my_addr.sll_ifindex = s_ifr.ifr_ifindex;
665 ll.sll_ifindex = ifr.ifr_ifindex;
876 ll.sll_ifindex = if_nametoindex(netdev);
/linux-6.6.21/arch/um/drivers/
Dvector_user.c182 sock.sll_ifindex = ifr.ifr_ifindex; in create_raw_fd()