Porting PicoTCP WIP
This commit is contained in:
18
kernel/picotcp/modules/pico_dev_vde.h
Normal file
18
kernel/picotcp/modules/pico_dev_vde.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*********************************************************************
|
||||
PicoTCP. Copyright (c) 2012-2017 Altran Intelligent Systems. Some rights reserved.
|
||||
See COPYING, LICENSE.GPLv2 and LICENSE.GPLv3 for usage.
|
||||
|
||||
|
||||
*********************************************************************/
|
||||
#ifndef INCLUDE_PICO_VDE
|
||||
#define INCLUDE_PICO_VDE
|
||||
#include "pico_config.h"
|
||||
#include "pico_device.h"
|
||||
#include <libvdeplug.h>
|
||||
|
||||
void pico_vde_destroy(struct pico_device *vde);
|
||||
struct pico_device *pico_vde_create(char *sock, char *name, uint8_t *mac);
|
||||
void pico_vde_set_packetloss(struct pico_device *dev, uint32_t in_pct, uint32_t out_pct);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user