aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/hicn/transport/core/hicn_binary_api.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-21 12:06:33 +0000
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-11-22 13:38:29 +0000
commitcdcfbfcf608035797b5ceaf6f7fefa77ce5cb27a (patch)
tree2a5298d0b08fa80668f8d52257559ac3ae9096c5 /libtransport/src/hicn/transport/core/hicn_binary_api.h
parent843fba473ff35d026a7c4d39aa269b06c55e1f91 (diff)
[HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com> Change-Id: I09268dc5ae2ad465b4a4f68607732c0d3f48e62e
Diffstat (limited to 'libtransport/src/hicn/transport/core/hicn_binary_api.h')
-rw-r--r--libtransport/src/hicn/transport/core/hicn_binary_api.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/core/hicn_binary_api.h b/libtransport/src/hicn/transport/core/hicn_binary_api.h
index 323d22fea..11543da19 100644
--- a/libtransport/src/hicn/transport/core/hicn_binary_api.h
+++ b/libtransport/src/hicn/transport/core/hicn_binary_api.h
@@ -39,6 +39,10 @@ typedef struct {
} hicn_consumer_input_params;
typedef struct {
+ uint32_t face_id;
+} hicn_del_face_app_input_params;
+
+typedef struct {
uint32_t cs_reserved;
ip_address_t* prod_addr;
uint32_t face_id;
@@ -69,6 +73,12 @@ int hicn_binary_api_register_cons_app(
int hicn_binary_api_register_route(
vpp_plugin_binary_api_t* api, hicn_producer_set_route_params* input_params);
+int hicn_binary_api_face_cons_del(
+ vpp_plugin_binary_api_t *api, hicn_del_face_app_input_params *input_params);
+
+int hicn_binary_api_face_prod_del(
+ vpp_plugin_binary_api_t *api, hicn_del_face_app_input_params *input_params);
+
char* hicn_binary_api_get_error_string(int ret_val);
#ifdef __cplusplus