16#ifndef LIBWIFI_GEN_PROBEREQ_H
17#define LIBWIFI_GEN_PROBEREQ_H
21#include "../../core/frame/management/probe_request.h"
46 const unsigned char receiver[6],
47 const unsigned char transmitter[6],
48 const unsigned char address3[6],
struct libwifi_radiotap_channel channel
int libwifi_create_probe_req(struct libwifi_probe_req *probe_req, 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_req.
void libwifi_free_probe_req(struct libwifi_probe_req *probe_req)
Free any memory claimed by a libwifi_probe_req back to the system.
size_t libwifi_dump_probe_req(struct libwifi_probe_req *probe_req, unsigned char *buf, size_t buf_len)
Dump a libwifi_probe_req into a raw format for packet injection.
size_t libwifi_get_probe_req_length(struct libwifi_probe_req *probe_req)
Calculate the length of a given libwifi_probe_req.