working commit
This commit is contained in:
+8
-2
@@ -8,15 +8,21 @@
|
||||
|
||||
#include <sockhand.hpp>
|
||||
|
||||
class NetworkSlot {
|
||||
class TunNetwork {
|
||||
public:
|
||||
TunNetwork(std::string iladdr, std::string iraddr);
|
||||
std::string laddr;
|
||||
std::string raddr;
|
||||
bool used;
|
||||
};
|
||||
|
||||
|
||||
|
||||
class TunService {
|
||||
private:
|
||||
std::string tunnelnet;
|
||||
std::vector<std::string> localnets;
|
||||
std::vector<NetworkSlot> netslots;
|
||||
std::vector<TunNetwork> tunnets;
|
||||
int listenport;
|
||||
int sock;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user