1 /* 2 * Copyright (c) 1984, 1985, 1986, 1987 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)idp.h 7.4 (Berkeley) 06/28/90 8 */ 9 10 /* 11 * Definitions for NS(tm) Internet Datagram Protocol 12 */ 13 struct idp { 14 u_short idp_sum; /* Checksum */ 15 u_short idp_len; /* Length, in bytes, including header */ 16 u_char idp_tc; /* Transport Crontrol (i.e. hop count) */ 17 u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */ 18 struct ns_addr idp_dna; /* Destination Network Address */ 19 struct ns_addr idp_sna; /* Source Network Address */ 20 }; 21