Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/include/uapi/linux/
Dif_ether.h132 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dlsm_cgroup.c200 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional()
210 .sll_protocol = htons(ETH_P_ALL), in test_lsm_cgroup_functional()
/linux-6.1.9/arch/um/drivers/
Dvector_user.c288 result->rx_fd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_hybrid_fds()
449 rxfd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_raw_fds()
/linux-6.1.9/net/core/
Dnet-procfs.c264 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next()
296 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_matchall.c88 if (protocol != htons(ETH_P_ALL)) in prestera_mall_replace()
Dprestera_flower.c235 if (ntohs(match.key->n_proto) == ETH_P_ALL) { in prestera_flower_parse()
/linux-6.1.9/tools/lib/bpf/
Dnetlink.c642 protocol = ETH_P_ALL; in bpf_tc_attach()
714 protocol = ETH_P_ALL; in __bpf_tc_detach()
785 protocol = ETH_P_ALL; in bpf_tc_query()
/linux-6.1.9/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-6.1.9/Documentation/networking/
Dpacket_mmap.rst83 int fd = socket(PF_PACKET, mode, htons(ETH_P_ALL));
131 set. Otherwise, htons(ETH_P_ALL) or any other protocol, for example.
163 my_addr.sll_protocol = htons(ETH_P_ALL);
832 fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
875 ll.sll_protocol = htons(ETH_P_ALL);
Dfilter.rst139 sock = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c241 if (protocol != htons(ETH_P_ALL)) { in mlxsw_sp_mall_replace()
Dspectrum_flower.c515 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
Dspectrum_qdisc.c2013 if (f->common.protocol != htons(ETH_P_ALL)) { in mlxsw_sp_qevent_mall_replace()
/linux-6.1.9/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-6.1.9/drivers/net/netdevsim/
Dbpf.c135 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
/linux-6.1.9/net/netfilter/
Dnf_tables_offload.c248 __be16 proto = ETH_P_ALL; in nft_flow_cls_offload_setup()
Dnf_flow_table_offload.c846 __be16 proto = ETH_P_ALL; in nf_flow_offload_tuple()
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_flower.c753 if (match_protocol && proto != ETH_P_ALL) { in ocelot_flower_parse_key()
Docelot_net.c280 if (f->common.protocol != htons(ETH_P_ALL)) in ocelot_setup_tc_cls_matchall_mirred()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_tc.c109 case ETH_P_ALL: in tc_fill_entry()
Dstmmac_selftests.c1122 cls_u32.common.protocol = htons(ETH_P_ALL); in stmmac_test_rxp()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_tc_flower.c187 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_tc_lib.c1257 if (n_proto_key == ETH_P_ALL || n_proto_key == 0 || in ice_parse_cls_flower()
/linux-6.1.9/net/dsa/
Dslave.c1356 if (cls->common.protocol == htons(ETH_P_ALL) && in dsa_slave_add_cls_matchall()

12