libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
radiotap_iter.h
Go to the documentation of this file.
1#ifndef __RADIOTAP_ITER_H
2#define __RADIOTAP_ITER_H
3
4#include "platform.h"
5#include "radiotap.h"
6#include <stdint.h>
7
8/* Radiotap header iteration
9 * implemented in radiotap.c
10 */
11
13 uint8_t field;
14 uint8_t align : 4, size : 4;
15};
16
18 uint8_t align : 4, size : 4;
19};
20
23 int n_bits;
24 uint32_t oui;
25 uint8_t subns;
26};
27
30 int n_ns;
31};
32
69
70 unsigned char *_arg, *_next_ns_data;
71 uint32_t *_next_bitmap;
72
73 unsigned char *this_arg;
74 const struct radiotap_override *overrides; /* Only for RADIOTAP_SUPPORT_OVERRIDES */
75 int n_overrides; /* Only for RADIOTAP_SUPPORT_OVERRIDES */
78
80
85};
86
87#ifdef __cplusplus
88#define CALLING_CONVENTION "C"
89#else
90#define CALLING_CONVENTION
91#endif
92
95 struct ieee80211_radiotap_header *radiotap_header, int max_length,
96 const struct ieee80211_radiotap_vendor_namespaces *vns);
97
100
101#endif /* __RADIOTAP_ITER_H */
#define IMPORT
Definition: platform.h:56
IMPORT CALLING_CONVENTION int ieee80211_radiotap_iterator_init(struct ieee80211_radiotap_iterator *iterator, struct ieee80211_radiotap_header *radiotap_header, int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns)
ieee80211_radiotap_iterator_init - radiotap parser iterator initialization @iterator: radiotap_iterat...
Definition: radiotap.c:179
#define CALLING_CONVENTION
Definition: radiotap_iter.h:90
IMPORT CALLING_CONVENTION int ieee80211_radiotap_iterator_next(struct ieee80211_radiotap_iterator *iterator)
ieee80211_radiotap_iterator_next - return next radiotap parser iterator arg @iterator: radiotap_itera...
Definition: radiotap.c:317
struct ieee82011_radiotap_header - base radiotap header
Definition: radiotap.h:41
struct ieee80211_radiotap_iterator - tracks walk thru present radiotap args @this_arg_index: index of...
Definition: radiotap_iter.h:65
unsigned char * _next_ns_data
Definition: radiotap_iter.h:70
const struct ieee80211_radiotap_vendor_namespaces * _vns
Definition: radiotap_iter.h:67
const struct radiotap_override * overrides
Definition: radiotap_iter.h:74
struct ieee80211_radiotap_header * _rtheader
Definition: radiotap_iter.h:66
const struct ieee80211_radiotap_namespace * current_namespace
Definition: radiotap_iter.h:68
const struct radiotap_align_size * align_size
Definition: radiotap_iter.h:22
const struct ieee80211_radiotap_namespace * ns
Definition: radiotap_iter.h:29