diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-11-22 13:09:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-11-22 13:09:58 +0000 |
commit | 843fba473ff35d026a7c4d39aa269b06c55e1f91 (patch) | |
tree | 5748e42bc923d85cd15114409d2719a976d0106e /libtransport/src | |
parent | 4d593c09d9cc1496788f7953de25832193064103 (diff) | |
parent | 62f7b46d4c49d6e5bfb5b3b537bfcaf6503e7bac (diff) |
Merge "[HICN-405] Added application face delete"
Diffstat (limited to 'libtransport/src')
-rw-r--r-- | libtransport/src/hicn/transport/core/hicn_binary_api.c | 3 | ||||
-rw-r--r-- | libtransport/src/hicn/transport/core/hicn_binary_api.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/core/hicn_binary_api.c b/libtransport/src/hicn/transport/core/hicn_binary_api.c index 80ba11e75..7f63c9826 100644 --- a/libtransport/src/hicn/transport/core/hicn_binary_api.c +++ b/libtransport/src/hicn/transport/core/hicn_binary_api.c @@ -175,7 +175,8 @@ static void vl_api_hicn_api_register_cons_app_reply_t_handler( ip_address_decode(&mp->src_addr4, (ip46_address_t *)params->src4); ip_address_decode(&mp->src_addr6, (ip46_address_t *)params->src6); - params->face_id = clib_host_to_net_u32(mp->faceid); + params->face_id1 = clib_host_to_net_u32(mp->faceid1); + params->face_id2 = clib_host_to_net_u32(mp->faceid2); vpp_binary_api_unlock_waiting_thread(binary_api->vpp_api); } diff --git a/libtransport/src/hicn/transport/core/hicn_binary_api.h b/libtransport/src/hicn/transport/core/hicn_binary_api.h index 50590917f..323d22fea 100644 --- a/libtransport/src/hicn/transport/core/hicn_binary_api.h +++ b/libtransport/src/hicn/transport/core/hicn_binary_api.h @@ -47,7 +47,8 @@ typedef struct { typedef struct { ip_address_t* src4; ip_address_t* src6; - uint32_t face_id; + uint32_t face_id1; + uint32_t face_id2; } hicn_consumer_output_params; typedef struct { |