summaryrefslogtreecommitdiff
path: root/ether.h
diff options
context:
space:
mode:
authorpdw <>2005-03-31 12:08:05 +0000
committerpdw <>2005-03-31 12:08:05 +0000
commit65726d562a2b2b42d68e1b76733f51d20945b964 (patch)
tree48b7cbc3f3705e5ef13932572144c81a080c9dbe /ether.h
parent42e3e8e43ac16233cf95b059ddb8b1857d5881c9 (diff)
downloadiftop-65726d562a2b2b42d68e1b76733f51d20945b964.zip
802.1q VLAN support from Jacek Konieczny <jajcus@bnet.pl>
Diffstat (limited to 'ether.h')
-rw-r--r--ether.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ether.h b/ether.h
index 8e23a4f..2355527 100644
--- a/ether.h
+++ b/ether.h
@@ -14,4 +14,9 @@ struct ether_header {
u_int16_t ether_type;
};
+struct vlan_8021q_header {
+ u_int16_t priority_cfi_vid;
+ u_int16_t ether_type;
+};
+
#endif