libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
cts.c File Reference
#include "cts.h"
#include <string.h>

Go to the source code of this file.

Functions

int libwifi_create_cts (struct libwifi_cts *cts, const unsigned char receiver[6], uint16_t duration)
 Create a CTS Control frame. More...
 

Function Documentation

◆ libwifi_create_cts()

int libwifi_create_cts ( struct libwifi_cts cts,
const unsigned char  receiver[6],
uint16_t  duration 
)

Create a CTS Control frame.

Parameters
ctsA fresh libwifi_cts struct
receiverThe receiver MAC address
durationThe duration of the clear-to-send

Definition at line 20 of file cts.c.