Searched refs:ETH_P_ALL (Results 1 – 18 of 18) sorted by relevance
/Linux-v4.19/samples/bpf/ |
D | sock_example.h | 18 sock = socket(PF_PACKET, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, htons(ETH_P_ALL)); in open_raw_sock() 27 sll.sll_protocol = htons(ETH_P_ALL); in open_raw_sock()
|
/Linux-v4.19/arch/um/drivers/ |
D | vector_user.c | 166 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in user_init_tap_fds() 182 sock.sll_protocol = htons(ETH_P_ALL); in user_init_tap_fds() 219 rxfd = socket(AF_PACKET, SOCK_RAW, ETH_P_ALL); in user_init_raw_fds() 237 sock.sll_protocol = htons(ETH_P_ALL); in user_init_raw_fds()
|
/Linux-v4.19/include/uapi/linux/ |
D | if_ether.h | 124 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/Linux-v4.19/net/core/ |
D | net-procfs.c | 226 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next() 256 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
|
D | dev.c | 386 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
|
/Linux-v4.19/tools/testing/selftests/net/ |
D | psock_tpacket.c | 409 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx() 747 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 109 case ETH_P_ALL: in tc_fill_entry()
|
/Linux-v4.19/Documentation/networking/ |
D | packet_mmap.txt | 78 int fd = socket(PF_PACKET, mode, htons(ETH_P_ALL)); 127 set. Otherwise, htons(ETH_P_ALL) or any other protocol, for example. 159 my_addr.sll_protocol = htons(ETH_P_ALL); 807 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); 850 ll.sll_protocol = htons(ETH_P_ALL);
|
D | filter.txt | 125 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 153 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flower.c | 309 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
|
D | spectrum.c | 1351 if (is_tcf_mirred_egress_mirror(a) && protocol == htons(ETH_P_ALL)) { in mlxsw_sp_port_add_cls_matchall() 1358 } else if (is_tcf_sample(a) && protocol == htons(ETH_P_ALL)) { in mlxsw_sp_port_add_cls_matchall()
|
/Linux-v4.19/drivers/net/netdevsim/ |
D | bpf.c | 141 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_flower.c | 109 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
|
/Linux-v4.19/net/dsa/ |
D | slave.c | 779 if (is_tcf_mirred_egress_mirror(a) && protocol == htons(ETH_P_ALL)) { in dsa_slave_add_cls_matchall()
|
/Linux-v4.19/net/sched/ |
D | cls_api.c | 976 tp->protocol != htons(ETH_P_ALL)) in tcf_classify()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/ |
D | i40evf_main.c | 2490 if (n_proto_key == ETH_P_ALL) { in i40evf_parse_cls_flower()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 7147 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()
|