summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/config/configurationListeners.h
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2019-03-06 12:15:54 +0000
committerGerrit Code Review <gerrit@fd.io>2019-03-06 12:15:54 +0000
commitef3b8c5835ee7d4504640fd18b9a91ce76ec62a0 (patch)
treed48367435b73a8eb610cc33d3204128b947684a0 /hicn-light/src/config/configurationListeners.h
parenta435416b8a68f0e9a48eaa6a7b1c8b0c909a537a (diff)
parent0e98ba7a3100268e656fe5e3a21783a5ab6daa53 (diff)
Merge "[HICN-92] Fix byte order mismatch in create listener command"
Diffstat (limited to 'hicn-light/src/config/configurationListeners.h')
-rw-r--r--hicn-light/src/config/configurationListeners.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hicn-light/src/config/configurationListeners.h b/hicn-light/src/config/configurationListeners.h
index c97617d81..25d40e27e 100644
--- a/hicn-light/src/config/configurationListeners.h
+++ b/hicn-light/src/config/configurationListeners.h
@@ -54,6 +54,15 @@ bool configurationListeners_Remove(const Configuration *config);
// light functions
+/**
+ * Add new listener.
+ *
+ * @param request The request coming from hicnLightControl or the
+ * configuration file. The bytes in the request are
+ * ordered following the network byte order convention.
+ *
+ * @param ingressId The connection id of the incoming request.
+ */
struct iovec *configurationListeners_Add(Configuration *config,
struct iovec *request,
unsigned ingressId);