16#ifndef LIBWIFI_PARSE_EAPOL_H
17#define LIBWIFI_PARSE_EAPOL_H
19#include "../../core/frame/frame.h"
20#include "../../core/misc/security.h"
const char * libwifi_get_wpa_message_string(struct libwifi_frame *frame)
Get a string describing the WPA handshake message inside a supplied libwifi_frame.
int libwifi_check_wpa_message(struct libwifi_frame *frame)
Check what message of the WPA1/2 handshake is in the given frame.
int libwifi_check_wpa_handshake(struct libwifi_frame *frame)
Check if a libwifi_frame contains a WPA1/2 handshake message.
void libwifi_free_wpa_data(struct libwifi_wpa_auth_data *data)
Free any memory allocated inside of a libwifi_wpa_auth data, such as a buffer for WPA key data alloca...
int libwifi_get_wpa_data(struct libwifi_frame *frame, struct libwifi_wpa_auth_data *data)
Get the EAPOL/WPA information from a given libwifi_frame.
int libwifi_get_wpa_key_data_length(struct libwifi_frame *frame)
Get the length of the key data, if any, present at the end of an EAPOL frame.
libwifi Representation of the encapsulating 802.1X data in an EAPOL frame ┌─────────────────┐ │ Versi...