Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dsock_example.h18 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/
Dvector_user.c166 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/
Dif_ether.h124 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/Linux-v4.19/net/core/
Dnet-procfs.c226 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next()
256 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
Ddev.c386 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
/Linux-v4.19/tools/testing/selftests/net/
Dpsock_tpacket.c409 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/
Dstmmac_tc.c109 case ETH_P_ALL: in tc_fill_entry()
/Linux-v4.19/Documentation/networking/
Dpacket_mmap.txt78 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);
Dfilter.txt125 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c153 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c309 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
Dspectrum.c1351 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/
Dbpf.c141 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c109 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
/Linux-v4.19/net/dsa/
Dslave.c779 if (is_tcf_mirred_egress_mirror(a) && protocol == htons(ETH_P_ALL)) { in dsa_slave_add_cls_matchall()
/Linux-v4.19/net/sched/
Dcls_api.c976 tp->protocol != htons(ETH_P_ALL)) in tcf_classify()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c2490 if (n_proto_key == ETH_P_ALL) { in i40evf_parse_cls_flower()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_main.c7147 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()