struct _TRANSPORT_LAYER_FILTER
{
unsigned long m_dwUnionSelector;
union
{
TCPUDP_FILTER m_TcpUdp;
ICMP_FILTER m_Icmp;
};
};
The _TRANSPORT_LAYER_FILTER structure represents the transport layer (OSI Layer 4) filtering configuration within a STATIC_FILTER.
m_dwUnionSelector
Specifies which transport protocol is active in the union:
TCPUDP(0x00000001):m_TcpUdpis active for TCP and UDP port filtering.ICMP(0x00000002):m_Icmpis active for ICMP type and code filtering.
m_TcpUdp
A TCPUDP_FILTER structure defining source and destination port ranges.
m_Icmp
An ICMP_FILTER structure defining ICMP message type and code ranges.