ns-3
|
#include <epc-tft.h>
Classes | |
struct | PacketFilter |
Public Types | |
enum | Direction { DOWNLINK = 1, UPLINK = 2, BIDIRECTIONAL = 3 } |
Public Member Functions | |
uint8_t | Add (PacketFilter f) |
bool | Matches (Direction direction, Ipv4Address remoteAddress, Ipv4Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService) |
![]() | |
SimpleRefCount (const SimpleRefCount &o) | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
void | Ref (void) const |
void | Unref (void) const |
uint32_t | GetReferenceCount (void) const |
Static Public Member Functions | |
static Ptr< EpcTft > | Default () |
![]() | |
static void | Cleanup (void) |
This class implements the EPS bearer Traffic Flow Template (TFT), which is the set of all packet filters associated with an EPS bearer.
Indicates the direction of the traffic that is to be classified.
uint8_t ns3::EpcTft::Add | ( | PacketFilter | f | ) |
add a PacketFilter to the Traffic Flow Template
the | PacketFilter to be added |
References NS_ABORT_IF, NS_LOG_FUNCTION, and ns3::EpcTft::PacketFilter::precedence.
creates a TFT matching any traffic
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 |
References NS_LOG_FUNCTION.