diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-01-09 16:50:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-01-09 16:50:47 +0000 |
commit | 7cb4fd8a1206f1f288aefae09caace2abd0991ca (patch) | |
tree | 775627b18a82038a1143548a415d33289da7b859 /hicn-light/src/hicn/config/controlState.h | |
parent | 3884838d8a88bf9d9d5873fea40361459846d663 (diff) | |
parent | e4eca848c8d95f48652096284fd8e2752ed1a316 (diff) |
Merge "[HICN-469] execute hicn-light-control from remote"
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 |