aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-01-09 16:12:12 +0100
committerJordan Augé <jordan.auge+fdio@cisco.com>2020-01-09 16:13:51 +0100
commit89aeb9da4fb12502214ba7bf81c098586d5ec7ba (patch)
treed6b7d79916050953865154bd121d521297ddd24e /ctrl/libhicnctrl/includes/hicn/ctrl/api.h
parent00078ca97880ac0ccd5cc70954248dbdcd8e48e1 (diff)
[HICN-470] Fix wrong type for face_id_t in libhicnctrl
Change-Id: If345ba102971b0a718e7ac40f9d68a9e9dd9bd06 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/libhicnctrl/includes/hicn/ctrl/api.h')
-rw-r--r--ctrl/libhicnctrl/includes/hicn/ctrl/api.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctrl/libhicnctrl/includes/hicn/ctrl/api.h b/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
index e7cd39ebf..c1eccbd17 100644
--- a/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
+++ b/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
@@ -554,7 +554,7 @@ int hc_connection_snprintf(char *s, size_t size,
*----------------------------------------------------------------------------*/
typedef struct {
- u8 id;
+ face_id_t id;
char name[SYMBOLIC_NAME_LEN];
face_t face; // or embed ?
// face_id_t parent; /* Pointer from connection to listener */
@@ -598,7 +598,7 @@ int hc_face_snprintf(char *s, size_t size, hc_face_t *face);
*----------------------------------------------------------------------------*/
typedef struct {
- u8 face_id; /* Kr. */
+ face_id_t face_id; /* Kr. */
int family; /* Krw */
ip_address_t remote_addr; /* krw */
u8 len; /* krw */
@@ -630,7 +630,7 @@ int hc_route_snprintf(char *s, size_t size, hc_route_t *route);
*----------------------------------------------------------------------------*/
typedef struct {
- u8 face_id; /* Kr. */ // XXX listener id, could be NULL for all ?
+ face_id_t face_id; /* Kr. */ // XXX listener id, could be NULL for all ?
int family; /* Krw */
ip_address_t prefix; /* krw */
u8 prefix_len; /* krw */