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