libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
probe_response.c File Reference
#include "../../core/frame/management/probe_response.h"
#include "../../core/frame/frame.h"
#include "../../core/frame/tag.h"
#include "../../core/frame/tag_iterator.h"
#include "../../core/misc/types.h"
#include "../../parse/misc/security.h"
#include "common.h"
#include "probe_response.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

int libwifi_parse_probe_resp (struct libwifi_bss *bss, struct libwifi_frame *frame)
 libwifi_parse_probe_resp will parse useful information out of a Probe Response into a struct libwifi_bss. More...
 

Function Documentation

◆ libwifi_parse_probe_resp()

int libwifi_parse_probe_resp ( struct libwifi_bss bss,
struct libwifi_frame frame 
)

libwifi_parse_probe_resp will parse useful information out of a Probe Response into a struct libwifi_bss.

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.