From 9cc9785cef0a8abf3fa09de1f5da4dd52133be39 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Mon, 15 Jan 2018 12:57:16 +0100 Subject: [PATCH] tcpops: documentation for tcp_get_conid() --- src/modules/tcpops/doc/functions.xml | 35 ++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/modules/tcpops/doc/functions.xml b/src/modules/tcpops/doc/functions.xml index 9f516687874..baff1bcf13c 100644 --- a/src/modules/tcpops/doc/functions.xml +++ b/src/modules/tcpops/doc/functions.xml @@ -259,4 +259,39 @@ event_route[tcp:closed] { ]]> +
+ + <function>tcp_get_conid(hostport, pvname)</function> + + + Get the connection id based on target host:port. The connection id + is set in the variable named by pvname parameter. + + Meaning of the parameters is as follows: + + + hostport - target "host:port" address, + the port can be ommited (default to 5060) and the parameter can + contain variables. + + + + pvname - target variable name. + + + + Return values: + 1: connection was found + -1: connection was not found or an error occured + + <function>tcp_get_conid</function> usage + + +