26 #include <ns3/simple-ref-count.h> 27 #include <ns3/ipv4-address.h> 28 #include <ns3/ipv6-address.h> 173 uint8_t typeOfService);
192 uint8_t typeOfService);
Direction
Indicates the direction of the traffic that is to be classified.
std::list< PacketFilter > m_filters
packet filter list
uint8_t Add(PacketFilter f)
add a PacketFilter to the Traffic Flow Template
Smart pointer class similar to boost::intrusive_ptr.
Direction direction
whether the filter needs to be applied to uplink / downlink only, or in both cases ...
a class to represent an Ipv4 address mask
static Ptr< EpcTft > Default()
creates a TFT matching any traffic
uint16_t localPortEnd
end of the port number range of the UE
Ipv6Address localAddress6
IPv6 address of the UE.
bool Matches(Direction d, Ipv4Address ra, Ipv4Address la, uint16_t rp, uint16_t lp, uint8_t tos)
Ipv4Mask localMask
IPv4 address mask of the UE.
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Ipv4Address remoteAddress
IPv4 address of the remote host.
double f(double x, void *params)
uint16_t remotePortEnd
end of the port number range of the remote host
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t typeOfService
type of service field
Ipv4Address localAddress
IPv4 address of the UE.
Describes an IPv6 address.
Ipv4 addresses are stored in host order in this class.
This class implements the EPS bearer Traffic Flow Template (TFT), which is the set of all packet filt...
uint8_t precedence
used to specify the precedence for the packet filter among all packet filters in the TFT; higher valu...
Ipv6Address remoteAddress6
IPv6 address of the remote host.
Ipv4Mask remoteMask
IPv4 address mask of the remote host.
uint8_t typeOfServiceMask
type of service field mask
A template-based reference counting class.
bool Matches(Direction direction, Ipv4Address remoteAddress, Ipv4Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService)
uint16_t remotePortStart
start of the port number range of the remote host
uint8_t m_numFilters
number of packet filters applied to this TFT
Implement the data structure representing a TrafficFlowTemplate Packet Filter.
uint16_t localPortStart
start of the port number range of the UE