1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 10:10:40 +03:00
SoftEtherVPN/src/Cedar/SecureNAT.h
2021-04-05 04:48:25 +02:00

33 lines
595 B
C

// SoftEther VPN Source Code - Developer Edition Master Branch
// Cedar Communication Module
// SecureNAT.h
// Header of SecureNAT.c
#ifndef SECURENAT_H
#define SECURENAT_H
#include "CedarType.h"
#include "Mayaqua/MayaType.h"
struct SNAT
{
LOCK *lock; // Lock
CEDAR *Cedar; // Cedar
HUB *Hub; // HUB
SESSION *Session; // Session
POLICY *Policy; // Policy
NAT *Nat; // NAT
};
SNAT *SnNewSecureNAT(HUB *h, VH_OPTION *o);
void SnFreeSecureNAT(SNAT *s);
void SnSecureNATThread(THREAD *t, void *param);
#endif // SECURENAT_H