pcap-bt-linux.h revision 190225
1112163Sdas/*
2112163Sdas * Copyright (c) 2006 Paolo Abeni (Italy)
3112163Sdas * All rights reserved.
4112163Sdas *
5227753Stheraven * Redistribution and use in source and binary forms, with or without
6227753Stheraven * modification, are permitted provided that the following conditions
7227753Stheraven * are met:
8227753Stheraven *
9227753Stheraven * 1. Redistributions of source code must retain the above copyright
10112163Sdas * notice, this list of conditions and the following disclaimer.
11112163Sdas * 2. Redistributions in binary form must reproduce the above copyright
12112163Sdas * notice, this list of conditions and the following disclaimer in the
13112163Sdas * documentation and/or other materials provided with the distribution.
14112163Sdas * 3. The name of the author may not be used to endorse or promote
15112163Sdas * products derived from this software without specific prior written
16112163Sdas * permission.
17112163Sdas *
18112163Sdas * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19112163Sdas * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20112163Sdas * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21112163Sdas * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22112163Sdas * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23112163Sdas * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24112163Sdas * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25112163Sdas * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26112163Sdas * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27112163Sdas * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28112163Sdas * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29112163Sdas *
30112163Sdas * Bluetooth sniffing API implementation for Linux platform
31112163Sdas * By Paolo Abeni <paolo.abeni@email.it>
32112163Sdas *
33112163Sdas * @(#) $Header: /tcpdump/master/libpcap/pcap-bt-linux.h,v 1.4.2.1 2008-04-04 19:39:05 guy Exp $ (LBL)
34112163Sdas */
35112163Sdas
36112163Sdas/*
37112163Sdas * Prototypes for Bluetooth-related functions
38112163Sdas */
39112163Sdasint bt_platform_finddevs(pcap_if_t **alldevsp, char *err_str);
40112163Sdaspcap_t *bt_create(const char *device, char *ebuf);
41174204Sdas