Searched refs:sll_ifindex (Results 1 – 16 of 16) 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()
417 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()
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()
361 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring()
604 laddr.sll_ifindex = 1; in do_test()
512 laddr.sll_ifindex = cfg_ifindex; in do_tx()
26 sll.sll_ifindex = if_nametoindex(name); in open_raw_sock()
17 int sll_ifindex; member
112 .sll_ifindex = ifindex, in new_packet_sock()
242 .sll_ifindex = ifindex, in send_udp_packets()
2189 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()
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()