libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
ieee80211_radiotap_iterator Struct Reference

struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args @this_arg_index: index of current arg, valid after each successful call to ieee80211_radiotap_iterator_next() @this_arg: pointer to current radiotap arg; it is valid after each call to ieee80211_radiotap_iterator_next() but also after ieee80211_radiotap_iterator_init() where it will point to the beginning of the actual data portion @this_arg_size: length of the current arg, for convenience @current_namespace: pointer to the current namespace definition (or internally NULL if the current namespace is unknown) @is_radiotap_ns: indicates whether the current namespace is the default radiotap namespace or not More...

#include <libwifi/core/radiotap/radiotap_iter.h>

Data Fields

struct ieee80211_radiotap_header_rtheader
 
const struct ieee80211_radiotap_vendor_namespaces_vns
 
const struct ieee80211_radiotap_namespacecurrent_namespace
 
unsigned char * _arg
 
unsigned char * _next_ns_data
 
uint32_t * _next_bitmap
 
unsigned char * this_arg
 
const struct radiotap_overrideoverrides
 
int n_overrides
 
int this_arg_index
 
int this_arg_size
 
int is_radiotap_ns
 
int _max_length
 
int _arg_index
 
uint32_t _bitmap_shifter
 
int _reset_on_ext
 

Detailed Description

struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args @this_arg_index: index of current arg, valid after each successful call to ieee80211_radiotap_iterator_next() @this_arg: pointer to current radiotap arg; it is valid after each call to ieee80211_radiotap_iterator_next() but also after ieee80211_radiotap_iterator_init() where it will point to the beginning of the actual data portion @this_arg_size: length of the current arg, for convenience @current_namespace: pointer to the current namespace definition (or internally NULL if the current namespace is unknown) @is_radiotap_ns: indicates whether the current namespace is the default radiotap namespace or not

@overrides: override standard radiotap fields @n_overrides: number of overrides

@_rtheader: pointer to the radiotap header we are walking through @_max_length: length of radiotap header in cpu byte ordering @_arg_index: next argument index @_arg: next argument pointer @_next_bitmap: internal pointer to next present u32 @_bitmap_shifter: internal shifter for curr u32 bitmap, b0 set == arg present @_vns: vendor namespace definitions @_next_ns_data: beginning of the next namespace's data @_reset_on_ext: internal; reset the arg index to 0 when going to the next bitmap word

Describes the radiotap parser state. Fields prefixed with an underscore must not be used by users of the parser, only by the parser internally.

Definition at line 65 of file radiotap_iter.h.

Field Documentation

◆ _arg

unsigned char* _arg

Definition at line 70 of file radiotap_iter.h.

◆ _arg_index

int _arg_index

Definition at line 82 of file radiotap_iter.h.

◆ _bitmap_shifter

uint32_t _bitmap_shifter

Definition at line 83 of file radiotap_iter.h.

◆ _max_length

int _max_length

Definition at line 81 of file radiotap_iter.h.

◆ _next_bitmap

uint32_t* _next_bitmap

Definition at line 71 of file radiotap_iter.h.

◆ _next_ns_data

unsigned char * _next_ns_data

Definition at line 70 of file radiotap_iter.h.

◆ _reset_on_ext

int _reset_on_ext

Definition at line 84 of file radiotap_iter.h.

◆ _rtheader

struct ieee80211_radiotap_header* _rtheader

Definition at line 66 of file radiotap_iter.h.

◆ _vns

Definition at line 67 of file radiotap_iter.h.

◆ current_namespace

const struct ieee80211_radiotap_namespace* current_namespace

Definition at line 68 of file radiotap_iter.h.

◆ is_radiotap_ns

int is_radiotap_ns

Definition at line 79 of file radiotap_iter.h.

◆ n_overrides

int n_overrides

Definition at line 75 of file radiotap_iter.h.

◆ overrides

const struct radiotap_override* overrides

Definition at line 74 of file radiotap_iter.h.

◆ this_arg

unsigned char* this_arg

Definition at line 73 of file radiotap_iter.h.

◆ this_arg_index

int this_arg_index

Definition at line 76 of file radiotap_iter.h.

◆ this_arg_size

int this_arg_size

Definition at line 77 of file radiotap_iter.h.


The documentation for this struct was generated from the following file: