diff options
author | michele papalini <micpapal@cisco.com> | 2020-01-09 14:55:32 +0100 |
---|---|---|
committer | michele papalini <micpapal@cisco.com> | 2020-01-09 17:23:36 +0100 |
commit | e4eca848c8d95f48652096284fd8e2752ed1a316 (patch) | |
tree | 8c229e9c852aff110ae961c82117bf8c2b825c63 /hicn-light/src/hicn/config/controlState.h | |
parent | 41e72f60c2da1586d5330365f065e8908e3b9b07 (diff) |
[HICN-469] execute hicn-light-control from remote
Signed-off-by: michele papalini <micpapal@cisco.com>
Change-Id: I2a23a5f7648614213b83e2409e2ff3784b083758
Signed-off-by: michele papalini <micpapal@cisco.com>
Diffstat (limited to 'hicn-light/src/hicn/config/controlState.h')
-rw-r--r-- | hicn-light/src/hicn/config/controlState.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hicn-light/src/hicn/config/controlState.h b/hicn-light/src/hicn/config/controlState.h index 25542657f..cc38cbe37 100644 --- a/hicn-light/src/hicn/config/controlState.h +++ b/hicn-light/src/hicn/config/controlState.h @@ -32,6 +32,9 @@ #include <hicn/utils/commands.h> +#define SRV_CTRL_IP "127.0.0.1" +#define SRV_CTRL_PORT 9695 + struct controller_state; typedef struct controller_state ControlState; @@ -59,7 +62,8 @@ typedef struct controller_state ControlState; ControlState *controlState_Create( void *userdata, struct iovec *(*writeRead)(ControlState *state, struct iovec *msg), - bool openControllerConnetion); + bool openControllerConnetion, + char * server_ip, uint16_t port); /** * Destroys the control state, closing all network connections |