mirror of
https://github.com/norohind/hans.git
synced 2025-06-09 20:02:10 +03:00
__packed__ attribute in ClientConnectData for future use
This commit is contained in:
parent
7e5bb37d1a
commit
2df93b82a6
2
server.h
2
server.h
@ -34,6 +34,8 @@ public:
|
|||||||
Server(int tunnelMtu, const char *deviceName, const char *passphrase, uint32_t network, bool answerEcho, uid_t uid, gid_t gid, int pollTimeout);
|
Server(int tunnelMtu, const char *deviceName, const char *passphrase, uint32_t network, bool answerEcho, uid_t uid, gid_t gid, int pollTimeout);
|
||||||
virtual ~Server();
|
virtual ~Server();
|
||||||
|
|
||||||
|
// change some time:
|
||||||
|
// struct __attribute__ ((__packed__)) ClientConnectData
|
||||||
struct ClientConnectData
|
struct ClientConnectData
|
||||||
{
|
{
|
||||||
uint8_t maxPolls;
|
uint8_t maxPolls;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user