10#include "ns3/ipv4-address.h"
11#include "ns3/ipv6-address.h"
12#include "ns3/simple-ref-count.h"
24class NrEpcTft :
public SimpleRefCount<NrEpcTft>
150 Ipv4Address remoteAddress,
151 Ipv4Address localAddress,
154 uint8_t typeOfService);
169 Ipv6Address remoteAddress,
170 Ipv6Address localAddress,
173 uint8_t typeOfService);
182 std::list<PacketFilter> m_filters;
183 uint8_t m_numFilters;
static Ptr< NrEpcTft > Default()
std::list< PacketFilter > GetPacketFilters() const
uint8_t Add(PacketFilter f)
bool Matches(Direction direction, Ipv4Address remoteAddress, Ipv4Address localAddress, uint16_t remotePort, uint16_t localPort, uint8_t typeOfService)
Direction direction
Whether the filter needs to be applied to uplink / downlink only, or in both cases.
Ipv6Prefix remoteIpv6Prefix
IPv6 address prefix of the remote host.
Ipv6Address remoteIpv6Address
IPv6 address of the remote host.
bool Matches(Direction d, Ipv4Address ra, Ipv4Address la, uint16_t rp, uint16_t lp, uint8_t tos)
uint16_t remotePortEnd
end of the port number range of the remote host
uint16_t localPortStart
start of the port number range of the UE
Ipv4Mask localMask
IPv4 address mask of the UE.
Ipv4Address remoteAddress
IPv4 address of the remote host.
Ipv6Address localIpv6Address
IPv6 address of the UE.
Ipv4Address localAddress
IPv4 address of the UE.
uint8_t typeOfServiceMask
type of service field mask
Ipv6Prefix localIpv6Prefix
IPv6 address prefix of the UE.
uint16_t remotePortStart
start of the port number range of the remote host
Ipv4Mask remoteMask
IPv4 address mask of the remote host.
uint8_t typeOfService
type of service field
uint16_t localPortEnd
end of the port number range of the UE