Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/arch/um/drivers/
Dvector_user.c259 result->rx_fd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_hybrid_fds()
364 rxfd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_raw_fds()
/Linux-v5.4/include/uapi/linux/
Dif_ether.h126 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/Linux-v5.4/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.c305 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
/Linux-v5.4/tools/testing/selftests/net/
Dpsock_tpacket.c395 rcv_sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in walk_tx()
733 ring->ll.sll_protocol = htons(ETH_P_ALL); in bind_ring()
/Linux-v5.4/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-v5.4/net/netfilter/
Dnf_tables_offload.c166 __be16 proto = ETH_P_ALL; in nft_flow_offload_rule()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c126 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_flower.c370 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
Dspectrum.c1442 if (act->id == FLOW_ACTION_MIRRED && protocol == htons(ETH_P_ALL)) { in mlxsw_sp_port_add_cls_matchall()
1451 protocol == htons(ETH_P_ALL)) { in mlxsw_sp_port_add_cls_matchall()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c109 case ETH_P_ALL: in tc_fill_entry()
Dstmmac_selftests.c1071 cls_u32.common.protocol = htons(ETH_P_ALL); in stmmac_test_rxp()
/Linux-v5.4/drivers/net/netdevsim/
Dbpf.c130 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c105 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
/Linux-v5.4/net/dsa/
Dslave.c886 if (act->id == FLOW_ACTION_MIRRED && protocol == htons(ETH_P_ALL)) { in dsa_slave_add_cls_matchall()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_main.c2721 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
/Linux-v5.4/net/sched/
Dcls_api.c1585 tp->protocol != htons(ETH_P_ALL)) in tcf_classify()
/Linux-v5.4/net/packet/
Daf_packet.c1854 if ((!skb->protocol || skb->protocol == htons(ETH_P_ALL)) && in packet_parse_headers()
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_main.c7782 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()