Searched refs:ETH_P_8021Q (Results 26 - 50 of 247) sorted by relevance

12345678910

/linux-master/net/8021q/
H A Dvlan_netlink.c64 case htons(ETH_P_8021Q):
169 proto = htons(ETH_P_8021Q);
H A Dvlan_core.c171 if (proto == htons(ETH_P_8021Q) &&
531 .type = cpu_to_be16(ETH_P_8021Q),
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c307 if (match.key->vlan_tpid != cpu_to_be16(ETH_P_8021Q))
338 act->vlan.proto != htons(ETH_P_8021Q))
439 if (data.vlan.proto != htons(ETH_P_8021Q))
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_dp.c450 tpid = ETH_P_8021Q;
454 tpid = ETH_P_8021Q;
H A Dnfp_net_sriov.c124 if (vlan_proto != htons(ETH_P_8021Q)) {
/linux-master/include/linux/
H A Dif_vlan.h318 case htons(ETH_P_8021Q):
329 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX)
/linux-master/net/sched/
H A Dact_vlan.c180 case htons(ETH_P_8021Q):
191 push_proto = htons(ETH_P_8021Q);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge.c108 if (vlan_proto == ETH_P_8021Q)
137 return mlx5_esw_bridge_ingress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, ingress_ft);
170 if (vlan_proto == ETH_P_8021Q)
196 return mlx5_esw_bridge_ingress_vlan_proto_filter_fg_create(from, to, ETH_P_8021Q, esw,
265 if (vlan_proto == ETH_P_8021Q)
289 return mlx5_esw_bridge_egress_vlan_proto_fg_create(from, to, ETH_P_8021Q, esw, egress_ft);
611 if (bridge->vlan_proto == ETH_P_8021Q) {
717 if (bridge->vlan_proto == ETH_P_8021Q) {
775 if (bridge->vlan_proto == ETH_P_8021Q) {
864 bridge->vlan_proto = ETH_P_8021Q;
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c206 lan_rmw(REW_PORT_VLAN_CFG_PORT_TPID_SET(ETH_P_8021Q) |
/linux-master/samples/bpf/
H A Dsockex3_kern.c276 case ETH_P_8021Q:
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dvlan.c64 attr->vlan_proto[vlan_idx] = htons(ETH_P_8021Q);
/linux-master/net/hsr/
H A Dhsr_main.h266 if (ethhdr->h_proto == htons(ETH_P_8021Q))
/linux-master/arch/powerpc/platforms/ps3/
H A Dgelic_udbg.c157 h_eth->h_proto= ETH_P_8021Q;
/linux-master/net/batman-adv/
H A Dsoft-interface.c221 case ETH_P_8021Q:
444 case ETH_P_8021Q:
637 if (proto != htons(ETH_P_8021Q))
672 * Return: 0 on success, -EINVAL if the specified prototype is not ETH_P_8021Q
684 if (proto != htons(ETH_P_8021Q))
H A Dmain.c377 case htons(ETH_P_8021Q):
632 if (ethhdr->h_proto != htons(ETH_P_8021Q))
/linux-master/drivers/staging/gdm724x/
H A Dgdm_lte.c118 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) {
238 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) {
351 if (ntohs(eth->h_proto) == ETH_P_8021Q) {
636 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q);
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac100_core.c33 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1);
H A Dstmmac_selftests.c138 proto[0] = htons(ETH_P_8021Q);
143 tag[1] = htons(ETH_P_8021Q);
847 proto = tpriv->double_vlan ? ETH_P_8021AD : ETH_P_8021Q;
922 ret = vlan_vid_add(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id);
958 vlan_vid_del(priv->dev, htons(ETH_P_8021Q), tpriv->vlan_id);
1002 tpriv->pt.type = htons(ETH_P_8021Q);
1273 proto = svlan ? ETH_P_8021AD : ETH_P_8021Q;
1279 tpriv->pt.type = svlan ? htons(ETH_P_8021Q) : htons(ETH_P_IP);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector.c158 .eth.h_proto = __bpf_constant_htons(ETH_P_8021Q),
182 .vlan_proto = __bpf_constant_htons(ETH_P_8021Q),
/linux-master/net/netfilter/
H A Dnf_tables_offload.c63 (match->key.vlan.vlan_tpid == htons(ETH_P_8021Q) ||
76 (match->key.basic.n_proto == htons(ETH_P_8021Q) ||
H A Dnf_flow_table_offload.c120 tuple->encap[0].proto == htons(ETH_P_8021Q)) {
129 tuple->encap[1].proto == htons(ETH_P_8021Q)) {
650 if (tuple->encap[i].proto == htons(ETH_P_8021Q)) {
671 case htons(ETH_P_8021Q):
/linux-master/drivers/net/usb/
H A Dcdc_mbim.c327 netdev = __vlan_find_dev_deep_rcu(dev->net, htons(ETH_P_8021Q),
406 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), tci);
/linux-master/drivers/scsi/qedf/
H A Dqedf_fip.c145 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), qedf->vlan_id);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dclip_tbl.c237 root_dev = __vlan_find_dev_deep_rcu(dev, htons(ETH_P_8021Q), i);
/linux-master/tools/testing/selftests/net/
H A Dpsock_snd.c108 eth->h_proto = htons(ETH_P_8021Q);

Completed in 321 milliseconds

12345678910