diff options
author | Michele Papalini <micpapal@cisco.com> | 2020-01-21 16:48:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-01-21 16:48:00 +0000 |
commit | bf366088b56e7f2e793e7026d9c655e26fe4a67a (patch) | |
tree | 8ffbec1e68088a2c6b0441f9f4db340be2f4f264 /hicn-light/src/hicn/core/mapme.h | |
parent | 50bedb707155de675121a556a8b129280440cdf5 (diff) | |
parent | 67c757c4d22a9983d4a87a4ce2476d00c464fc72 (diff) |
Merge "[HICN-481] Add APIs to trigger MAP-Me updates"
Diffstat (limited to 'hicn-light/src/hicn/core/mapme.h')
-rw-r--r-- | hicn-light/src/hicn/core/mapme.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/core/mapme.h b/hicn-light/src/hicn/core/mapme.h index 81977ab2e..503b22568 100644 --- a/hicn-light/src/hicn/core/mapme.h +++ b/hicn-light/src/hicn/core/mapme.h @@ -69,6 +69,16 @@ void mapme_Process(const MapMe *mapme, const uint8_t *msgBuffer, unsigned conn_id); /** + * @function mapme_send_updates + * @abstract Trigger the update for specified FIB entry and nexthops + * @param [in] mapme - Pointer to the MAP-Me data structure. + * @param [in] fibEntry - The FIB entry to consider + * @param [in] nexthops - NumberSet holding the next hops on which to send the + * update. + */ +void mapme_send_updates(const MapMe * mapme, FibEntry * fibEntry, const NumberSet * nexthops); + +/** * @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. |