16#ifndef LIBWIFI_GEN_DEAUTH_H
17#define LIBWIFI_GEN_DEAUTH_H
21#include "../../core/frame/management/deauthentication.h"
45 const unsigned char receiver[6],
46 const unsigned char transmitter[6],
47 const unsigned char address3[6],
size_t libwifi_dump_deauth(struct libwifi_deauth *deauth, unsigned char *buf, size_t buf_len)
Dump a libwifi_deauth into a raw format for packet injection.
void libwifi_free_deauth(struct libwifi_deauth *deauth)
Free any memory claimed by a libwifi_deauth back to the system.
int libwifi_create_deauth(struct libwifi_deauth *deauth, const unsigned char receiver[6], const unsigned char transmitter[6], const unsigned char address3[6], uint16_t reason_code)
Generate a populated libwifi deauth.
size_t libwifi_get_deauth_length(struct libwifi_deauth *deauth)
Calculate the length of a given libwifi_deauth.