summaryrefslogtreecommitdiff
path: root/ether.h
diff options
context:
space:
mode:
authorpdw <>2011-10-03 21:46:35 +0000
committerpdw <>2011-10-03 21:46:35 +0000
commita85b2c76cdff2a82975ee53429de6992370dfc84 (patch)
tree8541f6097fdf43b48a3a0adb9ad23d34167b8b82 /ether.h
parent067bc0d96f5bfc065c7033cce5e16e20e0170782 (diff)
downloadiftop-a85b2c76cdff2a82975ee53429de6992370dfc84.zip
Untested radiotap support.
Diffstat (limited to 'ether.h')
-rw-r--r--ether.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ether.h b/ether.h
index 6da3673..26caf9b 100644
--- a/ether.h
+++ b/ether.h
@@ -20,4 +20,14 @@ struct vlan_8021q_header {
u_int16_t ether_type;
};
+/*
+ * http://www.gsp.com/cgi-bin/man.cgi?section=9&topic=ieee80211_radiotap
+ */
+struct radiotap_header {
+ u_int8_t it_version; /* set to 0 */
+ u_int8_t it_pad;
+ u_int16_t it_len; /* entire length */
+ u_int32_t it_present; /* fields present */
+};
+
#endif