packet: Define a global default maximum size for IKE packets

This commit is contained in:
Tobias Brunner
2014-10-10 09:32:42 +02:00
parent 03512c47bf
commit f00a9c1715
5 changed files with 9 additions and 18 deletions
+5
View File
@@ -28,6 +28,11 @@ typedef struct packet_t packet_t;
#include <library.h>
#include <networking/host.h>
/**
* Maximum packet size we handle by default
*/
#define PACKET_MAX_DEFAULT 10000
/**
* Abstraction of an IP/UDP-Packet, contains data, sender and receiver.
*/