Implement the data structure representing a TrafficFlowTemplate Packet Filter. More...
#include "epc-tft.h"
Public Member Functions | |
PacketFilter () | |
bool | Matches (Direction d, Ipv4Address ra, Ipv4Address la, uint16_t rp, uint16_t lp, uint8_t tos) |
bool | Matches (Direction d, Ipv6Address ra, Ipv6Address la, uint16_t rp, uint16_t lp, uint8_t tos) |
Public Attributes | |
Direction | direction |
whether the filter needs to be applied to uplink / downlink only, or in both cases More... | |
Ipv4Address | localAddress |
IPv4 address of the UE. More... | |
Ipv6Address | localAddress6 |
IPv6 address of the UE. More... | |
Ipv4Mask | localMask |
IPv4 address mask of the UE. More... | |
uint16_t | localPortEnd |
end of the port number range of the UE More... | |
uint16_t | localPortStart |
start of the port number range of the UE More... | |
uint8_t | precedence |
used to specify the precedence for the packet filter among all packet filters in the TFT; higher values will be evaluated last. More... | |
Ipv4Address | remoteAddress |
IPv4 address of the remote host. More... | |
Ipv6Address | remoteAddress6 |
IPv6 address of the remote host. More... | |
Ipv4Mask | remoteMask |
IPv4 address mask of the remote host. More... | |
uint16_t | remotePortEnd |
end of the port number range of the remote host More... | |
uint16_t | remotePortStart |
start of the port number range of the remote host More... | |
uint8_t | typeOfService |
type of service field More... | |
uint8_t | typeOfServiceMask |
type of service field mask More... | |
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:
ns3::EpcTft::PacketFilter::PacketFilter | ( | ) |
Definition at line 83 of file epc-tft.cc.
References NS_LOG_FUNCTION.
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 99 of file epc-tft.cc.
References NS_LOG_FUNCTION, and NS_LOG_LOGIC().
bool ns3::EpcTft::PacketFilter::Matches | ( | Direction | d, |
Ipv6Address | ra, | ||
Ipv6Address | 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 156 of file epc-tft.cc.
References NS_LOG_FUNCTION, and NS_LOG_LOGIC().
Direction ns3::EpcTft::PacketFilter::direction |
Ipv4Address ns3::EpcTft::PacketFilter::localAddress |
IPv4 address of the UE.
Definition at line 130 of file epc-tft.h.
Referenced by EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
Ipv6Address ns3::EpcTft::PacketFilter::localAddress6 |
Ipv4Mask ns3::EpcTft::PacketFilter::localMask |
IPv4 address mask of the UE.
Definition at line 132 of file epc-tft.h.
Referenced by EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint16_t ns3::EpcTft::PacketFilter::localPortEnd |
end of the port number range of the UE
Definition at line 137 of file epc-tft.h.
Referenced by LteX2HandoverTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), and EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint16_t ns3::EpcTft::PacketFilter::localPortStart |
start of the port number range of the UE
Definition at line 136 of file epc-tft.h.
Referenced by LteX2HandoverTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), and EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint8_t ns3::EpcTft::PacketFilter::precedence |
Ipv4Address ns3::EpcTft::PacketFilter::remoteAddress |
IPv4 address of the remote host.
Definition at line 127 of file epc-tft.h.
Referenced by EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
Ipv6Address ns3::EpcTft::PacketFilter::remoteAddress6 |
Ipv4Mask ns3::EpcTft::PacketFilter::remoteMask |
IPv4 address mask of the remote host.
Definition at line 129 of file epc-tft.h.
Referenced by EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint16_t ns3::EpcTft::PacketFilter::remotePortEnd |
end of the port number range of the remote host
Definition at line 135 of file epc-tft.h.
Referenced by LteX2HandoverTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), and EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint16_t ns3::EpcTft::PacketFilter::remotePortStart |
start of the port number range of the remote host
Definition at line 134 of file epc-tft.h.
Referenced by LteX2HandoverTestCase::DoRun(), LteX2HandoverMeasuresTestCase::DoRun(), LteEpcE2eDataTestCase::DoRun(), LteDistributedFfrAreaTestCase::DoRun(), and EpcTftClassifierTestSuite::EpcTftClassifierTestSuite().
uint8_t ns3::EpcTft::PacketFilter::typeOfService |
uint8_t ns3::EpcTft::PacketFilter::typeOfServiceMask |