From 0e98ba7a3100268e656fe5e3a21783a5ab6daa53 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 6 Mar 2019 10:48:06 +0100 Subject: [HICN-92] Fix byte order mismatch in create listener command Change-Id: I750b9840543cf53e0d96bd71a0765bd6345013cb Signed-off-by: Mauro Sardara --- hicn-light/src/config/configurationListeners.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hicn-light/src/config/configurationListeners.h') 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); -- cgit 1.2.3-korg