libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
atim.h File Reference

Go to the source code of this file.

Functions

int libwifi_create_atim (struct libwifi_atim *atim, const unsigned char transmitter[6], const unsigned char receiver[6], const unsigned char address3[6])
 Generate a populated ATIM frame. More...
 

Function Documentation

◆ libwifi_create_atim()

int libwifi_create_atim ( struct libwifi_atim atim,
const unsigned char  transmitter[6],
const unsigned char  receiver[6],
const unsigned char  address3[6] 
)

Generate a populated ATIM frame.

Parameters
atimA new libwifi_atim struct
transmitterThe transmitter address, aka address 1
receiverThe receiver address, aka address 2
address3The address 3 frame value, typically the BSSID
Returns
Zero on success, or negative error

Definition at line 21 of file atim.c.