xref: /csrg-svn/sys/netinet/udp.h (revision 63218)
123198Smckusick /*
2*63218Sbostic  * Copyright (c) 1982, 1986, 1993
3*63218Sbostic  *	The Regents of the University of California.  All rights reserved.
423198Smckusick  *
544494Sbostic  * %sccs.include.redist.c%
632789Sbostic  *
7*63218Sbostic  *	@(#)udp.h	8.1 (Berkeley) 06/10/93
823198Smckusick  */
94894Swnj 
104901Swnj /*
114901Swnj  * Udp protocol header.
124926Swnj  * Per RFC 768, September, 1981.
134901Swnj  */
144901Swnj struct udphdr {
154901Swnj 	u_short	uh_sport;		/* source port */
164901Swnj 	u_short	uh_dport;		/* destination port */
174901Swnj 	short	uh_ulen;		/* udp length */
184901Swnj 	u_short	uh_sum;			/* udp checksum */
194901Swnj };
20