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.

104 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. routing\netsh\ipx\ipxhandle.c
  5. Abstract:
  6. IPX Command handler.
  7. Revision History:
  8. V Raman 12/2/98 Created
  9. --*/
  10. #ifndef __IPXHANDLE_H__
  11. #define __IPXHANDLE_H__
  12. //
  13. // Handle static route operations
  14. //
  15. FN_HANDLE_CMD HandleIpxAddRoute;
  16. FN_HANDLE_CMD HandleIpxDelRoute;
  17. FN_HANDLE_CMD HandleIpxSetRoute;
  18. FN_HANDLE_CMD HandleIpxShowRoute;
  19. //
  20. // Handle static service operations
  21. //
  22. FN_HANDLE_CMD HandleIpxAddService;
  23. FN_HANDLE_CMD HandleIpxDelService;
  24. FN_HANDLE_CMD HandleIpxSetService;
  25. FN_HANDLE_CMD HandleIpxShowService;
  26. //
  27. // Handle packet filter operations
  28. //
  29. FN_HANDLE_CMD HandleIpxAddFilter;
  30. FN_HANDLE_CMD HandleIpxDelFilter;
  31. FN_HANDLE_CMD HandleIpxSetFilter;
  32. FN_HANDLE_CMD HandleIpxShowFilter;
  33. //
  34. // Handle interface operations
  35. //
  36. FN_HANDLE_CMD HandleIpxAddInterface;
  37. FN_HANDLE_CMD HandleIpxDelInterface;
  38. FN_HANDLE_CMD HandleIpxSetInterface;
  39. FN_HANDLE_CMD HandleIpxShowInterface;
  40. //
  41. // Handle loglevel operations
  42. //
  43. FN_HANDLE_CMD HandleIpxSetLoglevel;
  44. FN_HANDLE_CMD HandleIpxShowLoglevel;
  45. //
  46. // Other misc operations
  47. //
  48. FN_HANDLE_CMD HandleIpxUpdate;
  49. //
  50. // Route and Service Table display
  51. //
  52. FN_HANDLE_CMD HandleIpxShowRouteTable;
  53. FN_HANDLE_CMD HandleIpxShowServiceTable;
  54. NS_CONTEXT_DUMP_FN IpxDump;
  55. VOID
  56. DumpIpxInformation(
  57. IN LPCWSTR pwszMachineName,
  58. IN OUT LPWSTR *ppwcArguments,
  59. IN DWORD dwArgCount,
  60. IN MIB_SERVER_HANDLE hMibServer
  61. );
  62. //
  63. // operations enumerations
  64. //
  65. typedef enum _IPX_OPERATION
  66. {
  67. IPX_OPERATION_ADD,
  68. IPX_OPERATION_DELETE,
  69. IPX_OPERATION_SET,
  70. IPX_OPERATION_SHOW
  71. } IPX_OPERATION;
  72. #endif // __IPXHANDLE_H__