1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved.
4: *
5: * Redistribution and use in source and binary forms are permitted
6: * provided that this notice is preserved and that due credit is given
7: * to the University of California at Berkeley. The name of the University
8: * may not be used to endorse or promote products derived from this
9: * software without specific prior written permission. This software
10: * is provided ``as is'' without express or implied warranty.
11: *
12: * @(#)udp.h 7.2 (Berkeley) 12/7/87
13: */
14:
15: /*
16: * Udp protocol header.
17: * Per RFC 768, September, 1981.
18: */
19: struct udphdr {
20: u_short uh_sport; /* source port */
21: u_short uh_dport; /* destination port */
22: short uh_ulen; /* udp length */
23: u_short uh_sum; /* udp checksum */
24: };
Defined struct's
udphdr
defined in line
19; used 14 times
Usage of this include