Upstream vwifi v7.0 (Raizo62/vwifi @ 4a9842e)

Unmodified upstream source from https://github.com/Raizo62/vwifi
Commit: 4a9842e "CMakeLists.txt : VERSION = 7.0"

Simulator of WiFi (802.11) interfaces to communicate between
several Virtual Machines via mac80211_hwsim + TCP relay.

License: Apache-2.0
This commit is contained in:
Guy Resheff
2026-03-08 08:19:45 -07:00
commit 92df7a383a
75 changed files with 8628 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#ifndef _CSOCKETCLIENTVTCP_H_
#define _CSOCKETCLIENTVTCP_H_
#include <netinet/ip.h> // struct sockaddr_in
#include <linux/vm_sockets.h> // struct sockaddr_vm
#include "csocketclient.h"
class CSocketClientVTCP : public CSocketClient
{
private :
struct sockaddr_vm Server;
public :
CSocketClientVTCP();
void Init(TPort port);
bool _Configure() override;
bool _Connect() override;
int _GetID() override;
};
#endif