![]() |
5G-LENA nr-v3.3-161-gad18933f
The 5G/NR module for the ns-3 simulator
|
#include "nr-epc-tft.h"
Classes | |
struct | PacketFilter |
Public Types | |
enum | Direction { DOWNLINK = 1 , UPLINK = 2 , BIDIRECTIONAL = 3 } |
Public Member Functions | |
uint8_t | Add (PacketFilter f) |
std::list< PacketFilter > | GetPacketFilters () const |
bool | Matches (Direction direction, Ipv4Address remoteAddress, Ipv4Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService) |
bool | Matches (Direction direction, Ipv6Address remoteAddress, Ipv6Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService) |
Static Public Member Functions | |
static Ptr< NrEpcTft > | Default () |
This class implements the EPS bearer Traffic Flow Template (TFT), which is the set of all packet filters associated with an EPS bearer.
Definition at line 24 of file nr-epc-tft.h.
Indicates the direction of the traffic that is to be classified.
Definition at line 37 of file nr-epc-tft.h.
ns3::NrEpcTft::NrEpcTft | ( | ) |
Definition at line 224 of file nr-epc-tft.cc.
uint8_t ns3::NrEpcTft::Add | ( | PacketFilter | f | ) |
add a PacketFilter to the Traffic Flow Template
f | the PacketFilter to be added |
Definition at line 231 of file nr-epc-tft.cc.
References ns3::NrEpcTft::PacketFilter::precedence.
|
static |
creates a TFT matching any traffic
Definition at line 216 of file nr-epc-tft.cc.
Referenced by ns3::NrHelper::AttachToGnb().
std::list< NrEpcTft::PacketFilter > ns3::NrEpcTft::GetPacketFilters | ( | ) | const |
Get the packet filters
Definition at line 296 of file nr-epc-tft.cc.
bool ns3::NrEpcTft::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 246 of file nr-epc-tft.cc.
bool ns3::NrEpcTft::Matches | ( | Direction | direction, |
Ipv6Address | remoteAddress, | ||
Ipv6Address | localAddress, | ||
uint16_t | remotePort, | ||
uint16_t | localPort, | ||
uint8_t | typeOfService | ||
) |
direction | |
remoteAddress | |
localAddress | |
remotePort | |
localPort | |
typeOfService |
Definition at line 271 of file nr-epc-tft.cc.