Commit | Line | Data |
---|---|---|
8ae0e4b4 | 1 | /* |
e7a3707f KB |
2 | * Copyright (c) 1982, 1986, 1993 |
3 | * The Regents of the University of California. All rights reserved. | |
8ae0e4b4 | 4 | * |
dbf0c423 | 5 | * %sccs.include.redist.c% |
2b6b6284 | 6 | * |
e7a3707f | 7 | * @(#)udp.h 8.1 (Berkeley) %G% |
8ae0e4b4 | 8 | */ |
61fbf20d | 9 | |
eb44bfb2 BJ |
10 | /* |
11 | * Udp protocol header. | |
2b4b57cd | 12 | * Per RFC 768, September, 1981. |
eb44bfb2 BJ |
13 | */ |
14 | struct 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 | }; |