diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2015-07-13 10:12:03 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2015-07-13 10:15:32 +0100 |
commit | 3ba4165c4b7cc369c9b7809a8f106cad0926c02c (patch) | |
tree | ab9bbaaf092470e4c7318e4ce06783b8e2de3f78 /udp.h | |
parent | d093ac980c11bda22e63e0f901dc1d18457e5400 (diff) | |
download | tcpdump-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 'udp.h')
-rw-r--r-- | udp.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -44,6 +44,7 @@ struct udphdr { uint16_t uh_sum; /* udp checksum */ }; +#define NAMESERVER_PORT 53 #define BOOTPS_PORT 67 /* RFC951 */ #define BOOTPC_PORT 68 /* RFC951 */ #define TFTP_PORT 69 /*XXX*/ @@ -86,6 +87,7 @@ struct udphdr { #define BFD_CONTROL_PORT 3784 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ #define BFD_ECHO_PORT 3785 /* draft-katz-ward-bfd-v4v6-1hop-00.txt */ #define WB_PORT 4567 +#define MULTICASTDNS_PORT 5353 /* RFC 6762 */ #define SFLOW_PORT 6343 /* http://www.sflow.org/developers/specifications.php */ #define LWAPP_DATA_PORT 12222 /* RFC 5412 */ #define LWAPP_CONTROL_PORT 12223 /* RFC 5412 */ |