P4G_UDP_STATE_CURRENT#

# get
<module-index>/<port-index> P4G_UDP_STATE_CURRENT [<group_index>] ?

Description#

Returns a list of the current UDP state counters. The counters returned corresponds the the following UDP states:
  • CLOSED: The connection structure has been created, but has not been ‘ramped up’ yet.

  • OPEN: The connection has been ‘ramped up’, and is ready to transmit or receive data.

  • ACTIVE: The connection is actively transmitting data.

Actions#

get

Parameters#

current_time: long integer, a list of the current UDP state counters

ref_time: long integer, a list of the current UDP state counters

closed: long integer, a list of the current UDP state counters

opened: long integer, a list of the current UDP state counters

active: long integer, a list of the current UDP state counters

Example#

# get
input:  0/1 P4G_UDP_STATE_CURRENT [0] ?
output: 0/1 P4G_UDP_STATE_CURRENT [0] 123456789123 123456789123 123456789123 123456789123 123456789123