*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __CAPTURE_PCAP_UTIL_H__
#ifdef HAVE_LIBPCAP
+#include <pcap.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-#include <pcap.h>
-
/*
* A snapshot length of 0 is useless - and libpcap/WinPcap don't guarantee
* that a snapshot length of 0 will work, and, on some platforms, it won't
const char *passwd, int *err, char **err_str);
#endif
-/* get/set the link type of an interface */
-/* (only used in capture_loop.c / capture-pcap-util.c) */
-int get_pcap_linktype(pcap_t *pch, const char *devname);
-
-
const char *linktype_val_to_name(int dlt);
int linktype_name_to_val(const char *linktype);