MINOR: listener: rename sample fetch functions and declare the sample keywords
The following sample fetch functions were only usable by ACLs but are now
usable by sample fetches too :
dst_conn, so_id,
The fetch functions have been renamed "smp_fetch_*".
diff --git a/doc/configuration.txt b/doc/configuration.txt
index 6355753..aef2a2c 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -9630,6 +9630,13 @@
On IPv6 tables, IPv4 address is mapped to its IPv6 equivalent,
according to RFC 4291.
+ dst_conn
+ Returns an integer value corresponding to the number of
+ currently established connections on the same socket including
+ the one being evaluated. It is normally used with ACLs but can
+ as well be used to pass the information to servers in an HTTP
+ header or in logs. See also "fe_conn" and "dst_conn".
+
dst_port This is the destination TCP port of the session on the client
side, which is the port the client connected to. This might be
used when running in transparent mode or when assigning dynamic
@@ -9787,6 +9794,8 @@
See also : "appsession"
+ so_id Returns an integer containing the listening socket's id.
+
src This is the source IPv4 address of the client of the session.
It is of type IPv4 and works on both IPv4 and IPv6 tables.
On IPv6 tables, IPv4 address is mapped to its IPv6 equivalent,