30#include <tins/config.h>
32#if !defined(TINS_DOT11_DOT11_PROBE_H) && defined(TINS_HAVE_DOT11)
34#define TINS_DOT11_DOT11_PROBE_H
36#include <tins/dot11/dot11_mgmt.h>
37#include <tins/macros.h>
93 return flag == pdu_flag || Dot11ManagementFrame::matches_flag(flag);
152 return Endian::le_to_host(body_.timestamp);
161 return Endian::le_to_host(body_.interval);
171 return body_.capability;
181 return body_.capability;
189 void timestamp(uint64_t new_timestamp);
196 void interval(uint16_t new_interval);
204 uint32_t header_size()
const;
227 return flag == pdu_flag || Dot11ManagementFrame::matches_flag(flag);
230 void write_fixed_parameters(Memory::OutputMemoryStream& stream);
233 struct dot11_probe_response_header {
236 capability_information capability;
239 dot11_probe_response_header body_;
Base class for all management frames in the IEEE 802.11 protocol.
Definition dot11_mgmt.h:45
Class representing an Probe Request frame in the IEEE 802.11 Protocol.
Definition dot11_probe.h:44
PDUType pdu_type() const
Getter for the PDU's type.
Definition dot11_probe.h:83
bool matches_flag(PDUType flag) const
Check whether this PDU matches the specified flag.
Definition dot11_probe.h:92
Dot11ProbeRequest * clone() const
Clones this PDU.
Definition dot11_probe.h:101
Class representing an Probe Response frame in the IEEE 802.11 Protocol.
Definition dot11_probe.h:111
bool matches_flag(PDUType flag) const
Check whether this PDU matches the specified flag.
Definition dot11_probe.h:226
Dot11ProbeResponse * clone() const
Clones this PDU.
Definition dot11_probe.h:211
uint16_t interval() const
Getter for the interval field.
Definition dot11_probe.h:160
capability_information & capabilities()
Getter for the Capabilities Information.
Definition dot11_probe.h:180
PDUType pdu_type() const
Getter for the PDU's type.
Definition dot11_probe.h:219
const capability_information & capabilities() const
Getter for the Capabilities Information.
Definition dot11_probe.h:170
uint64_t timestamp() const
Getter for the timestamp field.
Definition dot11_probe.h:151
PDUType
Enum which identifies each type of PDU.
Definition pdu.h:127
The Tins namespace.
Definition address_range.h:38