From cdcfbfcf608035797b5ceaf6f7fefa77ce5cb27a Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 21 Nov 2019 12:06:33 +0000 Subject: [HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed Signed-off-by: Alberto Compagno Change-Id: I09268dc5ae2ad465b4a4f68607732c0d3f48e62e --- libtransport/src/hicn/transport/core/hicn_binary_api.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libtransport/src/hicn/transport/core/hicn_binary_api.h') 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 @@ -38,6 +38,10 @@ typedef struct { uint32_t swif; } 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; @@ -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 -- cgit 1.2.3-korg