]> The Tcpdump Group git mirrors - tcpdump/blobdiff - udp.h
Add EXTRACT_ calls.
[tcpdump] / udp.h
diff --git a/udp.h b/udp.h
index f9647bc6fa8e4206df560c7dc3134a7f8e368e8e..884541b64893a9cf152f7d9d6e201c33aea88ca6 100644 (file)
--- a/udp.h
+++ b/udp.h
  * Per RFC 768, September, 1981.
  */
 struct udphdr {
-       uint16_t        uh_sport;               /* source port */
-       uint16_t        uh_dport;               /* destination port */
-       uint16_t        uh_ulen;                /* udp length */
-       uint16_t        uh_sum;                 /* udp checksum */
+       nd_uint16_t     uh_sport;               /* source port */
+       nd_uint16_t     uh_dport;               /* destination port */
+       nd_uint16_t     uh_ulen;                /* udp length */
+       nd_uint16_t     uh_sum;                 /* udp checksum */
 };
 
 #ifndef NAMESERVER_PORT
@@ -240,10 +240,10 @@ struct udphdr {
 #define SUBVERSION_PORT                        3690    /*XXX*/
 #endif
 #ifndef BFD_CONTROL_PORT
-#define BFD_CONTROL_PORT               3784    /* draft-katz-ward-bfd-v4v6-1hop-00.txt */
+#define BFD_CONTROL_PORT               3784    /* RFC 5881 */
 #endif
 #ifndef BFD_ECHO_PORT
-#define BFD_ECHO_PORT                  3785    /* draft-katz-ward-bfd-v4v6-1hop-00.txt */
+#define BFD_ECHO_PORT                  3785    /* RFC 5881 */
 #endif
 #ifndef RADIUS_COA_PORT
 #define RADIUS_COA_PORT                        3799    /* RFC 5176 */