windows-nt/Source/XPSP1/NT/net/rras/ip/rtrmgr/nat.h

106 lines
1.5 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/*++
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
);