xref: /original-bsd/sys/netns/idp.h (revision 3705696b)
1 /*
2  * Copyright (c) 1984, 1985, 1986, 1987, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)idp.h	8.1 (Berkeley) 06/10/93
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