123180Smckusick /* 2*63218Sbostic * Copyright (c) 1982, 1986, 1993 3*63218Sbostic * The Regents of the University of California. All rights reserved. 423180Smckusick * 544476Sbostic * %sccs.include.redist.c% 632787Sbostic * 7*63218Sbostic * @(#)in_systm.h 8.1 (Berkeley) 06/10/93 823180Smckusick */ 94806Swnj 104806Swnj /* 114806Swnj * Miscellaneous internetwork 124806Swnj * definitions for kernel. 134806Swnj */ 144806Swnj 154806Swnj /* 164806Swnj * Network types. 174806Swnj * 184806Swnj * Internally the system keeps counters in the headers with the bytes 194806Swnj * swapped so that VAX instructions will work on them. It reverses 204806Swnj * the bytes before transmission at each protocol level. The n_ types 214806Swnj * represent the types with the bytes in ``high-ender'' order. 224806Swnj */ 234806Swnj typedef u_short n_short; /* short as received from the net */ 244806Swnj typedef u_long n_long; /* long as received from the net */ 254806Swnj 264806Swnj typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ 274806Swnj 286263Swnj #ifdef KERNEL 2961333Sbostic n_time iptime __P((void)); 304806Swnj #endif 31