From 94350c13fe983a7cfb99dafecb0d029ed58361bf Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Wed, 27 Nov 2019 09:05:39 +0100 Subject: [HICN-420] MAP-Me code refactoring & face manager changes in support of mobility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifde50b4c161d1bda1326f18b705f575e539aea71 Signed-off-by: Jordan Augé --- hicn-light/src/hicn/core/mapme.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'hicn-light/src/hicn/core/mapme.h') diff --git a/hicn-light/src/hicn/core/mapme.h b/hicn-light/src/hicn/core/mapme.h index 5888ccd21..81977ab2e 100644 --- a/hicn-light/src/hicn/core/mapme.h +++ b/hicn-light/src/hicn/core/mapme.h @@ -68,6 +68,14 @@ bool mapme_isMapMe(const uint8_t *msgBuffer); void mapme_Process(const MapMe *mapme, const uint8_t *msgBuffer, unsigned conn_id); +/** + * @function mapme_reconsiderFibEntry + * @abstract Process a fib entry for changes that might trigger new updates + * @param [in] mapme - Pointer to the MAP-Me data structure. + * @param [in] fibEntry - The FIB entry to consider + */ +void mapme_reconsiderFibEntry(const MapMe *mapme, FibEntry * fibEntry); + /** * @function mapme_onConnectionEvent * @abstract Callback following the addition of the face though the control @@ -79,14 +87,6 @@ void mapme_Process(const MapMe *mapme, const uint8_t *msgBuffer, */ void mapme_onConnectionEvent(const MapMe *mapme, const Connection *conn, connection_event_t event); -#ifdef WITH_POLICY - -/** - * @function mapme_onPolicyUpdate - */ -void mapme_onPolicyUpdate(const MapMe *mapme, const Connection *conn_added, FibEntry * fibEntry); -#endif /* WITH_POLICY */ - /** * @function mapme_getNextHops * @abstract return the nexthops to forward interests defined by mapme, it -- cgit 1.2.3-korg