Source code of Windows XP (NT5)
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

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. routing\ip\rtrmgr\nat.h
  5. Abstract:
  6. Header for nat.c
  7. Revision History:
  8. Gurdeep Singh Pall 6/26/95 Created
  9. --*/
  10. DWORD
  11. StartNat(
  12. PIP_NAT_GLOBAL_INFO pNatGlobalInfo
  13. );
  14. DWORD
  15. StopNat(
  16. VOID
  17. );
  18. DWORD
  19. SetGlobalNatInfo(
  20. PRTR_INFO_BLOCK_HEADER pRtrGlobalInfo
  21. );
  22. DWORD
  23. AddInterfaceToNat(
  24. PICB picb
  25. );
  26. DWORD
  27. SetNatInterfaceInfo(
  28. PICB picb,
  29. PRTR_INFO_BLOCK_HEADER pInterfaceInfo
  30. );
  31. DWORD
  32. BindNatInterface(
  33. PICB picb
  34. );
  35. DWORD
  36. UnbindNatInterface(
  37. PICB picb
  38. );
  39. DWORD
  40. DeleteInterfaceFromNat(
  41. PICB picb
  42. );
  43. DWORD
  44. SetNatContextToIpStack(
  45. PICB picb
  46. );
  47. DWORD
  48. DeleteNatContextFromIpStack(
  49. PICB picb
  50. );
  51. DWORD
  52. GetInterfaceNatInfo(
  53. PICB picb,
  54. PRTR_TOC_ENTRY pToc,
  55. PBYTE pbDataPtr,
  56. PRTR_INFO_BLOCK_HEADER pInfoHdrAndBuffer,
  57. PDWORD pdwSize
  58. );
  59. DWORD
  60. GetNatMappings(
  61. PICB picb,
  62. PIP_NAT_ENUMERATE_SESSION_MAPPINGS pBuffer,
  63. DWORD dwSize
  64. );
  65. DWORD
  66. GetNumNatMappings(
  67. PICB picb,
  68. PULONG pulNatMappings
  69. );
  70. DWORD
  71. GetNatStatistics(
  72. PICB picb,
  73. PIP_NAT_INTERFACE_STATISTICS pBuffer
  74. );
  75. VOID
  76. SetNatRangeForProxyArp(
  77. PICB picb
  78. );
  79. VOID
  80. DeleteNatRangeFromProxyArp(
  81. PICB picb
  82. );