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.

98 lines
1.7 KiB

  1. //=============================================================================
  2. // Copyright (c) 1997 Microsoft Corporation
  3. //
  4. // File: table2.c
  5. //
  6. // Abstract:
  7. // This module contains function prototypes for table2.h.
  8. //
  9. // Author: K.S.Lokesh (lokeshs@) 11-1-97
  10. //
  11. // Revision History:
  12. //=============================================================================
  13. #ifndef _IGMP_TABLE2_H_
  14. #define _IGMP_TABLE2_H_
  15. //
  16. // function prototypes
  17. //
  18. PRAS_TABLE_ENTRY
  19. GetRasClientByAddr (
  20. DWORD NHAddr,
  21. PRAS_TABLE prt
  22. );
  23. PIF_TABLE_ENTRY
  24. GetIfByIndex(
  25. DWORD IpAddr
  26. );
  27. DWORD
  28. InsertIfByAddr(
  29. PIF_TABLE_ENTRY piteInsert
  30. );
  31. BOOL
  32. MatchIpAddrBinding(
  33. PIF_TABLE_ENTRY pite,
  34. DWORD IpAddr
  35. );
  36. PGROUP_TABLE_ENTRY
  37. GetGroupFromGroupTable (
  38. DWORD Group,
  39. BOOL *bCreate, //set to true if new one created
  40. LONGLONG llCurrentTime
  41. );
  42. PGI_ENTRY
  43. GetGIFromGIList (
  44. PGROUP_TABLE_ENTRY pge,
  45. PIF_TABLE_ENTRY pite,
  46. DWORD dwInputSrcAddr,
  47. BOOL bStaticGroup,
  48. BOOL *bCreate,
  49. LONGLONG llCurrentTime
  50. );
  51. VOID
  52. InsertInProxyList (
  53. PIF_TABLE_ENTRY pite,
  54. PPROXY_GROUP_ENTRY pNewProxyEntry
  55. );
  56. VOID
  57. APIENTRY
  58. DebugPrintGroups (
  59. DWORD Flags
  60. );
  61. VOID
  62. DebugPrintLists(
  63. PLIST_ENTRY pHead
  64. );
  65. VOID
  66. DebugPrintGroupsList (
  67. DWORD Flags
  68. );
  69. VOID
  70. DebugPrintIfGroups(
  71. PIF_TABLE_ENTRY pite,
  72. DWORD Flags
  73. );
  74. VOID
  75. DebugForcePrintGroupsList (
  76. DWORD Flags
  77. );
  78. #define ENSURE_EMPTY 0x1000
  79. #endif //_IGMP_TABLE2_H_