/* number of bytes of fixed size data in resource record */
#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
*/
#include "rpc_auth.h"
#include "rpc_msg.h"
-#include "nameser.h"
-
#ifdef HAVE_LIBCRYPTO
#include <openssl/md5.h>
#include "signature.h"
ND_PRINT((ndo, ": "));
rtsp_print(ndo, bp, length);
} else if (length > 2 &&
- (sport == NAMESERVER_PORT || dport == NAMESERVER_PORT ||
- sport == MULTICASTDNS_PORT || dport == MULTICASTDNS_PORT)) {
+ (sport == NAMESERVER_PORT || dport == NAMESERVER_PORT)) {
/*
* TCP DNS query has 2byte length at the head.
* XXX packet could be unaligned, it can go strange
#include "rpc_auth.h"
#include "rpc_msg.h"
-#include "nameser.h"
#include "nfs.h"
struct rtcphdr {
#ifndef SMTP_PORT
#define SMTP_PORT 25
#endif
+#ifndef NAMESERVER_PORT
+#define NAMESERVER_PORT 53
+#endif
#ifndef BGP_PORT
#define BGP_PORT 179
#endif
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*/
#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 */