00001 #ifndef __RADIOTAP_ITER_H 00002 #define __RADIOTAP_ITER_H 00003 00004 #include "radiotap.h" 00005 00006 /* Radiotap header iteration 00007 * implemented in radiotap.c 00008 */ 00022 struct ieee80211_radiotap_iterator { 00023 struct ieee80211_radiotap_header *rtheader; 00024 int max_length; 00025 int this_arg_index; 00026 unsigned char *this_arg; 00027 00028 int arg_index; 00029 unsigned char *arg; 00030 uint32_t *next_bitmap; 00031 uint32_t bitmap_shifter; 00032 }; 00033 00034 extern int ieee80211_radiotap_iterator_init( 00035 struct ieee80211_radiotap_iterator *iterator, 00036 struct ieee80211_radiotap_header *radiotap_header, 00037 int max_length); 00038 00039 extern int ieee80211_radiotap_iterator_next( 00040 struct ieee80211_radiotap_iterator *iterator); 00041 00042 #endif /* __RADIOTAP_ITER_H */ 00043