1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * VLAN An implementation of 802.1Q VLAN tagging.
5 * Authors: Ben Greear <greearb@candelatech.com>
7 #ifndef _LINUX_IF_VLAN_H_
8 #define _LINUX_IF_VLAN_H_
11 * struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr)
12 * @h_dest: destination ethernet address
13 * @h_source: source ethernet address
14 * @h_vlan_proto: ethernet protocol
15 * @h_vlan_TCI: priority and VLAN ID
16 * @h_vlan_encapsulated_proto: packet type ID or len
19 unsigned char h_dest[ETH_ALEN];
20 unsigned char h_source[ETH_ALEN];
23 __be16 h_vlan_encapsulated_proto;
26 #endif /* !(_LINUX_IF_VLAN_H_) */