1335640Shselasky/*- 2335640Shselasky * Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 3335640Shselasky * The Regents of the University of California. All rights reserved. 4335640Shselasky * 5335640Shselasky * This code is derived from the Stanford/CMU enet packet filter, 6335640Shselasky * (net/enet.c) distributed as part of 4.3BSD, and code contributed 7335640Shselasky * to Berkeley by Steven McCanne and Van Jacobson both of Lawrence 8335640Shselasky * Berkeley Laboratory. 9335640Shselasky * 10335640Shselasky * Redistribution and use in source and binary forms, with or without 11335640Shselasky * modification, are permitted provided that the following conditions 12335640Shselasky * are met: 13335640Shselasky * 1. Redistributions of source code must retain the above copyright 14335640Shselasky * notice, this list of conditions and the following disclaimer. 15335640Shselasky * 2. Redistributions in binary form must reproduce the above copyright 16335640Shselasky * notice, this list of conditions and the following disclaimer in the 17335640Shselasky * documentation and/or other materials provided with the distribution. 18335640Shselasky * 3. All advertising materials mentioning features or use of this software 19335640Shselasky * must display the following acknowledgement: 20335640Shselasky * This product includes software developed by the University of 21335640Shselasky * California, Berkeley and its contributors. 22335640Shselasky * 4. Neither the name of the University nor the names of its contributors 23335640Shselasky * may be used to endorse or promote products derived from this software 24335640Shselasky * without specific prior written permission. 25335640Shselasky * 26335640Shselasky * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 27335640Shselasky * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 28335640Shselasky * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 29335640Shselasky * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 30335640Shselasky * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 31335640Shselasky * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32335640Shselasky * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33335640Shselasky * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34335640Shselasky * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35335640Shselasky * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36335640Shselasky * SUCH DAMAGE. 37335640Shselasky */ 38335640Shselasky 39335640Shselasky/* 40335640Shselasky * For backwards compatibility. 41335640Shselasky * 42335640Shselasky * Note to OS vendors: do NOT get rid of this file! Some applications 43335640Shselasky * might expect to be able to include <pcap-bpf.h>. 44335640Shselasky */ 45335640Shselasky#include <pcap/bpf.h> 46