1*52a38012Sejakowatz /* 2*52a38012Sejakowatz * Copyright (c) 1982, 1986, 1993 3*52a38012Sejakowatz *The Regents of the University of California. All rights reserved. 4*52a38012Sejakowatz * 5*52a38012Sejakowatz * Redistribution and use in source and binary forms, with or without 6*52a38012Sejakowatz * modification, are permitted provided that the following conditions 7*52a38012Sejakowatz * are met: 8*52a38012Sejakowatz * 1. Redistributions of source code must retain the above copyright 9*52a38012Sejakowatz * notice, this list of conditions and the following disclaimer. 10*52a38012Sejakowatz * 2. Redistributions in binary form must reproduce the above copyright 11*52a38012Sejakowatz * notice, this list of conditions and the following disclaimer in the 12*52a38012Sejakowatz * documentation and/or other materials provided with the distribution. 13*52a38012Sejakowatz * 3. All advertising materials mentioning features or use of this software 14*52a38012Sejakowatz * must display the following acknowledgement: 15*52a38012Sejakowatz * 16*52a38012Sejakowatz * This product includes software developed by the University of 17*52a38012Sejakowatz * California, Berkeley and its contributors. 18*52a38012Sejakowatz * 19*52a38012Sejakowatz * 4. Neither the name of the University nor the names of its contributors 20*52a38012Sejakowatz * may be used to endorse or promote products derived from this software 21*52a38012Sejakowatz * without specific prior written permission. 22*52a38012Sejakowatz * 23*52a38012Sejakowatz * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 24*52a38012Sejakowatz * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25*52a38012Sejakowatz * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26*52a38012Sejakowatz * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 27*52a38012Sejakowatz * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28*52a38012Sejakowatz * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29*52a38012Sejakowatz * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30*52a38012Sejakowatz * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31*52a38012Sejakowatz * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32*52a38012Sejakowatz * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33*52a38012Sejakowatz * SUCH DAMAGE. 34*52a38012Sejakowatz * 35*52a38012Sejakowatz *@(#)udp.h8.1 (Berkeley) 6/10/93 36*52a38012Sejakowatz */ 37*52a38012Sejakowatz 38*52a38012Sejakowatz #ifndef NETINET_UDP_H 39*52a38012Sejakowatz #define NETINET_UDP_H 40*52a38012Sejakowatz 41*52a38012Sejakowatz struct udphdr { 42*52a38012Sejakowatz uint16 uh_sport; 43*52a38012Sejakowatz uint16 uh_dport; 44*52a38012Sejakowatz uint16 uh_ulen; 45*52a38012Sejakowatz uint16 uh_sum; 46*52a38012Sejakowatz }; 47*52a38012Sejakowatz 48*52a38012Sejakowatz #endif /* NETINET_UDP_H */ 49