summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2015-07-13 10:12:03 +0100
committerDenis Ovsienko <denis@ovsienko.info>2015-07-13 10:15:32 +0100
commit3ba4165c4b7cc369c9b7809a8f106cad0926c02c (patch)
treeab9bbaaf092470e4c7318e4ce06783b8e2de3f78 /nameser.h
parentd093ac980c11bda22e63e0f901dc1d18457e5400 (diff)
downloadtcpdump-3ba4165c4b7cc369c9b7809a8f106cad0926c02c.tar.gz
refine use of nameser.h
Move the port number #define's to the TCP and UDP files such that they don't require nameser.h anymore. Update the TCP printer to disregard the multicast DNS port as it is UDP-only.
Diffstat (limited to 'nameser.h')
-rw-r--r--nameser.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/nameser.h b/nameser.h
index 11e71ef8..e075f092 100644
--- a/nameser.h
+++ b/nameser.h
@@ -71,20 +71,6 @@
#define RRFIXEDSZ 10
/*
- * Internet nameserver port number
- */
-#define NAMESERVER_PORT 53
-
-/*
- * Port for multicast DNS; see
- *
- * http://files.multicastdns.org/draft-cheshire-dnsext-multicastdns.txt
- *
- * for the current mDNS spec.
- */
-#define MULTICASTDNS_PORT 5353
-
-/*
* Currently defined opcodes
*/
#define QUERY 0x0 /* standard query */