]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of macros already defined in netdissect.h
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 10 Jun 2015 19:37:24 +0000 (21:37 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 10 Jun 2015 19:37:24 +0000 (21:37 +0200)
interface.h

index 923437888021cf3d251c68b6f3b1ea9b98b96b66..c1ccbe5070347cd6a17c2ac7b097264cef8ff7fa 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 */