Home
last modified time | relevance | path

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

/Linux-v6.6/samples/bpf/
Dsock_example.h27 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
/Linux-v6.6/tools/testing/selftests/net/
Dcsum.c424 addr.sll_protocol = htons(ETH_P_IPV6); in send_packet()
427 addr.sll_protocol = htons(ETH_P_IP); in send_packet()
443 eth.h_proto = addr.sll_protocol; in send_packet()
534 laddr.sll_protocol = htons(ETH_P_IP); in recv_prepare_packet_bind()
536 laddr.sll_protocol = htons(ETH_P_IPV6); in recv_prepare_packet_bind()
Dpsock_snd.c175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind()
202 laddr.sll_protocol = htons(ETH_P_IP); in do_send()
Dtxring_overwrite.c97 laddr.sll_protocol = htons(0); in setup_tx()
Dpsock_fanout.c79 addr.sll_protocol = htons(ETH_P_IP); in sock_fanout_open()
Dtoeplitz.c362 ll.sll_protocol = cfg_family == AF_INET ? htons(ETH_P_IP) : in create_ring()
Dpsock_tpacket.c733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
Dtxtimestamp.c605 laddr.sll_protocol = htons(family == AF_INET ? ETH_P_IP : ETH_P_IPV6); in do_test()
Dmsg_zerocopy.c513 laddr.sll_protocol = htons(proto); in do_tx()
Dgro.c722 daddr.sll_protocol = ethhdr_proto; in bind_packetsocket()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c114 if (sa.sll_protocol) in real_bind()
/Linux-v6.6/include/uapi/linux/
Dif_packet.h16 __be16 sll_protocol; member
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dlwt_redirect.c111 .sll_protocol = htons(ETH_P_IP), in new_packet_sock()
Dlsm_cgroup.c211 .sll_protocol = htons(ETH_P_ALL), in test_lsm_cgroup_functional()
/Linux-v6.6/net/packet/
Daf_packet.c2463 sll->sll_protocol = skb->protocol; in tpacket_rcv()
2765 proto = saddr->sll_protocol; in tpacket_snd()
2979 proto = saddr->sll_protocol; in packet_snd()
3328 return packet_do_bind(sk, NULL, sll->sll_ifindex, sll->sll_protocol); in packet_bind()
3492 sll->sll_protocol = skb->protocol; in packet_recvmsg()
3603 sll->sll_protocol = READ_ONCE(po->num); in packet_getname()
/Linux-v6.6/Documentation/networking/
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-v6.6/arch/um/drivers/
Dvector_user.c181 sock.sll_protocol = htons(proto); in create_raw_fd()