diff options
author | 2019-02-18 10:56:49 +0000 | |
---|---|---|
committer | 2019-02-18 10:56:49 +0000 | |
commit | 2fd90aea1831942cda49d6635e95c86d8e494966 (patch) | |
tree | d7182493aa06976f252a0bdce34228e39ee8d050 /libtransport/src/hicn/transport/core/raw_socket_interface.h | |
parent | 7465d7ee3fbae80d24342930ad78682a6e674bb9 (diff) | |
parent | 79e0d4f89c4d532189aae06cc5dfbc14e3269703 (diff) |
Merge "[HICN-50] Added udp application connector."
Diffstat (limited to 'libtransport/src/hicn/transport/core/raw_socket_interface.h')
-rw-r--r-- | libtransport/src/hicn/transport/core/raw_socket_interface.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/core/raw_socket_interface.h b/libtransport/src/hicn/transport/core/raw_socket_interface.h index c030af662..ac48e5874 100644 --- a/libtransport/src/hicn/transport/core/raw_socket_interface.h +++ b/libtransport/src/hicn/transport/core/raw_socket_interface.h @@ -41,6 +41,16 @@ class RawSocketInterface std::uint16_t getMtu() { return interface_mtu; } + TRANSPORT_ALWAYS_INLINE static bool isControlMessageImpl( + const uint8_t *message) { + return false; + } + + TRANSPORT_ALWAYS_INLINE void processControlMessageReplyImpl( + Packet::MemBufPtr &&packet_buffer) {} + + TRANSPORT_ALWAYS_INLINE void closeConnection(){}; + private: static constexpr std::uint16_t interface_mtu = 1500; std::string remote_mac_address_; |