BSD 4_3 release
[unix-history] / usr / src / sys / netns / idp.h
/*
* Copyright (c) 1984, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* @(#)idp.h 7.1 (Berkeley) 6/5/86
*/
/*
* Definitions for NS(tm) Internet Datagram Protocol
*/
struct idp {
u_short idp_sum; /* Checksum */
u_short idp_len; /* Length, in bytes, including header */
u_char idp_tc; /* Transport Crontrol (i.e. hop count) */
u_char idp_pt; /* Packet Type (i.e. level 2 protocol) */
struct ns_addr idp_dna; /* Destination Network Address */
struct ns_addr idp_sna; /* Source Network Address */
};