pcap-bt-linux.h revision 225736
1275970Scy/*
2275970Scy * Copyright (c) 2006 Paolo Abeni (Italy)
3275970Scy * All rights reserved.
4275970Scy *
5275970Scy * Redistribution and use in source and binary forms, with or without
6275970Scy * modification, are permitted provided that the following conditions
7275970Scy * are met:
8275970Scy *
9275970Scy * 1. Redistributions of source code must retain the above copyright
10275970Scy * notice, this list of conditions and the following disclaimer.
11275970Scy * 2. Redistributions in binary form must reproduce the above copyright
12275970Scy * notice, this list of conditions and the following disclaimer in the
13275970Scy * documentation and/or other materials provided with the distribution.
14275970Scy * 3. The name of the author may not be used to endorse or promote
15275970Scy * products derived from this software without specific prior written
16275970Scy * permission.
17275970Scy *
18275970Scy * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19275970Scy * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20275970Scy * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21275970Scy * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22275970Scy * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23275970Scy * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24275970Scy * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25275970Scy * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26275970Scy * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27275970Scy * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28275970Scy * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29275970Scy *
30275970Scy * Bluetooth sniffing API implementation for Linux platform
31275970Scy * By Paolo Abeni <paolo.abeni@email.it>
32275970Scy *
33275970Scy * @(#) $Header: /tcpdump/master/libpcap/pcap-bt-linux.h,v 1.5 2008-04-04 19:37:45 guy Exp $ (LBL)
34275970Scy */
35275970Scy
36275970Scy/*
37275970Scy * Prototypes for Bluetooth-related functions
38275970Scy */
39275970Scyint bt_platform_finddevs(pcap_if_t **alldevsp, char *err_str);
40275970Scypcap_t *bt_create(const char *device, char *ebuf);
41275970Scy