aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/hicn.api
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-03-12 23:02:45 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-03-12 23:02:45 +0100
commit313bb0b97465eae2730cbb17ed6fe8edfe1a2329 (patch)
tree9f29aaa0797871849dc609b5f9aeaff2e829f05b /hicn-plugin/src/hicn.api
parent982ef728639113069db6af0b7869afc457853a9b (diff)
[HICN-109] Added missing parameter to the face ip add binary api.
Added check if the swif exists on the face ip binary api, before calling the internal api to add the face. Change-Id: I6e23d20290755707194bc86c93baee8932a03c40 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/hicn.api')
-rw-r--r--hicn-plugin/src/hicn.api10
1 files changed, 8 insertions, 2 deletions
diff --git a/hicn-plugin/src/hicn.api b/hicn-plugin/src/hicn.api
index a6be15a92..46ce177ea 100644
--- a/hicn-plugin/src/hicn.api
+++ b/hicn-plugin/src/hicn.api
@@ -169,7 +169,10 @@ define hicn_api_face_ip_add
u32 context;
/* IP local address */
- u64 nh_addr[2];
+ u64 local_addr[2];
+
+ /* IP remote address */
+ u64 remote_addr[2];
/* IPv4 local port number */
u32 swif;
@@ -229,7 +232,10 @@ define hicn_api_face_ip_params_get_reply
i32 retval;
/* IP local address */
- u64 nh_addr[2];
+ u64 local_addr[2];
+
+ /* IP remote address */
+ u64 remote_addr[2];
/* VPP interface (index) associated with the face */
u32 swif;