16#ifndef LIBWIFI_CORE_TAGITERATOR_H
17#define LIBWIFI_CORE_TAGITERATOR_H
19#include "../misc/byteswap.h"
A libwifi_tag_iterator is used to iterate through a list of tagged parameters in a wifi frame.
const unsigned char * _frame_end
struct libwifi_tag_header * _next_tag_header
struct libwifi_tag_header * tag_header
const unsigned char * tag_data
int libwifi_tag_iterator_next(struct libwifi_tag_iterator *it)
Iterate towards the next tagged parameter in a libwifi tag iterator.
int libwifi_tag_iterator_init(struct libwifi_tag_iterator *it, const void *tags_start, size_t data_len)
Initialise a libwifi frame tag iterator.