Home
last modified time | relevance | path

Searched refs:sll_protocol (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/samples/bpf/
Dsock_example.h27 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
/Linux-v4.19/arch/um/drivers/
Dvector_user.c182 sock.sll_protocol = htons(ETH_P_ALL); in user_init_tap_fds()
237 sock.sll_protocol = htons(ETH_P_ALL); in user_init_raw_fds()
247 sock.sll_protocol = htons(ETH_P_IP); in user_init_raw_fds()
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_snd.c175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()
202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
Dpsock_fanout.c89 addr.sll_protocol = htons(ETH_P_IP); in sock_fanout_open()
Dmsg_zerocopy.c514 laddr.sll_protocol = htons(proto); in do_tx()
Dpsock_tpacket.c747 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
/Linux-v4.19/include/uapi/linux/
Dif_packet.h15 __be16 sll_protocol; member
/Linux-v4.19/net/packet/
Daf_packet.c2338 sll->sll_protocol = skb->protocol; in tpacket_rcv()
2627 proto = saddr->sll_protocol; in tpacket_snd()
2825 proto = saddr->sll_protocol; in packet_snd()
3169 sll->sll_protocol ? : pkt_sk(sk)->num); in packet_bind()
3337 sll->sll_protocol = skb->protocol; in packet_recvmsg()
3430 sll->sll_protocol = po->num; in packet_getname()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt126 In this case, you also need to bind(2) the TX_RING with sll_protocol = 0
159 my_addr.sll_protocol = htons(ETH_P_ALL);
850 ll.sll_protocol = htons(ETH_P_ALL);