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.

88 lines
2.0 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. net\routing\monitor\ip\ipgetopt.c
  5. Abstract:
  6. Prototype for the IP get opt functions.
  7. Author:
  8. Anand Mahalingam 7/10/98
  9. Dave Thaler 10/26/98
  10. --*/
  11. NS_CONTEXT_DUMP_FN IpDump;
  12. NS_CONTEXT_SUBENTRY_FN IpSubEntry;
  13. FN_HANDLE_CMD HandleIpUpdate;
  14. FN_HANDLE_CMD HandleIpReset;
  15. FN_HANDLE_CMD HandleIpUninstall;
  16. FN_HANDLE_CMD HandleIpInstall;
  17. FN_HANDLE_CMD HandleIpAddIfFilter;
  18. FN_HANDLE_CMD HandleIpDelIfFilter;
  19. FN_HANDLE_CMD HandleIpAddRtmRoute;
  20. FN_HANDLE_CMD HandleIpSetRtmRoute;
  21. FN_HANDLE_CMD HandleIpDelRtmRoute;
  22. FN_HANDLE_CMD HandleIpAddPersistentRoute;
  23. FN_HANDLE_CMD HandleIpSetPersistentRoute;
  24. FN_HANDLE_CMD HandleIpDelPersistentRoute;
  25. FN_HANDLE_CMD HandleIpShowPersistentRoute;
  26. FN_HANDLE_CMD HandleIpAddRoutePref;
  27. FN_HANDLE_CMD HandleIpSetRoutePref;
  28. FN_HANDLE_CMD HandleIpDelRoutePref;
  29. FN_HANDLE_CMD HandleIpShowRoutePref;
  30. FN_HANDLE_CMD HandleIpAddInterface;
  31. FN_HANDLE_CMD HandleIpSetInterface;
  32. FN_HANDLE_CMD HandleIpDelInterface;
  33. FN_HANDLE_CMD HandleIpShowInterface;
  34. FN_HANDLE_CMD HandleIpSetIfFilter;
  35. FN_HANDLE_CMD HandleIpShowIfFilter;
  36. FN_HANDLE_CMD HandleIpSetLogLevel;
  37. FN_HANDLE_CMD HandleIpShowLogLevel;
  38. FN_HANDLE_CMD HandleIpShowProtocol;
  39. #ifdef KSL_IPINIP
  40. FN_HANDLE_CMD HandleIpAddIpIpTunnel;
  41. FN_HANDLE_CMD HandleIpSetIpIpTunnel;
  42. #endif //KSL_IPINIP
  43. FN_HANDLE_CMD HandleIpShowRtmDestinations;
  44. FN_HANDLE_CMD HandleIpShowRtmRoutes;
  45. #ifdef KSL_IPINIP
  46. DWORD
  47. IpAddSetIpIpTunnel(
  48. PWCHAR *ppwcArguments,
  49. DWORD dwCurrentIndex,
  50. DWORD dwArgCount,
  51. BOOL bAdd
  52. );
  53. #endif //KSL_IPINIP
  54. DWORD
  55. PreHandleCommand(
  56. IN OUT LPWSTR *ppwcArguments,
  57. IN DWORD dwCurrentIndex,
  58. IN DWORD dwArgCount,
  59. IN TAG_TYPE *pttTags,
  60. IN DWORD dwTagCount,
  61. IN DWORD dwMinArgs,
  62. IN DWORD dwMaxArgs,
  63. OUT DWORD *pdwTagType
  64. );