Move IWP code to its own directory

This commit is contained in:
Michael 2019-03-29 15:17:49 +00:00
parent 426a9b0df5
commit 561b997c93
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C
10 changed files with 17 additions and 16 deletions

View File

@ -1 +1,2 @@
build/
.vscode/

View File

@ -166,9 +166,9 @@ set(LIB_SRC
handlers/exit.cpp
handlers/null.cpp
handlers/tun.cpp
link/iwp_linklayer.cpp
link/iwp_outermessage.cpp
link/iwp.cpp
iwp/linklayer.cpp
iwp/outermessage.cpp
iwp/iwp.cpp
link/server.cpp
link/session.cpp
messages/dht_immediate.cpp

View File

@ -1,5 +1,5 @@
#include <link/iwp.hpp>
#include <link/iwp_linklayer.hpp>
#include <iwp/iwp.hpp>
#include <iwp/linklayer.hpp>
#include <router/abstractrouter.hpp>
namespace llarp

View File

@ -1,5 +1,5 @@
#ifndef LLARP_LINK_IWP_HPP
#define LLARP_LINK_IWP_HPP
#ifndef LLARP_IWP_HPP
#define LLARP_IWP_HPP
#include <link/server.hpp>

View File

@ -1,4 +1,4 @@
#include <link/iwp_linklayer.hpp>
#include <iwp/linklayer.hpp>
namespace llarp
{

View File

@ -1,12 +1,12 @@
#ifndef LLARP_LINK_IWP_LINKLAYER_HPP
#define LLARP_LINK_IWP_LINKLAYER_HPP
#ifndef LLARP_IWP_LINKLAYER_HPP
#define LLARP_IWP_LINKLAYER_HPP
#include <constants/link_layer.hpp>
#include <crypto/crypto.hpp>
#include <crypto/encrypted.hpp>
#include <crypto/types.hpp>
#include <link/server.hpp>
#include <link/iwp_outermessage.hpp>
#include <iwp/outermessage.hpp>
namespace llarp
{

View File

@ -1,4 +1,4 @@
#include <link/iwp_outermessage.hpp>
#include <iwp/outermessage.hpp>
namespace llarp
{

View File

@ -1,5 +1,5 @@
#ifndef LLARP_LINK_IWP_OUTERMESSAGE_HPP
#define LLARP_LINK_IWP_OUTERMESSAGE_HPP
#ifndef LLARP_IWP_OUTERMESSAGE_HPP
#define LLARP_IWP_OUTERMESSAGE_HPP
#include <crypto/types.hpp>
#include <router_contact.hpp>

View File

@ -6,7 +6,7 @@
#include <crypto/crypto_libsodium.hpp>
#include <dht/context.hpp>
#include <dht/node.hpp>
#include <link/iwp.hpp>
#include <iwp/iwp.hpp>
#include <link/server.hpp>
#include <messages/link_message.hpp>
#include <net/net.hpp>

View File

@ -1,5 +1,5 @@
#include <link/iwp.hpp>
#include <ev/ev.h>
#include <iwp/iwp.hpp>
#include <messages/link_intro.hpp>
#include <messages/discard.hpp>
#include <utp/utp.hpp>