1 /* 2 * Copyright (c) 1982, 1986 Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)udp.h 7.4 (Berkeley) 06/28/90 8 */ 9 10 /* 11 * Udp protocol header. 12 * Per RFC 768, September, 1981. 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 }; 20