vmnet-proxy/pkg/vmnet/vmnet.h
2024-11-15 05:45:55 +01:00

13 lines
435 B
C

#ifndef vmnet_h
#define vmnet_h
#include <sys/uio.h>
#include <vmnet/vmnet.h>
void _vmnet_start(interface_ref *interface, char *host_interface, uint64_t *max_packet_size);
void _vmnet_stop(interface_ref interface);
void _vmnet_write(interface_ref interface, void *bytes, size_t bytes_size);
void _vmnet_read(interface_ref interface, uint64_t max_packet_size,
void **bytes, size_t *bytes_size);
#endif /* vmnet_h */