/openbmc/linux/samples/bpf/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_vcap_impl.c | 135 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) { in lan966x_vcap_is1_get_port_keysets() 149 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) { in lan966x_vcap_is1_get_port_keysets() 196 if (l3_proto == ETH_P_ALL) in lan966x_vcap_is2_get_port_keysets() 199 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_SNAP) { in lan966x_vcap_is2_get_port_keysets() 208 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_CFM) { in lan966x_vcap_is2_get_port_keysets() 217 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_ARP) { in lan966x_vcap_is2_get_port_keysets() 226 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) { in lan966x_vcap_is2_get_port_keysets() 240 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) { in lan966x_vcap_is2_get_port_keysets()
|
H A D | lan966x_tc_flower.c | 16 case ETH_P_ALL: in lan966x_tc_is_known_etype() 25 case ETH_P_ALL: in lan966x_tc_is_known_etype() 231 .l3_proto = ETH_P_ALL, in lan966x_tc_flower_use_dissectors() 447 u16 l3_proto = ETH_P_ALL; in lan966x_tc_flower_add()
|
/openbmc/google-misc/subprojects/ncsid/src/ |
H A D | ncsi_sockio.cpp | 35 RETURN_IF_ERROR(sockfd_ = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), in init()
|
H A D | net_iface.cpp | 109 saddr.sll_protocol = htons(ETH_P_ALL); in bind_sock()
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_vcap_impl.c | 147 ETH_P_ALL, 154 ETH_P_ALL, 162 ETH_P_ALL, 434 if (l3_proto == ETH_P_ALL) in sparx5_vcap_is0_get_port_keysets() 437 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) in sparx5_vcap_is0_get_port_keysets() 453 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) in sparx5_vcap_is0_get_port_keysets() 488 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_ARP) { in sparx5_vcap_is2_get_port_keysets() 499 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IP) { in sparx5_vcap_is2_get_port_keysets() 527 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_IPV6) { in sparx5_vcap_is2_get_port_keysets() 642 if (l3_proto == ETH_P_ALL || l3_proto == ETH_P_ARP) { in sparx5_vcap_es2_get_port_keysets() [all …]
|
H A D | sparx5_tc_flower.c | 453 if (l3_proto == ETH_P_ALL && count < portkeysetlist.cnt) in sparx5_tc_select_protocol_keyset() 530 err = vcap_val_rule(vrule, ETH_P_ALL); in sparx5_tc_add_rule_copy() 1103 .l3_proto = ETH_P_ALL, in sparx5_tc_flower_replace() 1240 if (state.l3_proto == ETH_P_ALL) in sparx5_tc_flower_replace() 1365 .l3_proto = ETH_P_ALL, in sparx5_tc_flower_template_create()
|
/openbmc/u-boot/include/linux/ |
H A D | if_ether.h | 132 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-bsp/irda-utils/irda-utils-0.9.18/ |
H A D | musl.patch | 20 #include <netinet/if_ether.h> /* For ETH_P_ALL */
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_ether.h | 132 #define ETH_P_ALL 0x0003 /* Every packet (be careful!!!) */ macro
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 201 ASSERT_LT(socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL)), 0, in test_lsm_cgroup_functional() 211 .sll_protocol = htons(ETH_P_ALL), in test_lsm_cgroup_functional()
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_user.c | 288 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()
|
/openbmc/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_matchall.c | 88 if (protocol != htons(ETH_P_ALL)) in prestera_mall_replace()
|
H A D | prestera_flower.c | 241 if (ntohs(match.key->n_proto) == ETH_P_ALL) { in prestera_flower_parse()
|
/openbmc/linux/net/core/ |
H A D | net-procfs.c | 272 if (pt->type == htons(ETH_P_ALL)) { in ptype_seq_next() 304 if (pt->type == htons(ETH_P_ALL)) in ptype_seq_show()
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | eth-raw-os.c | 89 priv->sd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); in _raw_packet_start()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 749 protocol = ETH_P_ALL; in bpf_tc_attach() 822 protocol = ETH_P_ALL; in __bpf_tc_detach() 893 protocol = ETH_P_ALL; in bpf_tc_query()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A 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()
|
/openbmc/linux/Documentation/networking/ |
H A D | packet_mmap.rst | 83 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);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_matchall.c | 241 if (protocol != htons(ETH_P_ALL)) { in mlxsw_sp_mall_replace()
|
H A D | spectrum_flower.c | 607 if (n_proto_key == ETH_P_ALL) { in mlxsw_sp_flower_parse()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 126 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nfp_bpf_setup_tc_block_cb()
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | bpf.c | 135 if (cls_bpf->common.protocol != htons(ETH_P_ALL)) { in nsim_bpf_setup_tc_block_cb()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_tables_offload.c | 249 __be16 proto = ETH_P_ALL; in nft_flow_cls_offload_setup()
|
/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_flower.c | 763 if (match_protocol && proto != ETH_P_ALL) { in ocelot_flower_parse_key()
|