mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
1.5 KiB
105 lines
1.5 KiB
/*++
|
|
|
|
Copyright (c) 1995 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
routing\ip\rtrmgr\nat.h
|
|
|
|
Abstract:
|
|
|
|
Header for nat.c
|
|
|
|
Revision History:
|
|
|
|
Gurdeep Singh Pall 6/26/95 Created
|
|
|
|
--*/
|
|
|
|
DWORD
|
|
StartNat(
|
|
PIP_NAT_GLOBAL_INFO pNatGlobalInfo
|
|
);
|
|
|
|
DWORD
|
|
StopNat(
|
|
VOID
|
|
);
|
|
|
|
DWORD
|
|
SetGlobalNatInfo(
|
|
PRTR_INFO_BLOCK_HEADER pRtrGlobalInfo
|
|
);
|
|
|
|
DWORD
|
|
AddInterfaceToNat(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
SetNatInterfaceInfo(
|
|
PICB picb,
|
|
PRTR_INFO_BLOCK_HEADER pInterfaceInfo
|
|
);
|
|
|
|
DWORD
|
|
BindNatInterface(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
UnbindNatInterface(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
DeleteInterfaceFromNat(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
SetNatContextToIpStack(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
DeleteNatContextFromIpStack(
|
|
PICB picb
|
|
);
|
|
|
|
DWORD
|
|
GetInterfaceNatInfo(
|
|
PICB picb,
|
|
PRTR_TOC_ENTRY pToc,
|
|
PBYTE pbDataPtr,
|
|
PRTR_INFO_BLOCK_HEADER pInfoHdrAndBuffer,
|
|
PDWORD pdwSize
|
|
);
|
|
|
|
DWORD
|
|
GetNatMappings(
|
|
PICB picb,
|
|
PIP_NAT_ENUMERATE_SESSION_MAPPINGS pBuffer,
|
|
DWORD dwSize
|
|
);
|
|
|
|
DWORD
|
|
GetNumNatMappings(
|
|
PICB picb,
|
|
PULONG pulNatMappings
|
|
);
|
|
|
|
DWORD
|
|
GetNatStatistics(
|
|
PICB picb,
|
|
PIP_NAT_INTERFACE_STATISTICS pBuffer
|
|
);
|
|
VOID
|
|
SetNatRangeForProxyArp(
|
|
PICB picb
|
|
);
|
|
VOID
|
|
DeleteNatRangeFromProxyArp(
|
|
PICB picb
|
|
);
|
|
|