2021-03-09 22:24:35 +00:00
|
|
|
#pragma once
|
|
|
|
#include <llarp/util/time.hpp>
|
2023-10-24 13:18:03 +00:00
|
|
|
#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
|
|
|
|
2020-04-07 18:38:56 +00:00
|
|
|
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
|
2021-06-03 17:33:00 +00:00
|
|
|
static constexpr auto DefaultLinkSessionLifetime = 5min;
|
2021-06-02 19:23:10 +00:00
|
|
|
constexpr size_t MaxSendQueueSize = 1024 * 16;
|
2021-04-04 11:30:46 +00:00
|
|
|
static constexpr auto LinkLayerConnectTimeout = 5s;
|
2022-07-09 15:05:52 +00:00
|
|
|
|
|
|
|
namespace llarp::constants
|
|
|
|
{
|
|
|
|
static constexpr auto DefaultInboundIWPPort = uint16_t{1090};
|
|
|
|
}
|