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 */ 00021 struct ieee80211_radiotap_iterator { 00022 struct ieee80211_radiotap_header *rtheader; 00023 int max_length; 00024 int this_arg_index; 00025 unsigned char *this_arg; 00026 00027 int arg_index; 00028 unsigned char *arg; 00029 uint32_t *next_bitmap; 00030 uint32_t bitmap_shifter; 00031 }; 00032 00033 extern int ieee80211_radiotap_iterator_init( 00034 struct ieee80211_radiotap_iterator *iterator, 00035 struct ieee80211_radiotap_header *radiotap_header, 00036 int max_length); 00037 00038 extern int ieee80211_radiotap_iterator_next( 00039 struct ieee80211_radiotap_iterator *iterator); 00040 00041 #endif /* __RADIOTAP_ITER_H */