summaryrefslogtreecommitdiff
path: root/libnet/doc/man/man3/libnet_802_1q_hdr.3
blob: 7b73c92b0925d419e1ac88426aadfd7e5bf82f18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.TH "libnet_802_1q_hdr" 3 "10 Mar 2004" "libnet" \" -*- nroff -*-
.ad l
.nh
.SH NAME
libnet_802_1q_hdr \- IEEE 802.1Q VLAN header
.SH SYNOPSIS
.br
.PP
\fC#include <libnet-headers.h>\fP
.PP
.SS "Data Fields"

.in +1c
.ti -1c
.RI "u_int8_t \fBvlan_dhost\fP [ETHER_ADDR_LEN]"
.br
.ti -1c
.RI "u_int8_t \fBvlan_shost\fP [ETHER_ADDR_LEN]"
.br
.ti -1c
.RI "u_int16_t \fBvlan_tpi\fP"
.br
.ti -1c
.RI "u_int16_t \fBvlan_priority_c_vid\fP"
.br
.ti -1c
.RI "u_int16_t \fBvlan_len\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
IEEE 802.1Q (Virtual Local Area Network) VLAN header, static header size: 18 bytes 
.SH "Field Documentation"
.PP 
.SS "u_int8_t \fBlibnet_802_1q_hdr::vlan_dhost\fP[ETHER_ADDR_LEN]"
.PP
destination ethernet address 
.SS "u_int16_t \fBlibnet_802_1q_hdr::vlan_len\fP"
.PP
length or type (802.3 / Eth 2) 
.SS "u_int16_t \fBlibnet_802_1q_hdr::vlan_priority_c_vid\fP"
.PP
priority | VLAN ID 
.SS "u_int8_t \fBlibnet_802_1q_hdr::vlan_shost\fP[ETHER_ADDR_LEN]"
.PP
source ethernet address 
.SS "u_int16_t \fBlibnet_802_1q_hdr::vlan_tpi\fP"
.PP
tag protocol ID 

.SH "Author"
.PP 
Generated automatically by Doxygen for libnet from the source code.