aboutgitcodebugslistschat
path: root/passt.h
diff options
context:
space:
mode:
Diffstat (limited to 'passt.h')
-rw-r--r--passt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/passt.h b/passt.h
index 009cedb..22a91d6 100644
--- a/passt.h
+++ b/passt.h
@@ -14,6 +14,8 @@ struct tap_msg {
size_t l4_len;
};
+#define SOCK_BUF_BYTES (ETH_MAX_MTU * 4)
+
#include "icmp.h"
#include "tcp.h"
#include "udp.h"
@@ -62,5 +64,5 @@ struct ctx {
struct icmp_ctx icmp;
struct tcp_ctx tcp;
- struct tcp_ctx udp;
+ struct udp_ctx udp;
};