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.

58 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998, Microsoft Corporation
  3. Module Name:
  4. notify.h
  5. Abstract:
  6. This module contains declarations for the NAT's notification handling.
  7. The user-mode may queue notification buffers to the NAT to be completed
  8. upon occurrence of a specific event. For instance, a route-failure buffer
  9. is queued so that when an unroutable packet is seen, its destination is
  10. written into the first available buffer and the route-failure IRP
  11. is completed.
  12. Author:
  13. Abolade Gbadegesin (aboladeg) July-26-1998
  14. Revision History:
  15. --*/
  16. #ifndef _NAT_NOTIFY_H_
  17. #define _NAT_NOTIFY_H_
  18. VOID
  19. NatCleanupAnyAssociatedNotification(
  20. PFILE_OBJECT FileObject
  21. );
  22. VOID
  23. NatInitializeNotificationManagement(
  24. VOID
  25. );
  26. NTSTATUS
  27. NatRequestNotification(
  28. PIP_NAT_REQUEST_NOTIFICATION RequestNotification,
  29. PIRP Irp,
  30. PFILE_OBJECT FileObject
  31. );
  32. VOID
  33. NatSendRoutingFailureNotification(
  34. ULONG DestinationAddress,
  35. ULONG SourceAddress
  36. );
  37. VOID
  38. NatShutdownNotificationManagement(
  39. VOID
  40. );
  41. #endif // _NAT_NOTIFY_H_