diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-06-10 21:37:24 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2015-06-10 21:37:24 +0200 |
commit | 7e17343965b7275367a4f0ceb90969867f3f1410 (patch) | |
tree | 12d3955a70262eb7c7487724d5ea919e8a18e5cd | |
parent | 1e560c81645bb3d1438ed37b320b6341d7c3eb97 (diff) | |
download | tcpdump-7e17343965b7275367a4f0ceb90969867f3f1410.tar.gz |
Get rid of macros already defined in netdissect.h
-rw-r--r-- | interface.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/interface.h b/interface.h index 92343788..c1ccbe50 100644 --- a/interface.h +++ b/interface.h @@ -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 */ |