xref: /dflybsd-src/contrib/libpcap/pcap.h (revision 97a9217a80442061add4f20a612a3a5dd2cdb0d4)
11077d0bdSPeter Avalos /*
21077d0bdSPeter Avalos  * Copyright (c) 1993, 1994, 1995, 1996, 1997
31077d0bdSPeter Avalos  *	The Regents of the University of California.  All rights reserved.
41077d0bdSPeter Avalos  *
51077d0bdSPeter Avalos  * Redistribution and use in source and binary forms, with or without
61077d0bdSPeter Avalos  * modification, are permitted provided that the following conditions
71077d0bdSPeter Avalos  * are met:
81077d0bdSPeter Avalos  * 1. Redistributions of source code must retain the above copyright
91077d0bdSPeter Avalos  *    notice, this list of conditions and the following disclaimer.
101077d0bdSPeter Avalos  * 2. Redistributions in binary form must reproduce the above copyright
111077d0bdSPeter Avalos  *    notice, this list of conditions and the following disclaimer in the
121077d0bdSPeter Avalos  *    documentation and/or other materials provided with the distribution.
131077d0bdSPeter Avalos  * 3. All advertising materials mentioning features or use of this software
141077d0bdSPeter Avalos  *    must display the following acknowledgement:
151077d0bdSPeter Avalos  *	This product includes software developed by the Computer Systems
161077d0bdSPeter Avalos  *	Engineering Group at Lawrence Berkeley Laboratory.
171077d0bdSPeter Avalos  * 4. Neither the name of the University nor of the Laboratory may be used
181077d0bdSPeter Avalos  *    to endorse or promote products derived from this software without
191077d0bdSPeter Avalos  *    specific prior written permission.
201077d0bdSPeter Avalos  *
211077d0bdSPeter Avalos  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
221077d0bdSPeter Avalos  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
231077d0bdSPeter Avalos  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
241077d0bdSPeter Avalos  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
251077d0bdSPeter Avalos  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
261077d0bdSPeter Avalos  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
271077d0bdSPeter Avalos  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
281077d0bdSPeter Avalos  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
291077d0bdSPeter Avalos  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
301077d0bdSPeter Avalos  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
311077d0bdSPeter Avalos  * SUCH DAMAGE.
321077d0bdSPeter Avalos  */
331077d0bdSPeter Avalos 
341077d0bdSPeter Avalos /*
35*de0d3203SPeter Avalos  * For backwards compatibility.
361077d0bdSPeter Avalos  *
37*de0d3203SPeter Avalos  * Note to OS vendors: do NOT get rid of this file!  Many applications
38*de0d3203SPeter Avalos  * expect to be able to include <pcap.h>, and at least some of them
39*de0d3203SPeter Avalos  * go through contortions in their configure scripts to try to detect
40*de0d3203SPeter Avalos  * OSes that have "helpfully" moved pcap.h to <pcap/pcap.h> without
41*de0d3203SPeter Avalos  * leaving behind a <pcap.h> file.
421077d0bdSPeter Avalos  */
43*de0d3203SPeter Avalos #include <pcap/pcap.h>
44