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.

112 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. routing\ip\rtrmgr\mcastif.h
  5. Abstract:
  6. Header for mcastif.c
  7. Revision History:
  8. Gurdeep Singh Pall 6/26/95 Created
  9. --*/
  10. //
  11. // This is the size of buffer used for MGM queries
  12. //
  13. #define MIB_MFE_BUFFER_SIZE (1 * 1024)
  14. //
  15. // This is the size of buffer used for boundary queries
  16. //
  17. #define MIB_BOUNDARY_BUFFER_SIZE (1 * 1024)
  18. #define MIB_SCOPE_BUFFER_SIZE (1 * 1024)
  19. typedef struct MCAST_OVERLAPPED
  20. {
  21. IO_STATUS_BLOCK ioStatus;
  22. IPMCAST_NOTIFICATION msg;
  23. }MCAST_OVERLAPPED, *PMCAST_OVERLAPPED;
  24. VOID
  25. HandleMcastNotification(
  26. DWORD dwIndex
  27. );
  28. DWORD
  29. SendIoctlToMcastDevice(
  30. DWORD dwIoctl,
  31. HANDLE hEvent,
  32. PIO_STATUS_BLOCK pIoStatus,
  33. PVOID pvInBuffer,
  34. DWORD dwInBufLen,
  35. PVOID pvOutBuffer,
  36. DWORD dwOutBufLen
  37. );
  38. VOID
  39. HandleRcvPkt(
  40. PVOID pvContext
  41. );
  42. VOID
  43. PostNotificationForMcastEvents(
  44. PMCAST_OVERLAPPED pOverlapped,
  45. HANDLE hEvent
  46. );
  47. DWORD
  48. SetMfe(
  49. PIPMCAST_MFE pMfe
  50. );
  51. DWORD
  52. DeleteMfe(
  53. PIPMCAST_DELETE_MFE pDelMfe
  54. );
  55. DWORD
  56. GetMfe(
  57. PIPMCAST_MFE_STATS pMfeStats
  58. );
  59. DWORD
  60. ActivateMcastLimits(
  61. PICB picb
  62. );
  63. DWORD
  64. StartMulticast(
  65. VOID
  66. );
  67. DWORD
  68. SetMcastOnIf(
  69. PICB picb,
  70. BOOL bActivate
  71. );
  72. DWORD
  73. GetInterfaceMcastStatistics(
  74. PICB picb,
  75. PMIB_IPMCAST_IF_ENTRY pOutBuffer
  76. );
  77. DWORD
  78. GetInterfaceMcastCounters(
  79. PICB picb,
  80. PIP_MCAST_COUNTER_INFO pOutBuffer
  81. );
  82. DWORD
  83. SetInterfaceMcastStatistics(
  84. PICB picb,
  85. PMIB_IPMCAST_IF_ENTRY lpInBuffer
  86. );