IS_PORT(port_name);
(Returns TRUE if event that caused current activity
flow arrived through port port_name)
Examples:
if (IS_PORT(port_2))…
(Test to see if event that caused current activity
flow arrived through port_2, result is TRUE if yes, FALSE if no.)