1
0
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:
Matias Fontanini
2011-08-30 19:40:39 -03:00
parent 33d0f42d24
commit e4dae4c024
4 changed files with 39 additions and 3 deletions

View File

@@ -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.
*