A Discrete-Event Network Simulator
API
ns3::Ipv6FlowClassifier::SortByCount Class Reference

Comparator used to sort the vector of DSCP values. More...

#include "ipv6-flow-classifier.h"

Public Member Functions

bool operator() (std::pair< Ipv6Header::DscpType, uint32_t > left, std::pair< Ipv6Header::DscpType, uint32_t > right)
 Comparator function. More...
 

Detailed Description

Comparator used to sort the vector of DSCP values.

Definition at line 74 of file ipv6-flow-classifier.h.

Member Function Documentation

◆ operator()()

bool ns3::Ipv6FlowClassifier::SortByCount::operator() ( std::pair< Ipv6Header::DscpType, uint32_t >  left,
std::pair< Ipv6Header::DscpType, uint32_t >  right 
)

Comparator function.

Parameters
leftleft operand
rightright operand
Returns
true if left DSCP is greater than right DSCP

Definition at line 203 of file ipv6-flow-classifier.cc.


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