]> The Tcpdump Group git mirrors - tcpdump/blobdiff - interface.h
Merge pull request #468 from gvanem/patch-1
[tcpdump] / interface.h
index 923437888021cf3d251c68b6f3b1ea9b98b96b66..1a67eb3989837f82e0860e161ebdf7e1c6014446 100644 (file)
@@ -65,15 +65,6 @@ extern char *strdup(const char *);
 extern char *strsep(char **, const char *);
 #endif
 
-#define ESRC(ep) ((ep)->ether_shost)
-#define EDST(ep) ((ep)->ether_dhost)
-
-#ifndef NTOHL
-#define NTOHL(x)       (x) = ntohl(x)
-#define NTOHS(x)       (x) = ntohs(x)
-#define HTONL(x)       (x) = htonl(x)
-#define HTONS(x)       (x) = htons(x)
-#endif
 #endif
 
 extern char *program_name;     /* used to generate self-identifying messages */
@@ -95,8 +86,6 @@ extern void warning(const char *, ...)
 extern char *read_infile(char *);
 extern char *copy_argv(char **);
 
-/* The printer routines. */
-
 #include <pcap.h>
 
 #ifndef HAVE_BPF_DUMP