From 47ee0c6a73fd0f1afde195baa6f0c1bcf0945d2a Mon Sep 17 00:00:00 2001
From: Alexander Stephan <alexander.stephan@sap.com>
Date: Mon, 28 Aug 2023 14:20:49 +0200
Subject: [PATCH 2/2] Extend docs of fc_pp_tlv with constants

---
 doc/configuration.txt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/doc/configuration.txt b/doc/configuration.txt
index 18b00cc6f..bac8adcc2 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -20132,8 +20132,14 @@ fc_pp_unique_id : string
   if any.
 
 fc_pp_tlv(<tlv>) : string
-  Returns the TLV value for the given TLV ID which must be a numeric
-  value between 0 and 255.
+  Returns the TLV value for the given TLV ID. The ID must either be a numeric
+  value between 0 and 255 or one of the following supported symbolic names
+  that correspond to the TLV constant suffixes in the PPv2 spec:
+  ALPN: PP2_TYPE_ALPN, AUTHORITY: PP2_TYPE_AUTHORITY, CRC32: PP2_TYPE_CRC32C,
+  NOOP: PP2_TYPE_NOOP, UNIQUE_ID: UNIQUE_ID PP2_TYPE_UNIQUE_ID, SSL: PP2_TYPE_SSL,
+  SSL_VERSION: PP2_SUBTYPE_SSL_VERSION, SSL_CN: PP2_SUBTYPE_SSL_CN,
+  SSL_CIPHER: PP2_SUBTYPE_SSL_CIPHER, SSL_SIG_ALG: PP2_SUBTYPE_SSL_SIG_ALG,
+  SSL_KEY_ALG: PP2_SUBTYPE_SSL_KEY_ALG, NETNS: PP2_TYPE_NETNS
 
   The received value must be smaller or equal to 1024 Bytes. This is done to
   prevent potential DoS attacks. Values smaller or equal to 256 Byte will be
-- 
2.35.3

