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:
@@ -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
|
||||
Reference in New Issue
Block a user