Searched refs:ETH_P_ALL (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/samples/bpf/ |
D | libbpf.c | 111 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/ |
D | if_ether.h | 109 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/linux-4.1.27/net/core/ |
D | net-procfs.c | 251 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next() 281 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
|
D | dev.c | 373 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
|
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_tpacket.c | 113 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/ |
D | packet_mmap.txt | 90 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);
|
D | filter.txt | 125 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/linux-4.1.27/net/sched/ |
D | sch_api.c | 1826 tp->protocol != htons(ETH_P_ALL)) in tc_classify_compat()
|