diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-12-11 00:17:47 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-12-11 00:17:47 -0800 |
commit | 0f328b4aa16b0b47f05a85c440ce1d07719e3cac (patch) | |
tree | a5a9a3a1dad2f4ce32c9116665d420ae06c448dc /udp.h | |
parent | e1dd70a1b6754ba6946095cdbdb7850c08541117 (diff) | |
download | tcpdump-0f328b4aa16b0b47f05a85c440ce1d07719e3cac.tar.gz |
More nd_ification of structures.
We don't need to use & to get a pointer to an nd_uintN_t/nd_intN_t type,
as they're arrays.
Diffstat (limited to 'udp.h')
-rw-r--r-- | udp.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |