Leaked source code of windows server 2003
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.

109 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. routing\ip\rtrmgr\map.c
  5. Abstract:
  6. Header for map.c
  7. Revision History:
  8. Amritansh Raghav 10/6/95 Created
  9. --*/
  10. VOID
  11. InitHashTables(
  12. VOID
  13. );
  14. VOID
  15. UnInitHashTables(
  16. VOID
  17. );
  18. VOID
  19. AddBinding(
  20. PICB picb
  21. );
  22. VOID
  23. RemoveBinding(
  24. PICB picb
  25. );
  26. PADAPTER_INFO
  27. GetInterfaceBinding(
  28. DWORD dwIfIndex
  29. );
  30. #if DBG
  31. VOID
  32. CheckBindingConsistency(
  33. PICB picb
  34. );
  35. #else
  36. #define CheckBindingConsistency(x) NOTHING
  37. #endif
  38. /*
  39. DWORD
  40. StoreAdapterToInterfaceMap(
  41. DWORD dwAdapterId,
  42. DWORD dwIfIndex
  43. );
  44. DWORD
  45. DeleteAdapterToInterfaceMap(
  46. DWORD dwAdapterId
  47. );
  48. DWORD
  49. GetInterfaceFromAdapter(
  50. DWORD dwAdapterId
  51. );
  52. PADAPTER_MAP
  53. LookUpAdapterHash(
  54. DWORD dwAdapterId
  55. );
  56. VOID
  57. InsertAdapterHash(
  58. PADAPTER_MAP paiBlock
  59. );
  60. DWORD
  61. GetAdapterFromInterface(
  62. DWORD dwIfIndex
  63. );
  64. */
  65. VOID
  66. AddInterfaceLookup(
  67. PICB picb
  68. );
  69. VOID
  70. RemoveInterfaceLookup(
  71. PICB picb
  72. );
  73. PICB
  74. InterfaceLookupByIfIndex(
  75. DWORD dwIfIndex
  76. );
  77. PICB
  78. InterfaceLookupByICBSeqNumber(
  79. DWORD dwSeqNumber
  80. );