From ba21b5b9201d529d33709f8a7f5dde2f4954bb4e Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 7 Jan 2012 20:20:12 +0000 Subject: [PATCH] u_intN -> uintN make standalone --- sys/netinet/udp.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sys/netinet/udp.h b/sys/netinet/udp.h index 64557d1834fb..ece7d0ed71e0 100644 --- a/sys/netinet/udp.h +++ b/sys/netinet/udp.h @@ -1,4 +1,4 @@ -/* $NetBSD: udp.h,v 1.14 2011/09/24 17:18:17 christos Exp $ */ +/* $NetBSD: udp.h,v 1.15 2012/01/07 20:20:12 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1993 @@ -34,15 +34,16 @@ #ifndef _NETINET_UDP_H_ #define _NETINET_UDP_H_ +#include /* * Udp protocol header. * 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 */ } __packed; /* socket options for UDP */