libnet_802_1q_hdr

Langue: en

Autres versions - même langue

Version: 323163 (ubuntu - 08/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

libnet_802_1q_hdr - IEEE 802.1Q VLAN header

SYNOPSIS


#include <libnet-headers.h>

Data Fields


u_int8_t vlan_dhost [ETHER_ADDR_LEN]

u_int8_t vlan_shost [ETHER_ADDR_LEN]

u_int16_t vlan_tpi

u_int16_t vlan_priority_c_vid

u_int16_t vlan_len

Detailed Description

IEEE 802.1Q (Virtual Local Area Network) VLAN header, static header size: 18 bytes

Field Documentation

u_int8_t libnet_802_1q_hdr::vlan_dhost[ETHER_ADDR_LEN]

destination ethernet address

u_int16_t libnet_802_1q_hdr::vlan_len

length or type (802.3 / Eth 2)

u_int16_t libnet_802_1q_hdr::vlan_priority_c_vid

priority | VLAN ID

u_int8_t libnet_802_1q_hdr::vlan_shost[ETHER_ADDR_LEN]

source ethernet address

u_int16_t libnet_802_1q_hdr::vlan_tpi

tag protocol ID

Author

Generated automatically by Doxygen for libnet from the source code.