]> The Tcpdump Group git mirrors - tcpdump/blobdiff - interface.h
Make the default snapshot length the maximum; add a #define for the
[tcpdump] / interface.h
index 40067ed46cc5f4af3307b8d80b7e0c404181bd12..b8e2001c4930906aaecd551d3216e45b295b7e04 100644 (file)
@@ -82,16 +82,6 @@ extern char *strsep(char **, const char *);
 #define max(a,b) ((b)>(a)?(b):(a))
 #endif
 
-/*
- * The default snapshot length.  This value allows most printers to print
- * useful information while keeping the amount of unwanted data down.
- */
-#ifndef INET6
-#define DEFAULT_SNAPLEN 68     /* ether + IPv4 + TCP + 14 */
-#else
-#define DEFAULT_SNAPLEN 96     /* ether + IPv6 + TCP + 22 */
-#endif
-
 #ifndef BIG_ENDIAN
 #define BIG_ENDIAN 4321
 #define LITTLE_ENDIAN 1234