1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Make RadioTapParser work using only the options buffer

This commit is contained in:
Matias Fontanini
2017-05-21 12:56:22 -07:00
parent b8e4c7248b
commit a641589b09
3 changed files with 29 additions and 20 deletions

View File

@@ -31,9 +31,9 @@
#define TINS_RADIOTAP_PARSER_H
#include <stdint.h>
#include "macros.h"
#include "radiotap.h"
#include "pdu_option.h"
#include "../macros.h"
#include "../radiotap.h"
#include "../pdu_option.h"
namespace Tins {
namespace Utils {
@@ -104,6 +104,11 @@ public:
*/
option current_option();
/**
* Gets the pointer at which the current option is located
*/
const uint8_t* current_option_ptr() const;
/**
* \brief Advances to the next option
*