1*10639SDarren.Reed@Sun.COM/* 2*10639SDarren.Reed@Sun.COM * Copyright (c) 1990, 1991, 1993 3*10639SDarren.Reed@Sun.COM * The Regents of the University of California. All rights reserved. 4*10639SDarren.Reed@Sun.COM * 5*10639SDarren.Reed@Sun.COM * This code is derived from the Stanford/CMU enet packet filter, 6*10639SDarren.Reed@Sun.COM * (net/enet.c) distributed as part of 4.3BSD, and code contributed 7*10639SDarren.Reed@Sun.COM * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence 8*10639SDarren.Reed@Sun.COM * Berkeley Laboratory. 9*10639SDarren.Reed@Sun.COM * 10*10639SDarren.Reed@Sun.COM * Redistribution and use in source and binary forms, with or without 11*10639SDarren.Reed@Sun.COM * modification, are permitted provided that the following conditions 12*10639SDarren.Reed@Sun.COM * are met: 13*10639SDarren.Reed@Sun.COM * 1. Redistributions of source code must retain the above copyright 14*10639SDarren.Reed@Sun.COM * notice, this list of conditions and the following disclaimer. 15*10639SDarren.Reed@Sun.COM * 2. Redistributions in binary form must reproduce the above copyright 16*10639SDarren.Reed@Sun.COM * notice, this list of conditions and the following disclaimer in the 17*10639SDarren.Reed@Sun.COM * documentation and/or other materials provided with the distribution. 18*10639SDarren.Reed@Sun.COM * 3. Neither the name of the University nor the names of its contributors 19*10639SDarren.Reed@Sun.COM * may be used to endorse or promote products derived from this software 20*10639SDarren.Reed@Sun.COM * without specific prior written permission. 21*10639SDarren.Reed@Sun.COM * 22*10639SDarren.Reed@Sun.COM * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23*10639SDarren.Reed@Sun.COM * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24*10639SDarren.Reed@Sun.COM * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25*10639SDarren.Reed@Sun.COM * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26*10639SDarren.Reed@Sun.COM * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27*10639SDarren.Reed@Sun.COM * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28*10639SDarren.Reed@Sun.COM * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29*10639SDarren.Reed@Sun.COM * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30*10639SDarren.Reed@Sun.COM * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31*10639SDarren.Reed@Sun.COM * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32*10639SDarren.Reed@Sun.COM * SUCH DAMAGE. 33*10639SDarren.Reed@Sun.COM */ 34