mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 20:24:26 +01:00
Added RSN constructor from buffer. It's working.
This commit is contained in:
@@ -22,6 +22,7 @@ namespace Tins {
|
||||
enum EAPOLTYPE {
|
||||
RC4 = 1,
|
||||
RSN,
|
||||
EAPOL_WPA = 254
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -282,6 +283,13 @@ namespace Tins {
|
||||
*/
|
||||
RSNEAPOL();
|
||||
|
||||
/**
|
||||
* \brief Constructor which creates an RSNEAPOL object from a buffer.
|
||||
* \param buffer The buffer from which this PDU will be constructed.
|
||||
* \param total_sz The total size of the buffer.
|
||||
*/
|
||||
RSNEAPOL(const uint8_t *buffer, uint32_t total_sz);
|
||||
|
||||
/**
|
||||
* \brief Destructor.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user