_TCPUDP_FILTER

struct _TCPUDP_FILTER
{
 	unsigned long  	m_ValidFields; 
 	PORT_RANGE  	m_SourcePort; 
 	PORT_RANGE  	m_DestPort;  
	unsigned char  	m_TCPFlags;  
};

m_ValidFields
Specifies which of the fileds 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