summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-12-11 00:17:47 -0800
committerGuy Harris <guy@alum.mit.edu>2017-12-11 00:17:47 -0800
commit0f328b4aa16b0b47f05a85c440ce1d07719e3cac (patch)
treea5a9a3a1dad2f4ce32c9116665d420ae06c448dc /udp.h
parente1dd70a1b6754ba6946095cdbdb7850c08541117 (diff)
downloadtcpdump-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/udp.h b/udp.h
index 409cc59e..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