/Linux-v4.19/net/dsa/ |
D | tag_dsa.c | 29 if (skb->protocol == htons(ETH_P_8021Q)) { in dsa_xmit() 111 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in dsa_rcv() 112 new_header[1] = ETH_P_8021Q & 0xff; in dsa_rcv()
|
D | tag_edsa.c | 31 if (skb->protocol == htons(ETH_P_8021Q)) { in edsa_xmit() 124 new_header[0] = (ETH_P_8021Q >> 8) & 0xff; in edsa_rcv() 125 new_header[1] = ETH_P_8021Q & 0xff; in edsa_rcv()
|
D | tag_lan9303.c | 85 lan9303_tag[0] = htons(ETH_P_8021Q); in lan9303_xmit() 115 if (lan9303_tag[0] != htons(ETH_P_8021Q)) { in lan9303_rcv()
|
/Linux-v4.19/net/8021q/ |
D | vlan_gvrp.c | 35 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_join() 46 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_gvrp_request_leave()
|
D | vlan_mvrp.c | 41 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_join() 52 if (vlan->vlan_proto != htons(ETH_P_8021Q)) in vlan_mvrp_request_leave()
|
D | vlan.c | 222 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, in register_vlan_device() 266 vlan->vlan_proto = htons(ETH_P_8021Q); in register_vlan_device() 381 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 385 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); in vlan_device_event() 500 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event() 506 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); in vlan_device_event() 720 .type = cpu_to_be16(ETH_P_8021Q),
|
D | vlan_netlink.c | 67 case htons(ETH_P_8021Q): in vlan_validate() 163 proto = htons(ETH_P_8021Q); in vlan_newlink()
|
D | vlan.h | 42 case htons(ETH_P_8021Q): in vlan_proto_idx()
|
/Linux-v4.19/samples/bpf/ |
D | xdp1_kern.c | 60 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()
|
D | xdp2_kern.c | 76 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()
|
D | parse_varlen.c | 126 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()
|
D | sockex2_kern.c | 112 if (proto == ETH_P_8021Q) { in flow_dissector() 149 if (proto == ETH_P_8021Q) { in flow_dissector()
|
D | xdp_router_ipv4_kern.c | 129 if (h_proto == htons(ETH_P_8021Q) || h_proto == htons(ETH_P_8021AD)) { in xdp_router_ipv4_prog()
|
/Linux-v4.19/include/net/ |
D | erspan.h | 179 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header() 273 if (eth->h_proto == htons(ETH_P_8021Q)) { in erspan_build_header_v2()
|
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | sriov.c | 34 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
|
/Linux-v4.19/include/uapi/linux/ |
D | if_ether.h | 71 #define ETH_P_8021Q 0x8100 /* 802.1Q VLAN Extended Header */ macro
|
/Linux-v4.19/net/sched/ |
D | act_vlan.c | 163 case htons(ETH_P_8021Q): in tcf_vlan_init() 174 push_proto = htons(ETH_P_8021Q); in tcf_vlan_init()
|
/Linux-v4.19/net/bridge/netfilter/ |
D | ebt_vlan.c | 95 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()
|
/Linux-v4.19/net/batman-adv/ |
D | soft-interface.c | 227 case ETH_P_8021Q: in batadv_interface_tx() 445 case ETH_P_8021Q: in batadv_interface_rx() 667 if (proto != htons(ETH_P_8021Q)) in batadv_interface_add_vid() 725 if (proto != htons(ETH_P_8021Q)) in batadv_interface_kill_vid()
|
D | main.c | 386 case htons(ETH_P_8021Q): in batadv_skb_set_priority() 639 if (ethhdr->h_proto != htons(ETH_P_8021Q)) in batadv_get_vid()
|
/Linux-v4.19/drivers/staging/gdm724x/ |
D | gdm_lte.c | 117 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_arp() 238 if (ntohs(((struct ethhdr *)skb_in->data)->h_proto) == ETH_P_8021Q) { in gdm_lte_emulate_ndp() 351 if (ntohs(eth->h_proto) == ETH_P_8021Q) { in gdm_lte_tx_nic_type() 634 vlan_eth.h_vlan_proto = htons(ETH_P_8021Q); in gdm_lte_netif_rx()
|
/Linux-v4.19/include/linux/ |
D | if_vlan.h | 308 case htons(ETH_P_8021Q): in eth_type_vlan() 319 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable()
|
/Linux-v4.19/net/bridge/ |
D | br_netfilter_hooks.c | 86 else if (skb->protocol == htons(ETH_P_8021Q)) in vlan_proto() 169 case __cpu_to_be16(ETH_P_8021Q): in nf_bridge_encap_header_len() 252 skb->protocol = htons(ETH_P_8021Q); in nf_bridge_update_protocol() 456 if (skb->protocol == htons(ETH_P_8021Q)) in setup_pre_routing()
|
D | br_vlan.c | 702 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) { in recalculate_group_addr() 715 if (!br->vlan_enabled || br->vlan_proto == htons(ETH_P_8021Q)) in br_recalculate_fwd_mask() 811 if (val != ETH_P_8021Q && val != ETH_P_8021AD) in br_vlan_set_proto() 994 br->vlan_proto = htons(ETH_P_8021Q); in br_vlan_init()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac100_core.c | 51 writel(ETH_P_8021Q, ioaddr + MAC_VLAN1); in dwmac100_core_init()
|