1: /* 2: * Copyright (c) 1982, 1986 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: * 6: * @(#)in_systm.h 7.1 (Berkeley) 6/5/86 7: */ 8: 9: /* 10: * Miscellaneous internetwork 11: * definitions for kernel. 12: */ 13: 14: /* 15: * Network types. 16: * 17: * Internally the system keeps counters in the headers with the bytes 18: * swapped so that VAX instructions will work on them. It reverses 19: * the bytes before transmission at each protocol level. The n_ types 20: * represent the types with the bytes in ``high-ender'' order. 21: */ 22: typedef u_short n_short; /* short as received from the net */ 23: typedef u_long n_long; /* long as received from the net */ 24: 25: typedef u_long n_time; /* ms since 00:00 GMT, byte rev */ 26: 27: #ifdef KERNEL 28: n_time iptime(); 29: #endif