Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-ieee80211-radiotap-iter.h
1/*
2 * Radiotap parser
3 *
4 * Copyright 2007 Andy Green <[email protected]>
5 * Copyright 2009 Johannes Berg <[email protected]>
6 *
7 * SPDX-License-Identifier: (ISC OR GPL-2.0-only)
8 */
9
10#ifndef __RADIOTAP_ITER_H
11#define __RADIOTAP_ITER_H
12
13#define RADIOTAP_SUPPORT_OVERRIDES
14
15#include "packet-ieee80211-radiotap-defs.h"
16
17/* Radiotap header iteration
18 * implemented in radiotap.c
19 */
20
22 uint8_t field;
23 unsigned align:4, size:4;
24};
25
27 unsigned align:4, size:4;
28};
29
31 const struct radiotap_align_size *align_size;
32 int n_bits;
33 uint32_t oui;
34 uint8_t subns;
35};
36
38 const struct ieee80211_radiotap_namespace *ns;
39 int n_ns;
40};
41
55 unsigned char *_arg, *_next_ns_data;
56 uint32_t *_next_bitmap;
58 unsigned char *this_arg;
62#ifdef RADIOTAP_SUPPORT_OVERRIDES
65#endif
70 int is_radiotap_ns;
71 int tlv_mode;
72
75 uint32_t _bitmap_shifter;
77};
78
79extern int ieee80211_radiotap_iterator_init(
80 struct ieee80211_radiotap_iterator *iterator,
81 struct ieee80211_radiotap_header *radiotap_header,
82 int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns);
83
84extern int ieee80211_radiotap_iterator_next(
85 struct ieee80211_radiotap_iterator *iterator);
86
87#endif /* __RADIOTAP_ITER_H */
Definition packet-ieee80211-radiotap-defs.h:36
Definition packet-ieee80211-radiotap-iter.h:49
struct ieee80211_radiotap_header * _rtheader
Definition packet-ieee80211-radiotap-iter.h:50
const struct ieee80211_radiotap_vendor_namespaces * _vns
Definition packet-ieee80211-radiotap-iter.h:51
int _arg_index
Definition packet-ieee80211-radiotap-iter.h:74
int _reset_on_ext
Definition packet-ieee80211-radiotap-iter.h:76
const struct ieee80211_radiotap_namespace * current_namespace
Definition packet-ieee80211-radiotap-iter.h:52
uint32_t _bitmap_shifter
Definition packet-ieee80211-radiotap-iter.h:75
unsigned char * this_arg
Definition packet-ieee80211-radiotap-iter.h:58
int this_arg_index
Definition packet-ieee80211-radiotap-iter.h:66
int this_arg_size
Definition packet-ieee80211-radiotap-iter.h:68
uint32_t * _next_bitmap
Definition packet-ieee80211-radiotap-iter.h:56
int _max_length
Definition packet-ieee80211-radiotap-iter.h:73
unsigned char * _next_ns_data
Definition packet-ieee80211-radiotap-iter.h:55
int n_overrides
Definition packet-ieee80211-radiotap-iter.h:64
const struct radiotap_override * overrides
Definition packet-ieee80211-radiotap-iter.h:63
Definition packet-ieee80211-radiotap-iter.h:30
Definition packet-ieee80211-radiotap-iter.h:37
Definition packet-ieee80211-radiotap-iter.h:26
Definition packet-ieee80211-radiotap-iter.h:21