]> gitweb.fperrin.net Git - iftop.git/blobdiff - ether.h
gitignore
[iftop.git] / ether.h
diff --git a/ether.h b/ether.h
index 6da3673640599d22d6708a69835f88b6131715fd..ca8c1b98b0ea3487f821a167bd0d8ffc6d952e11 100644 (file)
--- a/ether.h
+++ b/ether.h
@@ -14,10 +14,21 @@ struct      ether_header {
        u_int16_t       ether_type;
 } __attribute__((packed));
 
+char *ether_ntoa(const char *addr);
 
 struct vlan_8021q_header {
        u_int16_t       priority_cfi_vid;
        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