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