lokinet/llarp/constants/link_layer.hpp

16 lines
392 B
C++
Raw Normal View History

#pragma once
#include <llarp/util/time.hpp>
#include <llarp/util/types.hpp>
2018-12-12 01:32:10 +00:00
2019-07-30 23:42:13 +00:00
#include <cstdlib>
2018-12-12 01:32:10 +00:00
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
static constexpr auto DefaultLinkSessionLifetime = 5min;
constexpr size_t MaxSendQueueSize = 1024 * 16;
static constexpr auto LinkLayerConnectTimeout = 5s;
namespace llarp::constants
{
static constexpr auto DefaultInboundIWPPort = uint16_t{1090};
}