mirror of https://github.com/oxen-io/lokinet
Move link* to llarp/
parent
7a52638add
commit
c0a76714fa
@ -1,7 +0,0 @@
|
|||||||
#ifndef LLARP_LINK_LAYER_HPP
|
|
||||||
#define LLARP_LINK_LAYER_HPP
|
|
||||||
#include <llarp/link/server.hpp>
|
|
||||||
#include <llarp/link/session.hpp>
|
|
||||||
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
|
|
||||||
constexpr llarp_time_t DefaultLinkSessionLifetime = 10 * 1000;
|
|
||||||
#endif
|
|
@ -1,10 +1,13 @@
|
|||||||
#ifndef LLARP_LINK_CURVECP_HPP
|
#ifndef LLARP_LINK_CURVECP_HPP
|
||||||
#define LLARP_LINK_CURVECP_HPP
|
#define LLARP_LINK_CURVECP_HPP
|
||||||
|
|
||||||
#include <llarp/link_layer.hpp>
|
#include <memory>
|
||||||
|
|
||||||
namespace llarp
|
namespace llarp
|
||||||
{
|
{
|
||||||
|
struct ILinkLayer;
|
||||||
|
struct Router;
|
||||||
|
|
||||||
namespace curvecp
|
namespace curvecp
|
||||||
{
|
{
|
||||||
std::unique_ptr< ILinkLayer >
|
std::unique_ptr< ILinkLayer >
|
@ -1,14 +1,15 @@
|
|||||||
#ifndef LLARP_LINK_SERVER_HPP
|
#ifndef LLARP_LINK_SERVER_HPP
|
||||||
#define LLARP_LINK_SERVER_HPP
|
#define LLARP_LINK_SERVER_HPP
|
||||||
#include <unordered_map>
|
|
||||||
#include <llarp/threading.hpp>
|
|
||||||
#include <llarp/router_contact.hpp>
|
|
||||||
#include <crypto.hpp>
|
#include <crypto.hpp>
|
||||||
#include <llarp/net.hpp>
|
#include <link/session.hpp>
|
||||||
#include <llarp/ev.h>
|
#include <llarp/ev.h>
|
||||||
#include <llarp/link/session.hpp>
|
|
||||||
#include <llarp/logic.hpp>
|
#include <llarp/logic.hpp>
|
||||||
|
#include <llarp/net.hpp>
|
||||||
|
#include <llarp/router_contact.hpp>
|
||||||
|
#include <llarp/threading.hpp>
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
#include <unordered_map>
|
||||||
|
|
||||||
namespace llarp
|
namespace llarp
|
||||||
{
|
{
|
@ -1,10 +1,13 @@
|
|||||||
#ifndef LLARP_LINK_UTP_HPP
|
#ifndef LLARP_LINK_UTP_HPP
|
||||||
#define LLARP_LINK_UTP_HPP
|
#define LLARP_LINK_UTP_HPP
|
||||||
|
|
||||||
#include <llarp/link_layer.hpp>
|
#include <memory>
|
||||||
|
|
||||||
namespace llarp
|
namespace llarp
|
||||||
{
|
{
|
||||||
|
struct ILinkLayer;
|
||||||
|
struct Router;
|
||||||
|
|
||||||
namespace utp
|
namespace utp
|
||||||
{
|
{
|
||||||
std::unique_ptr< ILinkLayer >
|
std::unique_ptr< ILinkLayer >
|
@ -0,0 +1,9 @@
|
|||||||
|
#ifndef LLARP_LINK_LAYER_HPP
|
||||||
|
#define LLARP_LINK_LAYER_HPP
|
||||||
|
#include <llarp/types.hpp>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
|
||||||
|
constexpr llarp_time_t DefaultLinkSessionLifetime = 10 * 1000;
|
||||||
|
#endif
|
@ -1,9 +1,9 @@
|
|||||||
#ifndef LLARP_LINK_MESSAGE_HPP
|
#ifndef LLARP_LINK_MESSAGE_HPP
|
||||||
#define LLARP_LINK_MESSAGE_HPP
|
#define LLARP_LINK_MESSAGE_HPP
|
||||||
|
|
||||||
|
#include <link/session.hpp>
|
||||||
#include <llarp/bencode.hpp>
|
#include <llarp/bencode.hpp>
|
||||||
#include <llarp/router_id.hpp>
|
#include <llarp/router_id.hpp>
|
||||||
#include <llarp/link/session.hpp>
|
|
||||||
|
|
||||||
#include <queue>
|
#include <queue>
|
||||||
#include <vector>
|
#include <vector>
|
Loading…
Reference in New Issue