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> 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;
230 void write_fixed_parameters(Memory::OutputMemoryStream& stream);
233 struct dot11_probe_response_header {
239 dot11_probe_response_header body_;
244 #endif // TINS_DOT11_DOT11_PROBE_H
Class representing an Probe Response frame in the IEEE 802.11 Protocol.
Definition: dot11_probe.h:111
Dot11ProbeRequest * clone() const
Clones this PDU.
Definition: dot11_probe.h:101
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
PDUType
Enum which identifies each type of PDU.
Definition: pdu.h:127
bool matches_flag(PDUType flag) const
Check whether this PDU matches the specified flag.
Definition: dot11_mgmt.h:1226
uint16_t interval() const
Getter for the interval field.
Definition: dot11_probe.h:160
PDUType pdu_type() const
Getter for the PDU's type.
Definition: dot11_probe.h:219
uint64_t timestamp() const
Getter for the timestamp field.
Definition: dot11_probe.h:151
Base class for all management frames in the IEEE 802.11 protocol.
Definition: dot11_mgmt.h:45
const capability_information & capabilities() const
Getter for the Capabilities Information.
Definition: dot11_probe.h:170
The Tins namespace.
Definition: address_range.h:38
capability_information & capabilities()
Getter for the Capabilities Information.
Definition: dot11_probe.h:180
bool matches_flag(PDUType flag) const
Check whether this PDU matches the specified flag.
Definition: dot11_probe.h:92
Dot11ProbeResponse * clone() const
Clones this PDU.
Definition: dot11_probe.h:211
bool matches_flag(PDUType flag) const
Check whether this PDU matches the specified flag.
Definition: dot11_probe.h:226