P4G_RAW_CONN_LIFETIME
# set
<module-index>/<port-index> P4G_RAW_CONN_LIFETIME [<group_index>] <timescale> <lifetime>
# get
<module-index>/<port-index> P4G_RAW_CONN_LIFETIME [<group_index>] ?
Description
Defines the lifetime of a connection, when P4G_RAW_CONN_INCARNATION` is set to IMMORTAL or REINCARNATE.
Actions
set, get
Parameters
timescale: byte, specifying the time scaleMSECS = 0SECONDS = 1MINUTES = 2HOURS = 3
lifetime: integer, time from a connection is established until it will be closed.
Example
# set
input: 0/1 P4G_RAW_CONN_LIFETIME [0] MSECS 1
output: <OK>
# get
input: 0/1 P4G_RAW_CONN_LIFETIME [0] ?
output: 0/1 P4G_RAW_CONN_LIFETIME [0] MSECS 1