From 44525ac58d4a4b61d9a8e3f888ca3c6194b0a329 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Wed, 15 Jan 2020 11:02:40 +0100 Subject: [HICN-473] Add getter functions for face manager rule configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I04fd2f776d8fad7c2608e790b2b400a440bad8e0 Signed-off-by: Jordan Augé --- ctrl/facemgr/includes/hicn/facemgr/cfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ctrl/facemgr/includes/hicn/facemgr/cfg.h') 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); -- cgit 1.2.3-korg