aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/network/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/network/socket.h')
-rw-r--r--src/charon/network/socket.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/charon/network/socket.h b/src/charon/network/socket.h
index 431d9f2eb..a6437c86e 100644
--- a/src/charon/network/socket.h
+++ b/src/charon/network/socket.h
@@ -25,25 +25,22 @@
#ifndef SOCKET_H_
#define SOCKET_H_
+typedef struct socket_t socket_t;
#include <types.h>
#include <network/packet.h>
#include <utils/host.h>
#include <utils/linked_list.h>
-
/**
* @brief Maximum size of a packet.
- *
+ *
* 3000 Bytes should be sufficient, see IKEv2 RFC.
- *
+ *
* @ingroup network
*/
#define MAX_PACKET 3000
-
-typedef struct socket_t socket_t;
-
/**
* @brief Abstraction of all sockets (IPv6/IPv6 send/receive).
*