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.

148 lines
2.3 KiB

  1. //=============================================================================
  2. // Copyright (c) 1997 Microsoft Corporation
  3. //
  4. // File: work1.h
  5. //
  6. // Abstract:
  7. // Contains declarations and function prototypes related to work.c.
  8. //
  9. // Author: K.S.Lokesh (lokeshs@) 11-1-97
  10. //
  11. // Revision History:
  12. //=============================================================================
  13. #ifndef _WORK1_H_
  14. #define _WORK1_H_
  15. DWORD
  16. ProcessGroupQuery(
  17. PIF_TABLE_ENTRY pite,
  18. IGMP_HEADER UNALIGNED *pHdr,
  19. DWORD InPacketSize,
  20. DWORD InputSrcAddr,
  21. DWORD DstnMcastAddr
  22. );
  23. DWORD
  24. ProcessReport(
  25. PIF_TABLE_ENTRY pite,
  26. IGMP_HEADER UNALIGNED *pHdr,
  27. DWORD InPacketSize,
  28. DWORD InputSrcAddr,
  29. DWORD DstnMcastAddr
  30. );
  31. DWORD
  32. ProcessV3Report(
  33. PGI_ENTRY pgie,
  34. PGROUP_RECORD pGroupRecord,
  35. BOOL *bUpdateGroupTimer
  36. );
  37. VOID
  38. SendV3GroupQuery(
  39. PGI_ENTRY pgie
  40. );
  41. VOID
  42. DeleteSourceEntry(
  43. PGI_SOURCE_ENTRY pSourceEntry,
  44. BOOL bMgm
  45. );
  46. PGI_SOURCE_ENTRY
  47. GetSourceEntry(
  48. PGI_ENTRY pgie,
  49. IPADDR Source,
  50. DWORD Mode,
  51. BOOL *bCreate,
  52. DWORD Gmi,
  53. BOOL bMgm
  54. );
  55. VOID
  56. GIDeleteAllV3Sources(
  57. PGI_ENTRY pgie,
  58. BOOL bMgm
  59. );
  60. DWORD
  61. UpdateSourceExpTimer(
  62. PGI_SOURCE_ENTRY pSourceEntry,
  63. DWORD Gmi,
  64. BOOL bRemoveLastMem
  65. );
  66. DWORD
  67. ChangeGroupFilterMode(
  68. PGI_ENTRY pgie,
  69. DWORD Mode
  70. );
  71. VOID
  72. ChangeSourceFilterMode(
  73. PGI_ENTRY pgie,
  74. PGI_SOURCE_ENTRY pSourceEntry
  75. );
  76. VOID
  77. InclusionSourcesUnion(
  78. PGI_ENTRY pgie,
  79. PGROUP_RECORD pGroupRecord
  80. );
  81. VOID
  82. SourcesSubtraction(
  83. PGI_ENTRY pgie,
  84. PGROUP_RECORD pGroupRecord,
  85. BOOL Mode
  86. );
  87. DWORD
  88. BuildAndSendSourcesQuery(
  89. PGI_ENTRY pgie,
  90. PGROUP_RECORD pGroupRecord,
  91. DWORD Mode
  92. );
  93. VOID
  94. InsertSourceInQueryList(
  95. PGI_SOURCE_ENTRY pSourceEntry
  96. );
  97. VOID
  98. MoveFromExcludeToIncludeList(
  99. PGI_ENTRY pgie,
  100. PGROUP_RECORD pGroupRecord
  101. );
  102. DWORD
  103. T_V3SourcesQueryTimer (
  104. PVOID pvContext
  105. );
  106. DWORD
  107. T_LastVer2ReportTimer (
  108. PVOID pvContext
  109. );
  110. DWORD
  111. T_SourceExpTimer (
  112. PVOID pvContext
  113. );
  114. VOID
  115. DebugPrintSourcesList(
  116. PGI_ENTRY pgie
  117. );
  118. VOID
  119. DebugPrintSourcesList1(
  120. PGI_ENTRY pgie
  121. );
  122. #endif //_WORK1_H_