1*23180Smckusick /* 2*23180Smckusick * Copyright (c) 1982 Regents of the University of California. 3*23180Smckusick * All rights reserved. The Berkeley software License Agreement 4*23180Smckusick * specifies the terms and conditions for redistribution. 5*23180Smckusick * 6*23180Smckusick * @(#)in_systm.h 6.2 (Berkeley) 06/08/85 7*23180Smckusick */ 84806Swnj 94806Swnj /* 104806Swnj * Miscellaneous internetwork 114806Swnj * definitions for kernel. 124806Swnj */ 134806Swnj 146263Swnj #ifndef LOCORE 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 */ 276263Swnj #endif 284806Swnj 296263Swnj #ifndef LOCORE 306263Swnj #ifdef KERNEL 314923Swnj n_time iptime(); 324806Swnj #endif 334806Swnj #endif 34