diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-11-25 08:53:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-11-25 08:53:19 +0000 |
commit | 4bdc720d1a7d13f19eae6ba7e14b00cbfbd37ce0 (patch) | |
tree | e4ee6c80a9478b9e984747f4fa041a225afd557d /libtransport/src/hicn/transport/core/hicn_binary_api.h | |
parent | 93b0b7a95922defa19951dde01b1dce4047bb0e7 (diff) | |
parent | cdcfbfcf608035797b5ceaf6f7fefa77ce5cb27a (diff) |
Merge "[HICN-406] Adding face deletion on the hicn-plugin when the corresponding socket is destroyed"
Diffstat (limited to 'libtransport/src/hicn/transport/core/hicn_binary_api.h')
-rw-r--r-- | libtransport/src/hicn/transport/core/hicn_binary_api.h | 10 |
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 |