1/********************************************************************* 2 PicoTCP. Copyright (c) 2012-2017 Altran Intelligent Systems. Some rights reserved. 3 See COPYING, LICENSE.GPLv2 and LICENSE.GPLv3 for usage. 4 5 6 Author: Daniele Lacamera <daniele.lacamera@altran.com> 7 *********************************************************************/ 8#ifndef INCLUDE_PICO_PCAP 9#define INCLUDE_PICO_PCAP 10#include "pico_config.h" 11#include "pico_device.h" 12#include <pcap.h> 13 14void pico_pcap_destroy(struct pico_device *pcap); 15struct pico_device *pico_pcap_create_live(char *ifname, char *name, uint8_t *mac); 16struct pico_device *pico_pcap_create_fromfile(char *filename, char *name, uint8_t *mac); 17 18#endif 19 20