mirror of
https://github.com/mfontanini/libtins
synced 2026-01-29 04:54:28 +01:00
Added a constructor on IEEE802_11 which doesn't take an interface as a parameter.
This commit is contained in:
@@ -93,6 +93,17 @@ namespace Tins {
|
||||
CF_ACK_POLL = 7
|
||||
};
|
||||
|
||||
/**
|
||||
* \brief Constructor for creating a 802.11 PDU
|
||||
*
|
||||
* Constructor that builds a 802.11 PDU taking the destination's and source's MAC.
|
||||
*
|
||||
* \param dst_hw_addr uint8_t array of 6 bytes containing the destination's MAC(optional).
|
||||
* \param src_hw_addr uint8_t array of 6 bytes containing the source's MAC(optional).
|
||||
* \param child PDU* with the PDU contained by the 802.11 PDU (optional).
|
||||
*/
|
||||
IEEE802_11(const uint8_t* dst_hw_addr = 0, const uint8_t* src_hw_addr = 0, PDU* child = 0);
|
||||
|
||||
/**
|
||||
* \brief Constructor for creating a 802.11 PDU
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user