xref: /csrg-svn/sys/netns/idp.h (revision 63231)
123201Smckusick /*
2*63231Sbostic  * Copyright (c) 1984, 1985, 1986, 1987, 1993
3*63231Sbostic  *	The Regents of the University of California.  All rights reserved.
423201Smckusick  *
544497Sbostic  * %sccs.include.redist.c%
633371Ssklower  *
7*63231Sbostic  *	@(#)idp.h	8.1 (Berkeley) 06/10/93
823201Smckusick  */
921478Ssklower 
1021478Ssklower /*
1121478Ssklower  * Definitions for NS(tm) Internet Datagram Protocol
1221478Ssklower  */
1321478Ssklower struct idp {
1421478Ssklower 	u_short	idp_sum;	/* Checksum */
1521478Ssklower 	u_short	idp_len;	/* Length, in bytes, including header */
1621478Ssklower 	u_char	idp_tc;		/* Transport Crontrol (i.e. hop count) */
1721478Ssklower 	u_char	idp_pt;		/* Packet Type (i.e. level 2 protocol) */
1821478Ssklower 	struct ns_addr	idp_dna;	/* Destination Network Address */
1921478Ssklower 	struct ns_addr	idp_sna;	/* Source Network Address */
2021478Ssklower };
21