kolibrios/kernel/trunk/umka/vnet.h
Magomed Kostoev (mkostoevr) 74e8772507 [KERNEL][UMKA] Initial commit
git-svn-id: svn://kolibrios.org@9325 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-26 23:05:35 +00:00

23 lines
350 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);
STDCALL void
vnet_unload(void);
STDCALL void
vnet_reset(void);
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