X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/db752b7f79065d0d90bec13694af6c2c6e32c5d3..9f957a5883cb4c5c99cefa71b42fc9d2d27d73e1:/udp.h diff --git a/udp.h b/udp.h index f9647bc6..884541b6 100644 --- a/udp.h +++ b/udp.h @@ -38,10 +38,10 @@ * 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 */