1 /* 2 * Copyright (c) 1984 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 * @(#)idp.h 6.3 (Berkeley) 02/03/86 7 */ 8 9 /* 10 * Definitions for NS(tm) Internet Datagram Protocol 11 */ 12 struct idp { 13 u_short idp_sum; /* Checksum */ 14 u_short idp_len; /* Length, in bytes, including header */ 15 u_char idp_tc; /* Transport Crontrol (i.e. hop count) */ 16 u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */ 17 struct ns_addr idp_dna; /* Destination Network Address */ 18 struct ns_addr idp_sna; /* Source Network Address */ 19 }; 20