]> The Tcpdump Group git mirrors - tcpdump/blobdiff - udp.h
DNS: Sync types with IANA
[tcpdump] / udp.h
diff --git a/udp.h b/udp.h
index cef48b2d75c626e3456ca99a27c4eb285e9734f8..70d3315ae8488dc818a0851368408f0e35e10461 100644 (file)
--- a/udp.h
+++ b/udp.h
@@ -77,6 +77,12 @@ struct udphdr {
 #ifndef SNMPTRAP_PORT
 #define SNMPTRAP_PORT                  162     /*XXX*/
 #endif
+#ifndef PTP_EVENT_PORT
+#define PTP_EVENT_PORT                 319 /* IANA */
+#endif
+#ifndef PTP_GENERAL_PORT
+#define PTP_GENERAL_PORT               320 /* IANA */
+#endif
 #ifndef CISCO_AUTORP_PORT
 #define CISCO_AUTORP_PORT              496     /*XXX*/
 #endif
@@ -155,6 +161,9 @@ struct udphdr {
 #ifndef MPLS_LSP_PING_PORT
 #define MPLS_LSP_PING_PORT             3503    /* draft-ietf-mpls-lsp-ping-02.txt */
 #endif
+#ifndef BCM_LI_PORT
+#define BCM_LI_PORT                    49152   /* SDK default */
+#endif
 #ifndef BFD_CONTROL_PORT
 #define BFD_CONTROL_PORT               3784    /* RFC 5881 */
 #endif
@@ -197,6 +206,9 @@ struct udphdr {
 #ifndef SFLOW_PORT
 #define SFLOW_PORT                     6343    /* https://sflow.org/developers/specifications.php */
 #endif
+#ifndef MPLS_PORT
+#define MPLS_PORT                      6635    /* RFC 7510 */
+#endif
 #ifndef BABEL_PORT
 #define BABEL_PORT                     6696    /* RFC 6126 errata */
 #endif
@@ -233,3 +245,6 @@ struct udphdr {
 #ifndef ZEP_PORT
 #define ZEP_PORT                       17754   /* XXX */
 #endif
+#ifndef SOMEIP_PORT
+#define SOMEIP_PORT                    30490   /* https://www.autosar.org/standards/foundation */
+#endif