#include <epc-tft.h>
Classes | |
struct | PacketFilter |
Public Types | |
enum | Direction { DOWNLINK = 1, UPLINK = 2, BIDIRECTIONAL = 3 } |
Public Member Functions | |
EpcTft () | |
uint8_t | Add (PacketFilter f) |
bool | Matches (Direction direction, Ipv4Address remoteAddress, Ipv4Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService) |
![]() | |
SimpleRefCount () | |
SimpleRefCount (const SimpleRefCount &o) | |
uint32_t | GetReferenceCount (void) const |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
Static Public Member Functions | |
static Ptr< EpcTft > | Default () |
![]() | |
static void | Cleanup (void) |
Private Attributes | |
std::list< PacketFilter > | m_filters |
uint8_t | m_numFilters |
This class implements the EPS bearer Traffic Flow Template (TFT), which is the set of all packet filters associated with an EPS bearer.
ns3::EpcTft::EpcTft | ( | ) |
Definition at line 150 of file epc-tft.cc.
References NS_LOG_FUNCTION.
uint8_t ns3::EpcTft::Add | ( | PacketFilter | f | ) |
add a PacketFilter to the Traffic Flow Template
the | PacketFilter to be added |
Definition at line 157 of file epc-tft.cc.
References m_filters, m_numFilters, NS_ABORT_IF, NS_LOG_FUNCTION, and ns3::EpcTft::PacketFilter::precedence.
Referenced by Default(), ns3::LteX2HandoverTestCase::DoRun(), ns3::LteEpcE2eDataTestCase::DoRun(), ns3::EpcTftClassifierTestSuite::EpcTftClassifierTestSuite(), and main().
creates a TFT matching any traffic
Definition at line 141 of file epc-tft.cc.
References Add().
Referenced by ns3::LteHelper::Attach(), ns3::LenaFdTbfqFfMacSchedulerTestCase1::DoRun(), ns3::LenaTdTbfqFfMacSchedulerTestCase1::DoRun(), ns3::LenaPssFfMacSchedulerTestCase1::DoRun(), ns3::LenaTdTbfqFfMacSchedulerTestCase2::DoRun(), ns3::LenaFdTbfqFfMacSchedulerTestCase2::DoRun(), ns3::LenaPssFfMacSchedulerTestCase2::DoRun(), ns3::EpcS1uDlTestCase::DoRun(), ns3::EpcS1uUlTestCase::DoRun(), and ns3::EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
bool ns3::EpcTft::Matches | ( | Direction | direction, |
Ipv4Address | remoteAddress, | ||
Ipv4Address | localAddress, | ||
uint16_t | remotePort, | ||
uint16_t | localPort, | ||
uint8_t | typeOfService | ||
) |
direction | |
remoteAddress | |
localAddress | |
remotePort | |
localPort | |
typeOfService |
Definition at line 174 of file epc-tft.cc.
References m_filters, and NS_LOG_FUNCTION.
Referenced by ns3::EpcTftClassifier::Classify().
|
private |
|
private |