Home
last modified time | relevance | path

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

/linux/samples/bpf/
A Dsock_example.h27 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
/linux/tools/testing/selftests/net/
A Dpsock_snd.c175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()
202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
A Dtxring_overwrite.c97 laddr.sll_protocol = htons(0); in setup_tx()
A Dpsock_fanout.c78 addr.sll_protocol = htons(ETH_P_IP); in sock_fanout_open()
A Dtoeplitz.c358 ll.sll_protocol = cfg_family == AF_INET ? htons(ETH_P_IP) : in create_ring()
A Dmsg_zerocopy.c513 laddr.sll_protocol = htons(proto); in do_tx()
A Dtxtimestamp.c605 laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); in do_test()
A Dpsock_tpacket.c733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
A Dgro.c721 daddr.sll_protocol = ethhdr_proto; in bind_packetsocket()
/linux/include/uapi/linux/
A Dif_packet.h16 __be16 sll_protocol; member
/linux/net/packet/
A Daf_packet.c2441 sll->sll_protocol = skb->protocol; in tpacket_rcv()
2732 proto = saddr->sll_protocol; in tpacket_snd()
2943 proto = saddr->sll_protocol; in packet_snd()
3293 sll->sll_protocol ? : pkt_sk(sk)->num); in packet_bind()
3461 sll->sll_protocol = skb->protocol; in packet_recvmsg()
3565 sll->sll_protocol = READ_ONCE(po->num); in packet_getname()
/linux/Documentation/networking/
A Dpacket_mmap.rst130 In this case, you also need to bind(2) the TX_RING with sll_protocol = 0
163 my_addr.sll_protocol = htons(ETH_P_ALL);
875 ll.sll_protocol = htons(ETH_P_ALL);
/linux/arch/um/drivers/
A Dvector_user.c181 sock.sll_protocol = htons(proto); in create_raw_fd()

Completed in 42 milliseconds