_TCPUDP_FILTER

struct _TCPUDP_FILTER
{
    unsigned long   m_ValidFields;
    PORT_RANGE      m_SourcePort;
    PORT_RANGE      m_DestPort;
    unsigned char   m_TCPFlags;
    unsigned char   Padding[3];
};

m_ValidFields
Specifies which of the fields below contain valid values and should be matched against the packet. Must be a combination of the following flags: TCPUDP_SRC_PORT, TCPUDP_DEST_PORT, TCPUDP_TCP_FLAGS.

m_SourcePort
Source TCP/UDP port

m_DestPort
Destination TCP/UDP port

m_TCPFlags
Combination of TCP flags

Padding[3]
Structure alignment padding (24-bit) to ensure 32-bit boundary alignment.