X-Git-Url: http://gitweb.fperrin.net/?p=iftop.git;a=blobdiff_plain;f=ether.h;h=cc0b3f2db0f3ef367d95a89be7614a179b3882b3;hp=6da3673640599d22d6708a69835f88b6131715fd;hb=HEAD;hpb=cd1db5a0a5c698b647e554a003c7e48b5db695f5 diff --git a/ether.h b/ether.h index 6da3673..cc0b3f2 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 */ +} __attribute__((packed)); + #endif