#include <epc-tft.h>
Public Member Functions | |
bool | Matches (Direction d, Ipv4Address ra, Ipv4Address la, uint16_t rp, uint16_t lp, uint8_t tos) |
Public Attributes | |
Direction | direction |
Ipv4Address | localAddress |
Ipv4Mask | localMask |
uint16_t | localPortEnd |
uint16_t | localPortStart |
uint8_t | precedence |
Ipv4Address | remoteAddress |
Ipv4Mask | remoteMask |
uint16_t | remotePortEnd |
uint16_t | remotePortStart |
uint8_t | typeOfService |
uint8_t | typeOfServiceMask |
Implement the data structure representing a TrafficFlowTemplate Packet Filter. See 3GPP TS 24.008 version 8.7.0 Release 8, Table 10.5.162/3GPP TS 24.008: Traffic flow template information element
With respect to the Packet Filter specification in the above doc, the following features are NOT supported:
bool ns3::EpcTft::PacketFilter::Matches | ( | Direction | d, |
Ipv4Address | ra, | ||
Ipv4Address | la, | ||
uint16_t | rp, | ||
uint16_t | lp, | ||
uint8_t | tos | ||
) |
d | the direction |
ra | the remote address |
la | the local address |
rp | the remote port |
lp | the local port |
tos | the type of service |
Definition at line 83 of file epc-tft.cc.
References direction, ns3::Ipv4Mask::IsMatch(), localAddress, localMask, localPortEnd, localPortStart, NS_LOG_FUNCTION, NS_LOG_LOGIC, remoteAddress, remoteMask, remotePortEnd, remotePortStart, typeOfService, and typeOfServiceMask.
Direction ns3::EpcTft::PacketFilter::direction |
Ipv4Address ns3::EpcTft::PacketFilter::localAddress |
Ipv4Mask ns3::EpcTft::PacketFilter::localMask |
uint16_t ns3::EpcTft::PacketFilter::localPortEnd |
end of the port number range of the UE
Definition at line 115 of file epc-tft.h.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), and Matches().
uint16_t ns3::EpcTft::PacketFilter::localPortStart |
start of the port number range of the UE
Definition at line 114 of file epc-tft.h.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), ns3::LteEpcE2eDataTestCase::DoRun(), and Matches().
uint8_t ns3::EpcTft::PacketFilter::precedence |
used to specify the precedence for the packet filter among all packet filters in the TFT; higher values will be evaluated last.
Definition at line 98 of file epc-tft.h.
Referenced by ns3::EpcTft::Add().
Ipv4Address ns3::EpcTft::PacketFilter::remoteAddress |
Ipv4Mask ns3::EpcTft::PacketFilter::remoteMask |
uint16_t ns3::EpcTft::PacketFilter::remotePortEnd |
end of the port number range of the remote host
Definition at line 113 of file epc-tft.h.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), ns3::LteEpcE2eDataTestCase::DoRun(), and Matches().
uint16_t ns3::EpcTft::PacketFilter::remotePortStart |
start of the port number range of the remote host
Definition at line 112 of file epc-tft.h.
Referenced by ns3::LteX2HandoverTestCase::DoRun(), ns3::LteEpcE2eDataTestCase::DoRun(), and Matches().
uint8_t ns3::EpcTft::PacketFilter::typeOfService |
uint8_t ns3::EpcTft::PacketFilter::typeOfServiceMask |