INtime SDK Help
HPE_2TUPLE_FILTER structure

2-tuple filter definition.

typedef struct  {
    BYTE ip_proto; 
    WORD port;   
    BYTE tcp_control;         // TCP control bits bit0:URG bit1:ACK bit2:PSH 
                              // bit3:RST bit4:SYN bit5:FIN
    WORD size_threshhold;     // packets = this size.  0 to ignore
    BYTE priority;            // filter priority 0(high)…7(lowest)
} HPE_2TUPLE_FILTER;

Fields

ip_proto
IP protocol TCP (0x06), UDP (0x11).
port
UDP or TCP port. Set to 0 to ignore.
tcp_control
TCP control bits
bit0:URG bit1:ACK bit2:PSH bit3:RST bit4:SYN bit5:FIN
size_threshhold
FIlters packets <= this size. Set to 0 to ignore.
priority
Filter priority 0(high)…7(lowest)

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also