aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-08 09:31:56 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-08 09:31:56 +0100
commit2f46913d96f0a2b4107384c949d07f471f59df3e (patch)
tree331b33a4d84a4d4b23da617c5bec19201b9fc4e2 /ctrl
parent82372f5a24039e4fa964e8d247d836c867d4761a (diff)
[HICN-669] policy_t yet used in mac os 11
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I8d5d5c37eaab3f84a920f1753591fa4ab09f4799
Diffstat (limited to 'ctrl')
-rw-r--r--ctrl/libhicnctrl/includes/hicn/ctrl/api.h2
-rw-r--r--ctrl/libhicnctrl/includes/hicn/ctrl/commands.h4
2 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 bdb0c0a5f..f92b39ff3 100644
--- a/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
+++ b/ctrl/libhicnctrl/includes/hicn/ctrl/api.h
@@ -711,7 +711,7 @@ typedef struct {
int family; /* Krw */
ip_address_t remote_addr; /* krw */
u8 len; /* krw */
- policy_t policy; /* .rw */
+ hicn_policy_t policy; /* .rw */
} hc_policy_t;
int hc_policy_parse(void *in, hc_policy_t *policy);
diff --git a/ctrl/libhicnctrl/includes/hicn/ctrl/commands.h b/ctrl/libhicnctrl/includes/hicn/ctrl/commands.h
index d8e5329b3..3758f0f41 100644
--- a/ctrl/libhicnctrl/includes/hicn/ctrl/commands.h
+++ b/ctrl/libhicnctrl/includes/hicn/ctrl/commands.h
@@ -329,14 +329,14 @@ typedef struct {
ip_address_t address;
uint8_t addressType;
uint8_t len;
- policy_t policy;
+ hicn_policy_t policy;
} add_policy_command;
typedef struct {
ip_address_t address;
uint8_t addressType;
uint8_t len;
- policy_t policy;
+ hicn_policy_t policy;
} list_policies_command;
typedef struct {