Home
last modified time | relevance | path

Searched refs:ETH_P_8021AD (Results 1 – 25 of 57) sorted by relevance

123

/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp1_kern.c60 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
69 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
H A Dxdp2_kern.c76 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
85 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_prog1()
H A Dparse_varlen.c126 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress()
135 if (h_proto == ETH_P_8021Q || h_proto == ETH_P_8021AD) { in handle_ingress()
H A Dxdp_router_ipv4_kern.c129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
H A Dxdp_redirect_cpu_kern.c132 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth()
142 if (eth_type == htons(ETH_P_8021Q) || eth_type == htons(ETH_P_8021AD)) { in parse_eth()
H A Dsockex2_kern.c108 if (proto == ETH_P_8021AD) { in flow_dissector()
H A Dsockex3_kern.c46 case ETH_P_8021AD: in parse_eth_proto()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_xdp_vlan.c71 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame()
84 || eth_type == bpf_htons(ETH_P_8021AD)) { in parse_eth_frame()
H A Dbpf_flow.c131 case bpf_htons(ETH_P_8021AD): in parse_eth_proto()
394 if (keys->n_proto == bpf_htons(ETH_P_8021AD)) { in PROG()
413 if (vlan->h_vlan_encapsulated_proto == bpf_htons(ETH_P_8021AD) || in PROG()
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A Dsja1105_spi.c548 .qinq_tpid = ETH_P_8021AD,
566 .qinq_tpid = ETH_P_8021AD,
584 .qinq_tpid = ETH_P_8021AD,
603 .qinq_tpid = ETH_P_8021AD,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dif_ether.h90 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dif_ether.h90 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dif_ether.h90 #define ETH_P_8021AD 0x88A8 /* 802.1ad Service VLAN */ macro
/OK3568_Linux_fs/kernel/net/dsa/
H A Dtag_mtk.c41 case htons(ETH_P_8021AD): in mtk_tag_xmit()
H A Dtag_ocelot.c246 vlan_tpid = tag_type ? ETH_P_8021AD : ETH_P_8021Q; in ocelot_rcv()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.h941 start_params->sd_vlan_eth_type = ETH_P_8021AD; in bnx2x_func_start()
942 REG_WR(bp, PRS_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start()
943 REG_WR(bp, PBF_REG_VLAN_TYPE_0, ETH_P_8021AD); in bnx2x_func_start()
944 REG_WR(bp, NIG_REG_LLH_E1HOV_TYPE_1, ETH_P_8021AD); in bnx2x_func_start()
/OK3568_Linux_fs/kernel/include/linux/
H A Dif_vlan.h306 case htons(ETH_P_8021AD): in eth_type_vlan()
318 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan_core.c173 if (proto == htons(ETH_P_8021AD) && in vlan_hw_filter_capable()
534 .type = cpu_to_be16(ETH_P_8021AD),
H A Dvlan.h44 case htons(ETH_P_8021AD): in vlan_proto_idx()
H A Dvlan.c515 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
521 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD)); in vlan_device_event()
H A Dvlan_netlink.c65 case htons(ETH_P_8021AD): in vlan_validate()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c142 proto[0] = htons(ETH_P_8021AD); in stmmac_test_get_udp_skb()
847 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlan_validate()
1016 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt()
1052 vlan_vid_del(priv->dev, htons(ETH_P_8021AD), tpriv->vlan_id); in __stmmac_test_dvlanfilt()
1273 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q; in stmmac_test_vlanoff_common()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_tables_offload.c64 match->key.vlan.vlan_tpid == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
76 match->key.basic.n_proto == htons(ETH_P_8021AD))) { in nft_flow_rule_transfer_vlan()
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_forward.c43 skb->protocol == htons(ETH_P_8021AD))) { in br_dev_queue_push_xmit()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_vlan.c180 case htons(ETH_P_8021AD): in tcf_vlan_init()

123