Searched refs:ETH_P_ALL (Results 1 – 21 of 21) sorted by relevance
| /Linux-v5.4/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-v5.4/arch/um/drivers/ |
| D | vector_user.c | 259 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/ |
| D | if_ether.h | 126 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
| /Linux-v5.4/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 | 305 if (pt->type == htons(ETH_P_ALL)) in ptype_head()
|
| /Linux-v5.4/tools/testing/selftests/net/ |
| D | psock_tpacket.c | 395 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/ |
| 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-v5.4/net/netfilter/ |
| D | nf_tables_offload.c | 166 __be16 proto = ETH_P_ALL; in nft_flow_offload_rule()
|
| /Linux-v5.4/drivers/net/ethernet/netronome/nfp/bpf/ |
| D | main.c | 126 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_flower.c | 370 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
|
| D | spectrum.c | 1442 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/ |
| D | stmmac_tc.c | 109 case ETH_P_ALL: in tc_fill_entry()
|
| D | stmmac_selftests.c | 1071 cls_u32.common.protocol = htons(ETH_P_ALL); in stmmac_test_rxp()
|
| /Linux-v5.4/drivers/net/netdevsim/ |
| D | bpf.c | 130 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_tc_flower.c | 105 if (ethtype_key == ETH_P_ALL) { in cxgb4_process_flow_match()
|
| /Linux-v5.4/net/dsa/ |
| D | slave.c | 886 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/ |
| D | iavf_main.c | 2721 if (n_proto_key == ETH_P_ALL) { in iavf_parse_cls_flower()
|
| /Linux-v5.4/net/sched/ |
| D | cls_api.c | 1585 tp->protocol != htons(ETH_P_ALL)) in tcf_classify()
|
| /Linux-v5.4/net/packet/ |
| D | af_packet.c | 1854 if ((!skb->protocol || skb->protocol == htons(ETH_P_ALL)) && in packet_parse_headers()
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_main.c | 7782 if (n_proto_key == ETH_P_ALL) { in i40e_parse_cls_flower()
|