P4G_TLS_STATE_CURRENT

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

Description

Returns a list of the current TLS state counters. The counters returned corresponds the the following TLS states:
  • TLS_INACTIVE

  • TLS_HANDSHAKING

  • TLS_HANDSHAKE_DONE

  • TLS_HANDSHAKE_FAILED

  • TLS_FAILED

  • TLS_INTERNAL_FAILED

  • TLS_CLOSE_NOTIFY

  • TLS_DONE

Actions

get

Parameters

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

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

tls_inactive: long integer, a list of the current TLS state counters

tls_handshaking: long integer, a list of the current TLS state counters

tls_handshake_done: long integer, a list of the current TLS state counters

tls_handshake_failed: long integer, a list of the current TLS state counters

tls_failed: long integer, a list of the current TLS state counters

tls_internal_failed: long integer, a list of the current TLS state counters

tls_close_notify: long integer, a list of the current TLS state counters

tls_done: long integer, a list of the current TLS state counters

Example

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