llarp::constants

Attributes

Name
constexpr auto DefaultInboundIWPPort
constexpr auto udp_header_bytes
constexpr auto ip_header_min_bytes
constexpr auto proto_version
current network wide protocol version
constexpr size_t encrypted_frame_overhead_size
constexpr size_t service_proto_message_max_size
constexpr size_t service_proto_frame_max_size
constexpr size_t service_proto_message_overhead
constexpr size_t routing_message_max_size

Attributes Documentation

variable DefaultInboundIWPPort

static constexpr auto DefaultInboundIWPPort = uint16_t{1090};

variable udp_header_bytes

constexpr auto udp_header_bytes = 8;

variable ip_header_min_bytes

constexpr auto ip_header_min_bytes = 20;

variable proto_version

constexpr auto proto_version = 0;

current network wide protocol version

variable encrypted_frame_overhead_size

constexpr size_t encrypted_frame_overhead_size = PUBKEYSIZE + TUNNONCESIZE + SHORTHASHSIZE;

variable service_proto_message_max_size

constexpr size_t service_proto_message_max_size = 2048;

variable service_proto_frame_max_size

constexpr size_t service_proto_frame_max_size = service_proto_message_max_size * 2;

variable service_proto_message_overhead

constexpr size_t service_proto_message_overhead = 128 + 24 + encrypted_frame_overhead_size;

variable routing_message_max_size

constexpr size_t routing_message_max_size =
      (MAX_LINK_MSG_SIZE - 128) - encrypted_frame_overhead_size;

Updated on 2026-04-01 at 23:35:39 +0000