oops, 7.19 wasn't finished; back part out for now, but leave TOS/TTL
[unix-history] / usr / src / sys / netinet / udp.h
CommitLineData
8ae0e4b4 1/*
0880b18e 2 * Copyright (c) 1982, 1986 Regents of the University of California.
2b6b6284 3 * All rights reserved.
8ae0e4b4 4 *
dbf0c423 5 * %sccs.include.redist.c%
2b6b6284 6 *
dbf0c423 7 * @(#)udp.h 7.4 (Berkeley) %G%
8ae0e4b4 8 */
61fbf20d 9
eb44bfb2
BJ
10/*
11 * Udp protocol header.
2b4b57cd 12 * Per RFC 768, September, 1981.
eb44bfb2
BJ
13 */
14struct udphdr {
15 u_short uh_sport; /* source port */
16 u_short uh_dport; /* destination port */
17 short uh_ulen; /* udp length */
18 u_short uh_sum; /* udp checksum */
19};