_TRANSPORT_LAYER_FILTER

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_TcpUdp is active for TCP and UDP port filtering.
  • ICMP (0x00000002): m_Icmp is 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.

See Also

_TCPUDP_FILTER, _ICMP_FILTER, _STATIC_FILTER