29 #include <hicn/hicn.h>
30 #include <hicn/core/forwarder.h>
32 #include <hicn/utils/commands.h>
35 typedef struct mapme MapMe;
42 bool mapme_create(MapMe **mapme, Forwarder *Forwarder);
48 void mapme_free(MapMe *mapme);
59 bool mapme_isMapMe(
const uint8_t *msgBuffer);
68 void mapme_Process(
const MapMe *mapme,
const uint8_t *msgBuffer,
79 void mapme_send_updates(
const MapMe * mapme, FibEntry * fibEntry,
const NumberSet * nexthops);
89 void mapme_maybe_send_updates(
const MapMe * mapme, FibEntry * fibEntry,
const NumberSet * nexthops);
97 void mapme_reconsiderFibEntry(
const MapMe *mapme, FibEntry * fibEntry);
108 void mapme_onConnectionEvent(
const MapMe *mapme,
const Connection *conn, connection_event_t event);
115 NumberSet *mapme_getNextHops(
const MapMe *mapme, FibEntry *fibEntry,
116 const Message *interest);