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.

64 lines
1.6 KiB

  1. //============================================================================
  2. // Copyright (c) 1995, Microsoft Corporation
  3. //
  4. // File: forward.h
  5. //
  6. // History:
  7. // V Raman June-25-1997 Created.
  8. //
  9. // Declarations for wrapper functions for callbacks into IP Router Manager.
  10. // These functions represent the interface for MGM to the kernel mode
  11. // forwarder.
  12. //============================================================================
  13. #ifndef _FORWARD_H_
  14. #define _FORWARD_H_
  15. VOID
  16. GetMfeFromForwarder(
  17. );
  18. VOID
  19. AddMfeToForwarder(
  20. PGROUP_ENTRY pge,
  21. PSOURCE_ENTRY pse,
  22. DWORD dwTimeout
  23. );
  24. VOID
  25. DeleteMfeFromForwarder(
  26. PGROUP_ENTRY pge,
  27. PSOURCE_ENTRY pse
  28. );
  29. //
  30. // New Packet recevied API. Used to notify MGM of packet arrival.
  31. // MGM creates an MFE in response to this.
  32. //
  33. DWORD
  34. MgmNewPacketReceived(
  35. IN DWORD dwSourceAddr,
  36. IN DWORD dwGroupAddr,
  37. IN DWORD dwInIfIndex,
  38. IN DWORD dwInIfNextHopAddr,
  39. IN DWORD dwHdrSize,
  40. IN PBYTE pbPacketHdr
  41. );
  42. DWORD
  43. WrongIfFromForwarder(
  44. IN DWORD dwSourceAddr,
  45. IN DWORD dwGroupAddr,
  46. IN DWORD dwInIfIndex,
  47. IN DWORD dwInIfNextHopAddr,
  48. IN DWORD dwHdrSize,
  49. IN PBYTE pbPacketHdr
  50. );
  51. #endif // _FORWARD_H_