useless register declarations
[unix-history] / usr / src / sys / netinet / udp.h
CommitLineData
8ae0e4b4 1/*
0880b18e 2 * Copyright (c) 1982, 1986 Regents of the University of California.
8ae0e4b4
KM
3 * All rights reserved. The Berkeley software License Agreement
4 * specifies the terms and conditions for redistribution.
5 *
0880b18e 6 * @(#)udp.h 7.1 (Berkeley) %G%
8ae0e4b4 7 */
61fbf20d 8
eb44bfb2
BJ
9/*
10 * Udp protocol header.
2b4b57cd 11 * Per RFC 768, September, 1981.
eb44bfb2
BJ
12 */
13struct udphdr {
14 u_short uh_sport; /* source port */
15 u_short uh_dport; /* destination port */
16 short uh_ulen; /* udp length */
17 u_short uh_sum; /* udp checksum */
18};