mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-25 20:59:20 +03:00
Cedar: various improvements to Proto
The PROTO structure is now used to identify the system as a whole, rather than a single protocol. It's stored and initialized in Server. ProtoCompare(), ProtoAdd() and ProtoDetected() are renamed to make the difference between PROTO and PROTO_IMPL more clear. ProtoGet() and ProtoNum() are removed because the related list can now be accessed directly by Server.
This commit is contained in:
@ -242,6 +242,7 @@ struct SERVER
|
||||
volatile bool HaltDeadLockThread; // Halting flag
|
||||
EVENT *DeadLockWaitEvent; // Waiting Event
|
||||
|
||||
PROTO *Proto; // Protocols handler
|
||||
IPSEC_SERVER *IPsecServer; // IPsec server function
|
||||
OPENVPN_SERVER_UDP *OpenVpnServerUdp; // OpenVPN server function
|
||||
char OpenVpnServerUdpPorts[MAX_SIZE]; // UDP port list string
|
||||
|
Reference in New Issue
Block a user