1230832Sgnn/*
2230832Sgnn * Copyright (c) 2011 Jakub Zawadzki
3230832Sgnn * All rights reserved.
4230832Sgnn *
5230832Sgnn * Redistribution and use in source and binary forms, with or without
6230832Sgnn * modification, are permitted provided that the following conditions
7230832Sgnn * are met:
8230832Sgnn *
9230832Sgnn * 1. Redistributions of source code must retain the above copyright
10230832Sgnn * notice, this list of conditions and the following disclaimer.
11230832Sgnn * 2. Redistributions in binary form must reproduce the above copyright
12230832Sgnn * notice, this list of conditions and the following disclaimer in the
13230832Sgnn * documentation and/or other materials provided with the distribution.
14230832Sgnn * 3. The name of the author may not be used to endorse or promote
15230832Sgnn * products derived from this software without specific prior written
16230832Sgnn * permission.
17230832Sgnn *
18230832Sgnn * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19230832Sgnn * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20230832Sgnn * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21230832Sgnn * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22230832Sgnn * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23230832Sgnn * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24230832Sgnn * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25230832Sgnn * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26230832Sgnn * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27230832Sgnn * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28230832Sgnn * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29230832Sgnn */
30230832Sgnn
31230832Sgnn/*
32230832Sgnn * Prototypes for netlink-related functions
33230832Sgnn */
34252281Sdelphijint netfilter_findalldevs(pcap_if_t **alldevsp, char *err_str);
35252281Sdelphijpcap_t *netfilter_create(const char *device, char *ebuf, int *is_ours);
36