pcap-netfilter-linux.h revision 235426
168349Sobrien/*
268349Sobrien * Copyright (c) 2011 Jakub Zawadzki
368349Sobrien * All rights reserved.
468349Sobrien *
568349Sobrien * Redistribution and use in source and binary forms, with or without
668349Sobrien * modification, are permitted provided that the following conditions
768349Sobrien * are met:
868349Sobrien *
968349Sobrien * 1. Redistributions of source code must retain the above copyright
1068349Sobrien * notice, this list of conditions and the following disclaimer.
1168349Sobrien * 2. Redistributions in binary form must reproduce the above copyright
1268349Sobrien * notice, this list of conditions and the following disclaimer in the
1368349Sobrien * documentation and/or other materials provided with the distribution.
1468349Sobrien * 3. The name of the author may not be used to endorse or promote
1568349Sobrien * products derived from this software without specific prior written
1668349Sobrien * permission.
1768349Sobrien *
1868349Sobrien * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1968349Sobrien * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2068349Sobrien * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2168349Sobrien * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2268349Sobrien * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2368349Sobrien * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2468349Sobrien * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2568349Sobrien * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2668349Sobrien * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2768349Sobrien * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2868349Sobrien * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2968349Sobrien */
3068349Sobrien
3168349Sobrien/*
3268349Sobrien * Prototypes for netlink-related functions
3368349Sobrien */
3468349Sobrienint netfilter_platform_finddevs(pcap_if_t **alldevsp, char *err_str);
3568349Sobrienpcap_t *nflog_create(const char *device, char *ebuf);
3668349Sobrien