Searched refs:sll_ifindex (Results 1 – 14 of 14) sorted by relevance
176 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()
98 laddr.sll_ifindex = if_nametoindex("lo"); in setup_tx()99 if (!laddr.sll_ifindex) in setup_tx()
80 addr.sll_ifindex = if_nametoindex("lo"); in sock_fanout_open()81 if (addr.sll_ifindex == 0) { in sock_fanout_open()
723 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()
403 ll.sll_ifindex = if_nametoindex("lo"); in walk_tx()734 ring->ll.sll_ifindex = if_nametoindex("lo"); in bind_ring()
359 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring()
512 laddr.sll_ifindex = cfg_ifindex; in do_tx()
604 laddr.sll_ifindex = 1; in do_test()
26 sll.sll_ifindex = if_nametoindex(name); in open_raw_sock()
17 int sll_ifindex; member
249 .sll_ifindex = ifindex, in send_udp_packets()
2188 sll->sll_ifindex = orig_dev->ifindex; in packet_rcv()2190 sll->sll_ifindex = dev->ifindex; in packet_rcv()2463 sll->sll_ifindex = orig_dev->ifindex; in tpacket_rcv()2465 sll->sll_ifindex = dev->ifindex; in tpacket_rcv()2752 dev = dev_get_by_index(sock_net(&po->sk), saddr->sll_ifindex); in tpacket_snd()2964 dev = dev_get_by_index(sock_net(sk), saddr->sll_ifindex); in packet_snd()3310 return packet_do_bind(sk, NULL, sll->sll_ifindex, in packet_bind()3586 sll->sll_ifindex = ifindex; in packet_getname()
148 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);
182 sock.sll_ifindex = ifr.ifr_ifindex; in create_raw_fd()