A Discrete-Event Network Simulator
API
ns3::RecipientBlockAckAgreement::Compare Struct Reference

Comparison functor used to sort the buffered MPDUs. More...

Public Member Functions

bool operator() (const Key &a, const Key &b) const
 Functional operator for sorting the buffered MPDUs. More...
 

Detailed Description

Comparison functor used to sort the buffered MPDUs.

Definition at line 123 of file recipient-block-ack-agreement.h.

Member Function Documentation

◆ operator()()

bool ns3::RecipientBlockAckAgreement::Compare::operator() ( const Key a,
const Key b 
) const

Functional operator for sorting the buffered MPDUs.

Parameters
athe key of first buffered MPDU (
See also
Key)
Parameters
bthe key of second buffered MPDU (
See also
Key)
Returns
true if first key is smaller than second

Definition at line 38 of file recipient-block-ack-agreement.cc.

References ns3::SEQNO_SPACE_SIZE.


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