1 /* 2 * Copyright (c) 1982 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 6.2 (Berkeley) 06/08/85 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 }; 19