From 32dccec98e4c7d7e4ce902e19ba8d1b29b823758 Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Wed, 23 Sep 2020 17:50:52 +0200 Subject: [HICN-570] Message buffer (incl. CS and PIT changes) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4c508e4b04dee3acbfc3da1d26e1770cb826f22b Signed-off-by: Jordan Augé --- hicn-light/src/hicn/core/mapme.h | 14 ++++++-------- 1 file changed, 6 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 2bf5a413b..d1d21079f 100644 --- a/hicn-light/src/hicn/core/mapme.h +++ b/hicn-light/src/hicn/core/mapme.h @@ -27,9 +27,11 @@ #include #include -#include -#include -#include + +#include "connection.h" +#include "fib_entry.h" +#include "msgbuf.h" +#include "../utils/commands.h" typedef struct mapme_s mapme_t; @@ -64,7 +66,7 @@ bool mapme_match_packet(const uint8_t *msgBuffer); * @param [in] message - MAP-Me buffer * @param [in] conn_id - Ingress connection id */ -void mapme_process(mapme_t *mapme, uint8_t * packet, unsigned conn_id); +void mapme_process(mapme_t *mapme, msgbuf_t * msgbuf); int mapme_send_to_nexthop(const mapme_t * mapme, fib_entry_t * fib_entry, unsigned nexthop); @@ -117,10 +119,6 @@ void mapme_on_connection_event(const mapme_t *mapme, const connection_t * conn, nexthops_t * mapme_get_nexthops(const mapme_t *mapme, fib_entry_t *fib_entry, const msgbuf_t *interest); -hicn_mapme_type_t mapme_PktType_To_LibHicnPktType(MessagePacketType type); - -MessagePacketType mapme_LibHicnPktType_To_PktType(hicn_mapme_type_t type); - #endif /* WITH_MAPME */ #endif // mapme_h -- cgit 1.2.3-korg