diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-19 14:50:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-10-19 14:50:22 +0000 |
commit | 08a743d854203c66c70496aac48e3cb6cf36a6b9 (patch) | |
tree | 8639d9b003dfb43d2bcf8e1abf35901ca9aeb0c2 /sys | |
parent | 0ac3eacf446993e18ed9a7f0c47df2ca2e77bfb8 (diff) |
remove confusing comments referencing the vax
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/in_systm.h | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/sys/netinet/in_systm.h b/sys/netinet/in_systm.h index 51ddf8a457d..febf30f4fc1 100644 --- a/sys/netinet/in_systm.h +++ b/sys/netinet/in_systm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_systm.h,v 1.5 2003/06/02 23:28:14 millert Exp $ */ +/* $OpenBSD: in_systm.h,v 1.6 2013/10/19 14:50:21 deraadt Exp $ */ /* $NetBSD: in_systm.h,v 1.8 1995/04/13 06:29:22 cgd Exp $ */ /* @@ -35,26 +35,13 @@ #ifndef _NETINET_IN_SYSTM_H_ #define _NETINET_IN_SYSTM_H_ -/* - * Miscellaneous internetwork - * definitions for kernel. - */ - -/* - * Network types. - * - * Internally the system keeps counters in the headers with the bytes - * swapped so that VAX instructions will work on them. It reverses - * the bytes before transmission at each protocol level. The n_ types - * represent the types with the bytes in ``high-ender'' order. - */ -typedef u_int16_t n_short; /* short as received from the net */ -typedef u_int32_t n_long; /* long as received from the net */ - -typedef u_int32_t n_time; /* ms since 00:00 GMT, byte rev */ +/* network byte order */ +typedef u_int16_t n_short; +typedef u_int32_t n_long; +typedef u_int32_t n_time; /* ms since 00:00 GMT */ #ifdef _KERNEL n_time iptime(void); #endif /* _KERNEL */ -#endif /* _NETINET_IN_SYSTM_H_ */ +#endif /* _NETINET_IN_SYSTM_H_ */ |