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.

119 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1991 Microsoft Corporation
  3. Module Name:
  4. tcpip\ip\mcastmfe.h
  5. Abstract:
  6. IOCTL handlers for IP Multicasting
  7. Author:
  8. Amritansh Raghav
  9. Revision History:
  10. AmritanR Created
  11. Notes:
  12. --*/
  13. NTSTATUS
  14. CreateOrUpdateMfe(
  15. IN PIPMCAST_MFE pMfe
  16. );
  17. PGROUP
  18. LookupGroup(
  19. IN DWORD dwGroupAddr
  20. );
  21. PSOURCE
  22. FindSourceGivenGroup(
  23. IN PGROUP pGroup,
  24. IN DWORD dwSource,
  25. IN DWORD dwSrcMask
  26. );
  27. Interface*
  28. GetInterfaceGivenIndex(
  29. DWORD dwIndex
  30. );
  31. PSOURCE
  32. FindSGEntry(
  33. DWORD dwSrc,
  34. DWORD dwGroup
  35. );
  36. #if DBG
  37. NTSTATUS
  38. FindOrCreateSource(
  39. IN DWORD dwGroup,
  40. IN DWORD dwGroupIndex,
  41. IN DWORD dwSource,
  42. IN DWORD dwSrcMask,
  43. OUT SOURCE **ppRetSource,
  44. OUT BOOLEAN *pbCreated
  45. );
  46. #else
  47. NTSTATUS
  48. FindOrCreateSource(
  49. IN DWORD dwGroup,
  50. IN DWORD dwGroupIndex,
  51. IN DWORD dwSource,
  52. IN DWORD dwSrcMask,
  53. OUT SOURCE **ppRetSource
  54. );
  55. #endif
  56. NTSTATUS
  57. CreateSourceAndQueuePacket(
  58. IN DWORD dwGroup,
  59. IN DWORD dwSource,
  60. IN DWORD dwRcvIfIndex,
  61. IN LinkEntry *pLink,
  62. IN PNDIS_PACKET pnpPacket
  63. );
  64. NTSTATUS
  65. SendWrongIfUpcall(
  66. IN Interface *pIf,
  67. IN LinkEntry *pLink,
  68. IN IPHeader UNALIGNED *pHeader,
  69. IN ULONG ulHdrLen,
  70. IN PVOID pvOptions,
  71. IN ULONG ulOptLen,
  72. IN PVOID pvData,
  73. IN ULONG ulDataLen
  74. );
  75. NTSTATUS
  76. QueuePacketToSource(
  77. IN PSOURCE pSource,
  78. IN PNDIS_PACKET pnpPacket
  79. );
  80. VOID
  81. DeleteSource(
  82. IN PSOURCE pSource
  83. );
  84. VOID
  85. RemoveSource(
  86. DWORD dwGroup,
  87. DWORD dwSource,
  88. DWORD dwSrcMask,
  89. PGROUP pGroup,
  90. PSOURCE pSource
  91. );