pcap-bt-linux.h revision 214518
1214571Sdim/* 2214571Sdim * Copyright (c) 2006 Paolo Abeni (Italy) 3214571Sdim * All rights reserved. 4214571Sdim * 5214571Sdim * Redistribution and use in source and binary forms, with or without 6214571Sdim * modification, are permitted provided that the following conditions 7214571Sdim * are met: 8214571Sdim * 9214571Sdim * 1. Redistributions of source code must retain the above copyright 10214571Sdim * notice, this list of conditions and the following disclaimer. 11214571Sdim * 2. Redistributions in binary form must reproduce the above copyright 12214571Sdim * notice, this list of conditions and the following disclaimer in the 13214571Sdim * documentation and/or other materials provided with the distribution. 14214571Sdim * 3. The name of the author may not be used to endorse or promote 15214571Sdim * products derived from this software without specific prior written 16214571Sdim * permission. 17214571Sdim * 18214571Sdim * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19214571Sdim * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20214571Sdim * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21214571Sdim * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22214571Sdim * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23214571Sdim * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24214571Sdim * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25214571Sdim * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26214571Sdim * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27214571Sdim * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28214571Sdim * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29214571Sdim * 30214571Sdim * Bluetooth sniffing API implementation for Linux platform 31214571Sdim * By Paolo Abeni <paolo.abeni@email.it> 32214571Sdim * 33214571Sdim * @(#) $Header: /tcpdump/master/libpcap/pcap-bt-linux.h,v 1.5 2008-04-04 19:37:45 guy Exp $ (LBL) 34214571Sdim */ 35214571Sdim 36214571Sdim/* 37214571Sdim * Prototypes for Bluetooth-related functions 38214571Sdim */ 39214571Sdimint bt_platform_finddevs(pcap_if_t **alldevsp, char *err_str); 40214571Sdimpcap_t *bt_create(const char *device, char *ebuf); 41214571Sdim