1*6f9cba8fSJoseph Mingrone /* 2*6f9cba8fSJoseph Mingrone * Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy) 3*6f9cba8fSJoseph Mingrone * Copyright (c) 2005 - 2010 CACE Technologies, Davis (California) 4*6f9cba8fSJoseph Mingrone * All rights reserved. 5*6f9cba8fSJoseph Mingrone * 6*6f9cba8fSJoseph Mingrone * Redistribution and use in source and binary forms, with or without 7*6f9cba8fSJoseph Mingrone * modification, are permitted provided that the following conditions 8*6f9cba8fSJoseph Mingrone * are met: 9*6f9cba8fSJoseph Mingrone * 10*6f9cba8fSJoseph Mingrone * 1. Redistributions of source code must retain the above copyright 11*6f9cba8fSJoseph Mingrone * notice, this list of conditions and the following disclaimer. 12*6f9cba8fSJoseph Mingrone * 2. Redistributions in binary form must reproduce the above copyright 13*6f9cba8fSJoseph Mingrone * notice, this list of conditions and the following disclaimer in the 14*6f9cba8fSJoseph Mingrone * documentation and/or other materials provided with the distribution. 15*6f9cba8fSJoseph Mingrone * 3. Neither the name of the Politecnico di Torino, CACE Technologies 16*6f9cba8fSJoseph Mingrone * nor the names of its contributors may be used to endorse or promote 17*6f9cba8fSJoseph Mingrone * products derived from this software without specific prior written 18*6f9cba8fSJoseph Mingrone * permission. 19*6f9cba8fSJoseph Mingrone * 20*6f9cba8fSJoseph Mingrone * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21*6f9cba8fSJoseph Mingrone * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 22*6f9cba8fSJoseph Mingrone * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 23*6f9cba8fSJoseph Mingrone * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 24*6f9cba8fSJoseph Mingrone * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 25*6f9cba8fSJoseph Mingrone * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 26*6f9cba8fSJoseph Mingrone * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27*6f9cba8fSJoseph Mingrone * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28*6f9cba8fSJoseph Mingrone * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29*6f9cba8fSJoseph Mingrone * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 30*6f9cba8fSJoseph Mingrone * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31*6f9cba8fSJoseph Mingrone * 32*6f9cba8fSJoseph Mingrone */ 33*6f9cba8fSJoseph Mingrone 34*6f9cba8fSJoseph Mingrone pcap_t *airpcap_create(const char *, char *, int *); 35*6f9cba8fSJoseph Mingrone int airpcap_findalldevs(pcap_if_list_t *devlistp, char *errbuf); 36*6f9cba8fSJoseph Mingrone int device_is_airpcap(const char *device, char *ebuf); 37