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.

60 lines
2.4 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 (BOOL 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 dwMaxEntries);
  41. /* Searches the given load module to determine who should accept this packet. If state for this packet already exists, it is printed. */
  42. void PrintMap (ULONG64 pLoad, ULONG dwClientIPAddress, ULONG dwClientPort, ULONG dwServerIPAddress, ULONG dwServerPort, BOOLEAN bIsTCP, TCP_PACKET_TYPE ePktType);