mirror of
https://github.com/mfontanini/libtins
synced 2026-01-29 21:14:28 +01:00
Added RadioTap constructor from buffer. It's working, although some flags are not implemented yet.
This commit is contained in:
@@ -33,17 +33,25 @@ namespace Tins {
|
||||
class RadioTap : public PDU {
|
||||
public:
|
||||
/**
|
||||
* Creates an instance of RadioTap.
|
||||
* \brief Creates an instance of RadioTap.
|
||||
* \param iface The name of the interface in which to send this PDU.
|
||||
*/
|
||||
RadioTap(const std::string &iface) throw (std::runtime_error);
|
||||
|
||||
/**
|
||||
* Creates an instance of RadioTap.
|
||||
* \brief Creates an instance of RadioTap.
|
||||
* \param iface_index The index of the interface in which to send this PDU.
|
||||
*/
|
||||
RadioTap(uint32_t iface_index);
|
||||
|
||||
/**
|
||||
* \brief Constructor which creates a RadioTap object from a buffer and adds all
|
||||
* identifiable PDUs found in the buffer as children of this one.
|
||||
* \param buffer The buffer from which this PDU will be constructed.
|
||||
* \param total_sz The total size of the buffer.
|
||||
*/
|
||||
RadioTap(const uint8_t *buffer, uint32_t total_sz);
|
||||
|
||||
/* Setters */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user