]> gitweb.fperrin.net Git - iftop.git/blobdiff - ether.h
Import iftop-1.0pre4
[iftop.git] / ether.h
diff --git a/ether.h b/ether.h
index 6da3673640599d22d6708a69835f88b6131715fd..cc0b3f2db0f3ef367d95a89be7614a179b3882b3 100644 (file)
--- 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 */
+} __attribute__((packed));
+
 #endif