22 lines
413 B
C
22 lines
413 B
C
#ifndef VNET_H_INCLUDED
|
|
#define VNET_H_INCLUDED
|
|
|
|
#include <stdio.h>
|
|
#include <inttypes.h>
|
|
#include "umka.h"
|
|
|
|
net_device_t *vnet_init(int fd);
|
|
|
|
__attribute__((__stdcall__))
|
|
void vnet_unload(void);
|
|
|
|
__attribute__((__stdcall__))
|
|
void vnet_reset(void);
|
|
|
|
__attribute__((__stdcall__))
|
|
int vnet_transmit(net_buff_t *buf);
|
|
|
|
void vnet_receive_frame(net_device_t *dev, void *data, size_t size);
|
|
|
|
#endif // VNET_H_INCLUDED
|