A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 

Detailed Description

Comparator used to sort the vector of DSCP values.

Definition at line 76 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 197 of file ipv6-flow-classifier.cc.


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