PORT_PAIR_T

provides operations for the TCP/UDP src/dst port

Direct expressions

EQ (num_at i)

Returns Boolean TRUE if either source port or destination port is same as the argument.
Example : CONNECTION.PORT.EQ(80)

Parameters (expressions not allowed):

            i- Port Number

Returns: bool_at

NE (num_at i)

Returns Boolean TRUE if the source port and destination port are not same as the argument.
Example : CONNECTION.PORT.NE(80)

Parameters (expressions not allowed):

            i- Port Number

Returns: bool_at