summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-23 00:45:13 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-23 00:45:13 -0700
commitdbddfda2c806a98b1fc8fd86cc3c34a4f9915d70 (patch)
treed15fd799819a42cba4161976b519dfcc513b7a24 /udp.h
parented85e20e4d6a27d5405f37366dd34b64c10a9211 (diff)
downloadtcpdump-dbddfda2c806a98b1fc8fd86cc3c34a4f9915d70.tar.gz
More getting rid of old u_intN_t.
Diffstat (limited to 'udp.h')
-rw-r--r--udp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/udp.h b/udp.h
index 084fe843..4bc90a79 100644
--- a/udp.h
+++ b/udp.h
@@ -38,10 +38,10 @@
* Per RFC 768, September, 1981.
*/
struct udphdr {
- u_int16_t uh_sport; /* source port */
- u_int16_t uh_dport; /* destination port */
- u_int16_t uh_ulen; /* udp length */
- u_int16_t uh_sum; /* udp checksum */
+ uint16_t uh_sport; /* source port */
+ uint16_t uh_dport; /* destination port */
+ uint16_t uh_ulen; /* udp length */
+ uint16_t uh_sum; /* udp checksum */
};
#define TFTP_PORT 69 /*XXX*/