diff options
author | Giovanni Conte <gconte@cisco.com> | 2019-01-28 15:08:16 +0100 |
---|---|---|
committer | Giovanni Conte <gconte@cisco.com> | 2019-01-29 09:30:37 +0000 |
commit | 07db19960166bd7241836b858ecf41420dafc63e (patch) | |
tree | 701705407796d61f7400456d12012a5ce0697dbe /hicn-light/src/core | |
parent | 015dd3fa693039acd08171e8a8d27b3776670a41 (diff) |
[HICN-16] File Descriptors fixes for list commands
Change-Id: I052013d0d8c6c2bd4b7631c68065bca91024646b
Signed-off-by: Giovanni Conte <gconte@cisco.com>
Diffstat (limited to 'hicn-light/src/core')
-rwxr-xr-x | hicn-light/src/core/forwarder.c | 2 | ||||
-rwxr-xr-x | hicn-light/src/core/forwarder.h | 2 | ||||
-rwxr-xr-x | hicn-light/src/core/messageHandler.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/hicn-light/src/core/forwarder.c b/hicn-light/src/core/forwarder.c index cb94af3b5..e84351365 100755 --- a/hicn-light/src/core/forwarder.c +++ b/hicn-light/src/core/forwarder.c @@ -439,7 +439,7 @@ PARCClock *forwarder_GetClock(const Forwarder *forwarder) { return forwarder->clock; } -hicn_socket_helper_t *forwarder_GetHIcnSocketHelper(Forwarder *forwarder) { +hicn_socket_helper_t *forwarder_GetHicnSocketHelper(Forwarder *forwarder) { return forwarder->hicnSocketHelper; } diff --git a/hicn-light/src/core/forwarder.h b/hicn-light/src/core/forwarder.h index ad3f9756b..e044add3b 100755 --- a/hicn-light/src/core/forwarder.h +++ b/hicn-light/src/core/forwarder.h @@ -240,7 +240,7 @@ void forwarder_ClearCache(Forwarder *forwarder); void forwarder_SetStrategy(Forwarder *forwarder, Name *prefix, strategy_type strategy); -hicn_socket_helper_t *forwarder_GetHIcnSocketHelper(Forwarder *forwarder); +hicn_socket_helper_t *forwarder_GetHicnSocketHelper(Forwarder *forwarder); #ifdef WITH_MAPME diff --git a/hicn-light/src/core/messageHandler.h b/hicn-light/src/core/messageHandler.h index d63656461..cf8ab3672 100755 --- a/hicn-light/src/core/messageHandler.h +++ b/hicn-light/src/core/messageHandler.h @@ -145,7 +145,7 @@ static inline size_t messageHandler_GetIPHeaderLength(unsigned ipVersion) { return 0; } -static inline bool messageHandler_IsValidHIcnPacket(const uint8_t *message) { +static inline bool messageHandler_IsValidHicnPacket(const uint8_t *message) { uint8_t version = messageHandler_GetIPPacketType(message); if (version == IPv6_TYPE || version == IPv4_TYPE) { return true; |