A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::CommonInfoProbeReqMle Struct Reference

Common Info field of Multi-link Element Probe Request variant. More...

#include "common-info-probe-req-mle.h"

+ Collaboration diagram for ns3::CommonInfoProbeReqMle:

Public Member Functions

uint8_t Deserialize (Buffer::Iterator start, uint16_t presence)
 Deserialize the Common Info field.
 
uint16_t GetPresenceBitmap () const
 Get the Presence Bitmap subfield of the Common Info field.
 
uint8_t GetSize () const
 Get the size of the serialized Common Info field.
 
void Serialize (Buffer::Iterator &start) const
 Serialize the Common Info field.
 

Public Attributes

std::optional< uint8_t > m_apMldId
 AP MLD ID.
 

Detailed Description

Common Info field of Multi-link Element Probe Request variant.

IEEE 802.11be D6.0 9.4.2.321.3

Definition at line 24 of file common-info-probe-req-mle.h.

Member Function Documentation

◆ Deserialize()

uint8_t ns3::CommonInfoProbeReqMle::Deserialize ( Buffer::Iterator start,
uint16_t presence )

Deserialize the Common Info field.

Parameters
startiterator pointing to where the Common Info field should be read from
presencethe value of the Presence Bitmap field indicating which subfields are present in the Common Info field
Returns
the number of bytes read

Definition at line 42 of file common-info-probe-req-mle.cc.

References m_apMldId, and NS_ABORT_MSG_IF.

◆ GetPresenceBitmap()

uint16_t ns3::CommonInfoProbeReqMle::GetPresenceBitmap ( ) const

Get the Presence Bitmap subfield of the Common Info field.

Returns
the Presence Bitmap subfield of the Common Info field

Definition at line 17 of file common-info-probe-req-mle.cc.

References m_apMldId.

◆ GetSize()

uint8_t ns3::CommonInfoProbeReqMle::GetSize ( ) const

Get the size of the serialized Common Info field.

Returns
the size of the serialized Common Info field

Definition at line 24 of file common-info-probe-req-mle.cc.

References m_apMldId.

Referenced by Serialize().

+ Here is the caller graph for this function:

◆ Serialize()

void ns3::CommonInfoProbeReqMle::Serialize ( Buffer::Iterator & start) const

Serialize the Common Info field.

Parameters
startiterator pointing to where the Common Info field should be written to

Definition at line 32 of file common-info-probe-req-mle.cc.

References GetSize(), and m_apMldId.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_apMldId

std::optional<uint8_t> ns3::CommonInfoProbeReqMle::m_apMldId

AP MLD ID.

Definition at line 26 of file common-info-probe-req-mle.h.

Referenced by Deserialize(), GetPresenceBitmap(), GetSize(), and Serialize().


The documentation for this struct was generated from the following files: