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.

97 lines
3.9 KiB

  1. /*
  2. * File: print.h
  3. * Description: This file contains function prototypes for the print
  4. * utilities for the NLB KD extensions.
  5. * History: Created by shouse, 1.4.01
  6. */
  7. /* Prints usage information for the specified context. */
  8. void PrintUsage (ULONG dwContext);
  9. /* Prints the contents of the MAIN_ADAPTER structure at the specified verbosity. */
  10. void PrintAdapter (ULONG64 pAdapter, ULONG dwVerbosity);
  11. /* Prints the contents of the MAIN_CTXT structure at the specified verbosity. */
  12. void PrintContext (ULONG64 pContext, ULONG dwVerbosity);
  13. /* Prints the contents of the CVY_PARAMS structure at the specified verbosity. */
  14. void PrintParams (ULONG64 pParams, ULONG dwVerbosity);
  15. /* Prints the NLB port rules. */
  16. void PrintPortRules (ULONG dwNumRules, ULONG64 pRules);
  17. /* Prints the contents of the CVY_LOAD structure at the specified verbosity. */
  18. void PrintLoad (ULONG64 pLoad, ULONG dwVerbosity);
  19. /* Prints the NLB private data associated with the given packet. */
  20. void PrintResp (ULONG64 pPacket, ULONG dwDirection);
  21. /* Prints a list of hosts in a host map. */
  22. void PrintHostList (ULONG dwHostMap);
  23. /* Prints a list hosts from which we are missing pings. */
  24. void PrintMissedPings (ULONG dwMissedPings[]);
  25. /* Prints a list of bins with dirty connections. */
  26. void PrintDirtyBins (ULONG dwDirtyBins[]);
  27. /* Prints the contents of the NLB heartbeat structure. */
  28. void PrintHeartbeat (ULONG64 pHeartbeat);
  29. /* Prints the state information for the port rule. */
  30. void PrintPortRuleState (ULONG64 pPortRule, ULONG dwHostID, BOOL bDefault);
  31. /* Retrieves the current packet stack for the specified packet. */
  32. ULONG64 PrintCurrentPacketStack (ULONG64 pPacket, ULONG * bStackLeft);
  33. /* Prints the BDA member configuration and state. */
  34. void PrintBDAMember (ULONG64 pMember);
  35. /* Prints the BDA team configuration and state. */
  36. void PrintBDATeam (ULONG64 pMember);
  37. /* Prints a list of members in a BDA membership or consistency map. */
  38. void PrintBDAMemberList (ULONG dwMemberMap);
  39. /* Prints MaxEntries entries in a connection descriptor queue. */
  40. void PrintQueue (ULONG64 pQueue, ULONG dwIndex, ULONG dwMaxEntries);
  41. /* Prints MaxEntries entries in a global connection descriptor queue. */
  42. void PrintGlobalQueue (ULONG64 pQueue, ULONG dwIndex, ULONG dwMaxEntries);
  43. /* Searches the given load module to determine whether NLB will accept this packet. If state for this packet already exists, it is printed. */
  44. void PrintFilter (ULONG64 pContext, ULONG dwClientIPAddress, ULONG dwClientPort, ULONG dwServerIPAddress, ULONG dwServerPort, USHORT wProtocol, UCHAR cFlags);
  45. /* Extracts the network data previously parsed from an NDIS_PACKET and calls PrintFilter to determine whether NLB will accept this packet. */
  46. void PrintHash (ULONG64 pContext, PNETWORK_DATA pnd);
  47. /* Prints the contents of an NDIS packet, including known content such as IP, UDP, remote control data */
  48. void PrintPacket (PNETWORK_DATA nd);
  49. /* Prints the contents of an IP packet, including known content such as UDP, remote control data */
  50. void PrintIP (PNETWORK_DATA nd);
  51. /* Print the state of the global NLB kernel-mode hooks. */
  52. void PrintHooks (ULONG64 pHooks);
  53. /* Print the configuration and state of a hook interface. */
  54. void PrintHookInterface (ULONG64 pInterface);
  55. /* Print the configuration and state of a single hook. */
  56. void PrintHook (ULONG64 pHook);
  57. /* Print the symbol value and name for a given symbol. */
  58. VOID PrintSymbol (ULONG64 Pointer, PCHAR EndOfLine);
  59. /* Prints the unicast and multicast MAC addresses configured on an NLB adapter. */
  60. void PrintNetworkAddresses (ULONG64 pContext);
  61. /* Prints a connection descriptor (CONN_ENTRY). */
  62. void PrintConnectionDescriptor (ULONG64 pDescriptor);
  63. /* Prints a pending connection entry (PENDING_ENTRY). */
  64. void PrintPendingConnection (ULONG64 pPending);
  65. /* Prints the list of known dedicated IP addresses in the cluster. */
  66. void PrintDIPList (ULONG64 pList);