libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
probe_response.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include "../../core/frame/frame.h"
#include "../../core/frame/management/common.h"
#include "../../core/misc/security.h"

Go to the source code of this file.

Functions

int libwifi_parse_probe_resp (struct libwifi_bss *bss, struct libwifi_frame *frame)
 Parse a probe response frame into a libwifi_bss. More...
 

Function Documentation

◆ libwifi_parse_probe_resp()

int libwifi_parse_probe_resp ( struct libwifi_bss bss,
struct libwifi_frame frame 
)

Parse a probe response frame into a libwifi_bss.

Parameters
bssA libwifi_bss
frameA libwifi_frame
Returns
0 if successful, a negative number if not.

Parse a probe response frame into a libwifi_bss.

As Probe Response frames are very similar to Beacon frames, they can be treated in much the same way.

┌─────────────────────────────────────────────┐ │ Header (Ordered or Unordered) │ ── Probe Response Header ├─────────────────────────────────────────────┤ │ Fixed Parameters │ ─┐ ├─────────────────────────────────────────────┤ ├── Probe Response Body │ Tagged Parameters │ ─┘ └─────────────────────────────────────────────┘

Definition at line 42 of file probe_response.c.