Home
last modified time | relevance | path

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

12

/linux/samples/bpf/
A 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/arch/um/drivers/
A 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/include/uapi/linux/
A Dif_ether.h129 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
/linux/net/core/
A Dnet-procfs.c234 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next()
264 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
/linux/tools/lib/bpf/
A Dnetlink.c587 protocol = ETH_P_ALL; in bpf_tc_attach()
659 protocol = ETH_P_ALL; in __bpf_tc_detach()
730 protocol = ETH_P_ALL; in bpf_tc_query()
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_span.c189 if (protocol != htons(ETH_P_ALL)) in prestera_span_replace()
A Dprestera_flower.c135 if (n_proto_key == ETH_P_ALL) { in prestera_flower_parse()
/linux/tools/testing/selftests/net/
A 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/Documentation/networking/
A 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);
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_matchall.c241 if (protocol != htons(ETH_P_ALL)) { in mlxsw_sp_mall_replace()
A Dspectrum_flower.c470 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
A Dspectrum_qdisc.c2013 if (f->common.protocol != htons(ETH_P_ALL)) { in mlxsw_sp_qevent_mall_replace()
/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Dmain.c126 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
/linux/drivers/net/netdevsim/
A Dbpf.c135 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
/linux/net/netfilter/
A Dnf_tables_offload.c226 __be16 proto = ETH_P_ALL; in nft_flow_cls_offload_setup()
A Dnf_flow_table_offload.c835 __be16 proto = ETH_P_ALL; in nf_flow_offload_tuple()
/linux/drivers/net/ethernet/mscc/
A Docelot_flower.c659 if (match_protocol && proto != ETH_P_ALL) { in ocelot_flower_parse_key()
/linux/drivers/net/ethernet/stmicro/stmmac/
A Dstmmac_tc.c109 case ETH_P_ALL: in tc_fill_entry()
A Dstmmac_selftests.c1121 cls_u32.common.protocol = htons(ETH_P_ALL); in stmmac_test_rxp()
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_tc_flower.c187 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
/linux/drivers/net/ethernet/intel/ice/
A Dice_tc_lib.c883 if (n_proto_key == ETH_P_ALL || n_proto_key == 0) { in ice_parse_cls_flower()
/linux/net/dsa/
A Dslave.c1127 if (cls->common.protocol == htons(ETH_P_ALL) && in dsa_slave_add_cls_matchall()
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_main.c2886 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
/linux/drivers/net/ethernet/freescale/
A Dfec_main.c3412 if (skb->protocol == htons(ETH_P_ALL)) { in fec_enet_get_raw_vlan_tci()
/linux/net/sched/
A Dcls_api.c1546 tp->protocol != htons(ETH_P_ALL)) in __tcf_classify()

Completed in 65 milliseconds

12