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

Go to the source code of this file.


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.

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
Zero on success, or negative error

Definition at line 21 of file atim.c.