Home
last modified time | relevance | path

Searched refs:ETH_P_ALL (Results 1 – 8 of 8) sorted by relevance

/linux-4.1.27/samples/bpf/
Dlibbpf.c111 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock()
120 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
/linux-4.1.27/include/uapi/linux/
Dif_ether.h109 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/linux-4.1.27/net/core/
Dnet-procfs.c251 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next()
281 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
Ddev.c373 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c113 int ret, sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in pfsocket()
367 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_v1_v2_tx()
689 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
/linux-4.1.27/Documentation/networking/
Dpacket_mmap.txt90 int fd = socket(PF_PACKET, mode, htons(ETH_P_ALL));
139 set. Otherwise, htons(ETH_P_ALL) or any other protocol, for example.
171 my_addr.sll_protocol = htons(ETH_P_ALL);
814 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
857 ll.sll_protocol = htons(ETH_P_ALL);
Dfilter.txt125 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/linux-4.1.27/net/sched/
Dsch_api.c1826 tp->protocol != htons(ETH_P_ALL)) in tc_classify_compat()