From 988859ea9f4b68a687af53021eeee9d7f026756f Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 19 Jul 2018 09:37:38 -0600 Subject: [PATCH] Increase MAXFRAME (Thanks Pat) --- pcap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcap.h b/pcap.h index 2cad297..e5d4c2a 100644 --- a/pcap.h +++ b/pcap.h @@ -6,10 +6,10 @@ #include #define MAGIC 0xa1b2c3d4 -#define MAXFRAME 65535 +#define MAXFRAME 262144 /* - * Described at http://www.tcpdump.org/linktypes.html + * Described at http://www.tcpdump.org/linktypes.html */ #define LINKTYPE_ETHERNET 1 #define LINKTYPE_RAW 101 @@ -56,7 +56,7 @@ struct pcap_pkthdr { /* - * Debugging help + * Debugging help */ #define DUMPf(fmt, args...) fprintf(stderr, "%s:%s:%d " fmt "\n", __FILE__, __FUNCTION__, __LINE__, ##args) #define DUMP() DUMPf("")