diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-07-13 10:54:24 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-07-13 10:54:24 +0000 |
| commit | e53040ef710e89b10a410372d5f117283b647b13 (patch) | |
| tree | 7532f575df6c5f92ae6e9eca2b09ad4f8d09f74a /sys/netinet | |
| parent | c086febef5fa8a8ac8bfdd053a025daff8361ed0 (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/in_systm.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/sys/netinet/in_systm.h b/sys/netinet/in_systm.h index c5368907c151..aa6f0d719ca6 100644 --- a/sys/netinet/in_systm.h +++ b/sys/netinet/in_systm.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_systm.h 8.1 (Berkeley) 6/10/93 - * $Id: in_systm.h,v 1.5 1997/02/22 09:41:30 peter Exp $ + * $Id: in_systm.h,v 1.6 1998/06/07 17:12:14 dfr Exp $ */ #ifndef _NETINET_IN_SYSTM_H_ @@ -50,21 +50,10 @@ * the bytes before transmission at each protocol level. The n_ types * represent the types with the bytes in ``high-ender'' order. */ -typedef u_short n_short; /* short as received from the net */ +typedef u_int16_t n_short; /* short as received from the net */ +typedef u_int32_t n_long; /* long as received from the net */ -#ifdef __alpha__ - -typedef u_int n_long; /* long as received from the net */ - -typedef u_int n_time; /* ms since 00:00 GMT, byte rev */ - -#else - -typedef u_long n_long; /* long as received from the net */ - -typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ - -#endif +typedef u_int32_t n_time; /* ms since 00:00 GMT, byte rev */ #ifdef KERNEL n_time iptime __P((void)); |
