Porting PicoTCP WIP
This commit is contained in:
19
kernel/picotcp/modules/pico_dev_pcap.h
Normal file
19
kernel/picotcp/modules/pico_dev_pcap.h
Normal file
@ -0,0 +1,19 @@
|
||||
/*********************************************************************
|
||||
PicoTCP. Copyright (c) 2012-2017 Altran Intelligent Systems. Some rights reserved.
|
||||
See COPYING, LICENSE.GPLv2 and LICENSE.GPLv3 for usage.
|
||||
|
||||
|
||||
Author: Daniele Lacamera <daniele.lacamera@altran.com>
|
||||
*********************************************************************/
|
||||
#ifndef INCLUDE_PICO_PCAP
|
||||
#define INCLUDE_PICO_PCAP
|
||||
#include "pico_config.h"
|
||||
#include "pico_device.h"
|
||||
#include <pcap.h>
|
||||
|
||||
void pico_pcap_destroy(struct pico_device *pcap);
|
||||
struct pico_device *pico_pcap_create_live(char *ifname, char *name, uint8_t *mac);
|
||||
struct pico_device *pico_pcap_create_fromfile(char *filename, char *name, uint8_t *mac);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user