Moved packet_t and tun_device_t to networking folder

This commit is contained in:
Tobias Brunner 2012-10-16 14:33:28 +02:00
parent 2e7cc07ecd
commit fdee6b5f5a
15 changed files with 23 additions and 20 deletions

View File

@ -31,7 +31,7 @@ typedef struct message_t message_t;
#include <encoding/payloads/notify_payload.h>
#include <sa/keymat.h>
#include <sa/ike_sa_id.h>
#include <utils/packet.h>
#include <networking/packet.h>
#include <utils/linked_list.h>
/**

View File

@ -28,7 +28,7 @@
#include <processing/jobs/callback_job.h>
#include <crypto/hashers/hasher.h>
#include <threading/mutex.h>
#include <utils/packet.h>
#include <networking/packet.h>
/** lifetime of a cookie, in seconds */
#define COOKIE_LIFETIME 10

View File

@ -27,7 +27,7 @@ typedef struct receiver_t receiver_t;
#include <library.h>
#include <networking/host.h>
#include <utils/packet.h>
#include <networking/packet.h>
/**
* Callback called for any received UDP encapsulated ESP packet.

View File

@ -26,7 +26,7 @@
typedef struct sender_t sender_t;
#include <library.h>
#include <utils/packet.h>
#include <networking/packet.h>
/**
* Callback job responsible for sending IKE packets over the socket.

View File

@ -27,7 +27,7 @@
typedef struct socket_t socket_t;
#include <library.h>
#include <utils/packet.h>
#include <networking/packet.h>
#include <utils/enumerator.h>
#include <plugins/plugin.h>

View File

@ -43,7 +43,7 @@ typedef struct ike_sa_t ike_sa_t;
#include <config/peer_cfg.h>
#include <config/ike_cfg.h>
#include <credentials/auth_cfg.h>
#include <utils/packet.h>
#include <networking/packet.h>
/**
* Timeout in seconds after that a half open IKE_SA gets deleted.

View File

@ -26,7 +26,7 @@ typedef struct ike_mobike_t ike_mobike_t;
#include <library.h>
#include <sa/ike_sa.h>
#include <sa/task.h>
#include <utils/packet.h>
#include <networking/packet.h>
/**
* Task of type ike_mobike, detects and handles MOBIKE extension.

View File

@ -28,7 +28,7 @@
#include <library.h>
#include <networking/host.h>
#include <utils/packet.h>
#include <networking/packet.h>
typedef struct esp_packet_t esp_packet_t;

View File

@ -23,7 +23,7 @@
#include <library.h>
#include <networking/host.h>
#include <utils/packet.h>
#include <networking/packet.h>
typedef struct ip_packet_t ip_packet_t;

View File

@ -22,14 +22,15 @@ credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
ipsec/ipsec_types.c \
networking/host.c networking/host_resolver.c \
networking/host.c networking/host_resolver.c networking/packet.c \
networking/tun_device.c \
pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
utils.c utils/packet.c utils/identification.c utils/lexparser.c \
utils.c utils/identification.c utils/lexparser.c \
utils/linked_list.c utils/blocking_queue.c utils/hashtable.c utils/enumerator.c \
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c utils/tun_device.c
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c
# adding the plugin source files

View File

@ -20,14 +20,15 @@ credentials/sets/cert_cache.c credentials/sets/mem_cred.c \
credentials/sets/callback_cred.c credentials/auth_cfg.c database/database.c \
database/database_factory.c fetcher/fetcher.c fetcher/fetcher_manager.c eap/eap.c \
ipsec/ipsec_types.c \
networking/host.c networking/host_resolver.c \
networking/host.c networking/host_resolver.c networking/packet.c \
networking/tun_device.c \
pen/pen.c plugins/plugin_loader.c plugins/plugin_feature.c processing/jobs/job.c \
processing/jobs/callback_job.c processing/processor.c processing/scheduler.c \
selectors/traffic_selector.c threading/thread.c threading/thread_value.c \
threading/mutex.c threading/semaphore.c threading/rwlock.c threading/spinlock.c \
utils.c utils/packet.c utils/identification.c utils/lexparser.c \
utils.c utils/identification.c utils/lexparser.c \
utils/linked_list.c utils/blocking_queue.c utils/hashtable.c utils/enumerator.c \
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c utils/tun_device.c
utils/optionsfrom.c utils/capabilities.c utils/backtrace.c
if USE_DEV_HEADERS
strongswan_includedir = ${dev_headers}
@ -56,16 +57,17 @@ credentials/sets/mem_cred.h credentials/sets/callback_cred.h \
credentials/auth_cfg.h credentials/credential_set.h credentials/cert_validator.h \
database/database.h database/database_factory.h fetcher/fetcher.h \
fetcher/fetcher_manager.h eap/eap.h pen/pen.h ipsec/ipsec_types.h \
networking/host.h networking/host_resolver.h \
networking/host.h networking/host_resolver.h networking/packet.h \
networking/tun_device.h \
plugins/plugin_loader.h plugins/plugin.h plugins/plugin_feature.h \
processing/jobs/job.h processing/jobs/callback_job.h processing/processor.h \
processing/scheduler.h selectors/traffic_selector.h \
threading/thread.h threading/thread_value.h \
threading/mutex.h threading/condvar.h threading/spinlock.h threading/semaphore.h \
threading/rwlock.h threading/rwlock_condvar.h threading/lock_profiler.h \
utils.h utils/packet.h utils/identification.h utils/lexparser.h \
utils.h utils/identification.h utils/lexparser.h \
utils/linked_list.h utils/blocking_queue.h utils/hashtable.h utils/enumerator.h \
utils/optionsfrom.h utils/capabilities.h utils/backtrace.h utils/tun_device.h \
utils/optionsfrom.h utils/capabilities.h utils/backtrace.h \
utils/leak_detective.h integrity_checker.h
endif

View File

@ -17,7 +17,7 @@
/**
* @defgroup packet packet
* @{ @ingroup utils
* @{ @ingroup networking
*/
#ifndef PACKET_H_

View File

@ -17,7 +17,7 @@
/**
* @defgroup tun_device tun_device
* @{ @ingroup utils
* @{ @ingroup networking
*/
#ifndef TUN_DEVICE_H_