16#ifndef LIBWIFI_GEN_PROBERESP_H
17#define LIBWIFI_GEN_PROBERESP_H
19#include "../../core/frame/management/probe_response.h"
62 const unsigned char receiver[6],
63 const unsigned char transmitter[6],
64 const unsigned char address3[6],
struct libwifi_radiotap_channel channel
void libwifi_free_probe_resp(struct libwifi_probe_resp *probe_resp)
Free any memory claimed by a libwifi_probe_resp back to the system.
size_t libwifi_get_probe_resp_length(struct libwifi_probe_resp *probe_resp)
Calculate the length of a given libwifi_probe_resp.
int libwifi_set_probe_resp_ssid(struct libwifi_probe_resp *probe_resp, const char *ssid)
Set the SSID of a libwifi_probe_resp.
int libwifi_set_probe_resp_channel(struct libwifi_probe_resp *probe_resp, uint8_t channel)
Set the channel of a libwifi_probe_resp.
int libwifi_create_probe_resp(struct libwifi_probe_resp *probe_resp, const unsigned char receiver[6], const unsigned char transmitter[6], const unsigned char address3[6], const char *ssid, uint8_t channel)
Generate a populated libwifi probe_resp.
size_t libwifi_dump_probe_resp(struct libwifi_probe_resp *probe_resp, unsigned char *buf, size_t buf_len)
Dump a libwifi_probe_resp into a raw format for packet injection.