1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)udp.h 7.1 (Berkeley) 6/5/86
7: */
8:
9: /*
10: * Udp protocol header.
11: * Per RFC 768, September, 1981.
12: */
13: struct 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: };
Defined struct's
Usage of this include