Leaked source code of windows server 2003
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.

85 lines
1.5 KiB

  1. #if GPC
  2. NTSTATUS
  3. IPSecGpcInitialize(
  4. );
  5. NTSTATUS
  6. IPSecGpcDeinitialize(
  7. );
  8. NTSTATUS
  9. IPSecEnableGpc(
  10. );
  11. NTSTATUS
  12. IPSecDisableGpc(
  13. );
  14. NTSTATUS
  15. IPSecInitGpcFilter(
  16. IN PFILTER pFilter,
  17. IN PGPC_IP_PATTERN pPattern,
  18. IN PGPC_IP_PATTERN pMask
  19. );
  20. NTSTATUS
  21. IPSecInsertGpcPattern(
  22. IN PFILTER pFilter
  23. );
  24. NTSTATUS
  25. IPSecDeleteGpcPattern(
  26. IN PFILTER pFilter
  27. );
  28. NTSTATUS
  29. IPSecInsertGpcFilter(
  30. IN PFILTER pFilter
  31. );
  32. NTSTATUS
  33. IPSecDeleteGpcFilter(
  34. IN PFILTER pFilter
  35. );
  36. NTSTATUS
  37. IPSecInstallGpcFilter(
  38. IN PFILTER pFilter
  39. );
  40. NTSTATUS
  41. IPSecUninstallGpcFilter(
  42. IN PFILTER pFilter
  43. );
  44. NTSTATUS
  45. IPSecLookupGpcSA(
  46. IN ULARGE_INTEGER uliSrcDstAddr,
  47. IN ULARGE_INTEGER uliProtoSrcDstPort,
  48. IN CLASSIFICATION_HANDLE GpcHandle,
  49. OUT PFILTER *ppFilter,
  50. OUT PSA_TABLE_ENTRY *ppSA,
  51. OUT PSA_TABLE_ENTRY *ppNextSA,
  52. OUT PSA_TABLE_ENTRY *ppTunnelSA,
  53. IN BOOLEAN fOutbound,
  54. IN BOOLEAN fVerify,
  55. IN PIPSEC_UDP_ENCAP_CONTEXT pNatContext
  56. );
  57. NTSTATUS
  58. IPSecLookupGpcMaskedSA(
  59. IN ULARGE_INTEGER uliSrcDstAddr,
  60. IN ULARGE_INTEGER uliProtoSrcDstPort,
  61. OUT PFILTER *ppFilter,
  62. OUT PSA_TABLE_ENTRY *ppSA,
  63. IN BOOLEAN fOutbound,
  64. IN PIPSEC_UDP_ENCAP_CONTEXT pNatContext
  65. );
  66. #endif