aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/facemgr/includes/hicn/facemgr/cfg.h
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2020-01-15 11:02:40 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2020-01-15 11:50:02 +0000
commit44525ac58d4a4b61d9a8e3f888ca3c6194b0a329 (patch)
tree7e1f7b5c669a7f089a3c6834b6edf5b069995092 /ctrl/facemgr/includes/hicn/facemgr/cfg.h
parent78cba0aa6d51f9754cca59d3ddc31ba5e7286533 (diff)
[HICN-473] Add getter functions for face manager rule configuration
Change-Id: I04fd2f776d8fad7c2608e790b2b400a440bad8e0 Signed-off-by: Jordan Augé <jordan.auge+fdio@cisco.com>
Diffstat (limited to 'ctrl/facemgr/includes/hicn/facemgr/cfg.h')
-rw-r--r--ctrl/facemgr/includes/hicn/facemgr/cfg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctrl/facemgr/includes/hicn/facemgr/cfg.h b/ctrl/facemgr/includes/hicn/facemgr/cfg.h
index 797104836..84d63fe73 100644
--- a/ctrl/facemgr/includes/hicn/facemgr/cfg.h
+++ b/ctrl/facemgr/includes/hicn/facemgr/cfg.h
@@ -139,6 +139,8 @@ int facemgr_cfg_get_overlay_remote_port(const facemgr_cfg_t * cfg,
const netdevice_t * netdevice, netdevice_type_t netdevice_type,
int family, u16 * port);
+int facemgr_cfg_rule_get(const facemgr_cfg_t * cfg, const netdevice_t netdevice,
+ netdevice_type_t netdevice_type, facemgr_cfg_rule_t ** rule);
int facemgr_cfg_rule_get_face_type(const facemgr_cfg_rule_t * cfg_rule, facemgr_face_type_t * face_type);
int facemgr_cfg_rule_get_discovery(const facemgr_cfg_rule_t * cfg_rule, bool * status);
int facemgr_cfg_rule_get_ignore(const facemgr_cfg_rule_t * cfg_rule, bool * status);