30 #include <tins/config.h> 32 #if !defined(TINS_RADIOTAP_WRITER_H) && defined(TINS_HAVE_DOT11) 34 #define TINS_RADIOTAP_WRITER_H 38 #include <tins/radiotap.h> 75 std::vector<uint8_t> build_padding_vector(
const uint8_t* last_ptr,
RadioTapParser& parser);
76 void update_paddings(
const std::vector<uint8_t>& paddings, uint32_t offset);
78 std::vector<uint8_t>& buffer_;
84 #endif // TINS_RADIOTAP_WRITER_H Represents a PDU option field.
Definition: pdu_option.h:201
The Tins namespace.
Definition: address_range.h:38
void write_option(const RadioTap::option &option)
Writes an option, adding/removing padding as needed.
Definition: radiotap_writer.cpp:55
RadioTapWriter(std::vector< uint8_t > &buffer)
Constructs a RadioTapWriter object.
Definition: radiotap_writer.cpp:51
Allows parsing RadioTap options.
Definition: radiotap_parser.h:52
Writes RadioTap options into a buffer.
Definition: radiotap_writer.h:55