xref: /freebsd/contrib/libpcap/pcap.h (revision 98e0ffaefb0f241cda3a72395d3be04192ae0d47)
18cf6c252SPaul Traina /*
2dfd1ee14SBill Fenner  * Copyright (c) 1993, 1994, 1995, 1996, 1997
38cf6c252SPaul Traina  *	The Regents of the University of California.  All rights reserved.
48cf6c252SPaul Traina  *
58cf6c252SPaul Traina  * Redistribution and use in source and binary forms, with or without
68cf6c252SPaul Traina  * modification, are permitted provided that the following conditions
78cf6c252SPaul Traina  * are met:
88cf6c252SPaul Traina  * 1. Redistributions of source code must retain the above copyright
98cf6c252SPaul Traina  *    notice, this list of conditions and the following disclaimer.
108cf6c252SPaul Traina  * 2. Redistributions in binary form must reproduce the above copyright
118cf6c252SPaul Traina  *    notice, this list of conditions and the following disclaimer in the
128cf6c252SPaul Traina  *    documentation and/or other materials provided with the distribution.
138cf6c252SPaul Traina  * 3. All advertising materials mentioning features or use of this software
148cf6c252SPaul Traina  *    must display the following acknowledgement:
158cf6c252SPaul Traina  *	This product includes software developed by the Computer Systems
168cf6c252SPaul Traina  *	Engineering Group at Lawrence Berkeley Laboratory.
178cf6c252SPaul Traina  * 4. Neither the name of the University nor of the Laboratory may be used
188cf6c252SPaul Traina  *    to endorse or promote products derived from this software without
198cf6c252SPaul Traina  *    specific prior written permission.
208cf6c252SPaul Traina  *
218cf6c252SPaul Traina  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
228cf6c252SPaul Traina  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
238cf6c252SPaul Traina  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
248cf6c252SPaul Traina  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
258cf6c252SPaul Traina  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
268cf6c252SPaul Traina  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
278cf6c252SPaul Traina  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
288cf6c252SPaul Traina  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
298cf6c252SPaul Traina  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
308cf6c252SPaul Traina  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
318cf6c252SPaul Traina  * SUCH DAMAGE.
328cf6c252SPaul Traina  */
338cf6c252SPaul Traina 
348cf6c252SPaul Traina /*
35a8e07101SRui Paulo  * For backwards compatibility.
368e1481d1SBill Fenner  *
37a8e07101SRui Paulo  * Note to OS vendors: do NOT get rid of this file!  Many applications
38a8e07101SRui Paulo  * expect to be able to include <pcap.h>, and at least some of them
39a8e07101SRui Paulo  * go through contortions in their configure scripts to try to detect
40a8e07101SRui Paulo  * OSes that have "helpfully" moved pcap.h to <pcap/pcap.h> without
41a8e07101SRui Paulo  * leaving behind a <pcap.h> file.
428cf6c252SPaul Traina  */
43a8e07101SRui Paulo #include <pcap/pcap.h>
44