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.

218 lines
5.8 KiB

  1. /*++
  2. Copyright (c) 1998-1999 Microsoft Corporation
  3. Module Name:
  4. net\routing\netsh\ipx\protocols\ipxstrng.h
  5. Abstract:
  6. Non-localizable string definitions
  7. History:
  8. V Raman Created 1/21/99
  9. --*/
  10. //
  11. // Command line - option tags
  12. //
  13. #define TOKEN_LOGLEVEL L"loglevel="
  14. #define TOKEN_ADMINSTATE L"admstate="
  15. #define TOKEN_ADVERTISE L"advertise="
  16. #define TOKEN_LISTEN L"listen="
  17. #define TOKEN_GNSREPLY L"gnsreply="
  18. #define TOKEN_UPDATEMODE L"updatemode="
  19. #define TOKEN_INTERVAL L"interval="
  20. #define TOKEN_AGEMULTIPLIER L"agemultiplier="
  21. #define TOKEN_BCASTACCEPT L"bcastaccept="
  22. #define TOKEN_BCASTDELIVER L"bcastdeliver="
  23. //
  24. // Command line - option values
  25. //
  26. #define VAL_ENABLED L"Enabled"
  27. #define VAL_DISABLED L"Disabled"
  28. #define VAL_STANDARD L"Standard"
  29. #define VAL_NONE L"None"
  30. #define VAL_AUTOSTATIC L"Autostatic"
  31. #define VAL_STATICONLY L"StaticOnly"
  32. #define VAL_ONLYWHENUP L"OnlyWhenUp"
  33. #define VAL_PERMIT L"Permit"
  34. #define VAL_DENY L"Deny"
  35. #define VAL_INPUT L"Input"
  36. #define VAL_OUTPUT L"Output"
  37. #define VAL_UP L"Up"
  38. #define VAL_DOWN L"Down"
  39. #define VAL_SLEEPING L"Sleeping"
  40. #define VAL_CLIENT L"Client"
  41. #define VAL_ERRORS_ONLY L"Errors_Only"
  42. #define VAL_ERRORS_AND_WARNINGS L"Warnings_And_Errors"
  43. #define VAL_MAXINFO L"Maximum_Information"
  44. #define VAL_DEDICATED L"Dedicated"
  45. #define VAL_WANROUTER L"Demand Dial"
  46. #define VAL_INTERNAL L"Internal"
  47. #define VAL_HOMEROUTER L"Demand Dial"
  48. #define VAL_DIALINCLIENT L"Dial-in"
  49. #define VAL_DIALOUT L"Dial-Out"
  50. #define VAL_LOCAL L"Local"
  51. #define VAL_STATIC L"Static"
  52. #define VAL_RIP L"RIP"
  53. #define VAL_SAP L"SAP"
  54. #define VAL_ANYNAME L"*"
  55. #define VAL_OTHER L"Other"
  56. //
  57. // help tokens
  58. //
  59. #define TOKEN_HELP1 L"?"
  60. #define TOKEN_HELP2 L"HELP"
  61. //
  62. // Command line - command names
  63. //
  64. #define CMD_GROUP_ADD L"add"
  65. #define CMD_GROUP_DELETE L"delete"
  66. #define CMD_GROUP_SET L"set"
  67. #define CMD_GROUP_SHOW L"show"
  68. //
  69. // RIP tokens
  70. //
  71. #define CMD_IPXRIP_DUMP L"dump"
  72. #define CMD_IPXRIP_HELP1 L"?"
  73. #define CMD_IPXRIP_HELP2 L"help"
  74. #define CMD_IPXRIP_HELP3 L"/?"
  75. #define CMD_IPXRIP_HELP4 L"-?"
  76. #define CMD_IPXRIP_ADD_FILTER L"filter"
  77. #define CMD_IPXRIP_DEL_FILTER L"filter"
  78. #define CMD_IPXRIP_SET_FILTER L"filter"
  79. #define CMD_IPXRIP_SHOW_FILTER L"filter"
  80. #define CMD_IPXRIP_SET_INTERFACE L"interface"
  81. #define CMD_IPXRIP_SHOW_INTERFACE L"interface"
  82. #define CMD_IPXRIP_SET_GLOBAL L"global"
  83. #define CMD_IPXRIP_SHOW_GLOBAL L"global"
  84. #define CMD_IPXNB_ADD_NAME L"nbname"
  85. #define CMD_IPXNB_DEL_NAME L"nbname"
  86. #define CMD_IPXNB_SHOW_NAME L"nbname"
  87. //
  88. // SAP tokens
  89. //
  90. #define CMD_IPXSAP_DUMP CMD_IPXRIP_DUMP
  91. #define CMD_IPXSAP_HELP1 CMD_IPXRIP_HELP1
  92. #define CMD_IPXSAP_HELP2 CMD_IPXRIP_HELP2
  93. #define CMD_IPXSAP_HELP3 CMD_IPXRIP_HELP3
  94. #define CMD_IPXSAP_HELP4 CMD_IPXRIP_HELP4
  95. #define CMD_IPXSAP_ADD_FILTER CMD_IPXRIP_ADD_FILTER
  96. #define CMD_IPXSAP_DEL_FILTER CMD_IPXRIP_DEL_FILTER
  97. #define CMD_IPXSAP_SET_FILTER CMD_IPXRIP_SET_FILTER
  98. #define CMD_IPXSAP_SHOW_FILTER CMD_IPXRIP_SHOW_FILTER
  99. #define CMD_IPXSAP_SET_INTERFACE CMD_IPXRIP_SET_INTERFACE
  100. #define CMD_IPXSAP_SHOW_INTERFACE CMD_IPXRIP_SHOW_INTERFACE
  101. #define CMD_IPXSAP_SET_GLOBAL CMD_IPXRIP_SET_GLOBAL
  102. #define CMD_IPXSAP_SHOW_GLOBAL CMD_IPXRIP_SHOW_GLOBAL
  103. //
  104. // NB tokens
  105. //
  106. #define CMD_IPXNB_DUMP CMD_IPXRIP_DUMP
  107. #define CMD_IPXNB_HELP1 CMD_IPXRIP_HELP1
  108. #define CMD_IPXNB_HELP2 CMD_IPXRIP_HELP2
  109. #define CMD_IPXNB_HELP3 CMD_IPXRIP_HELP3
  110. #define CMD_IPXNB_HELP4 CMD_IPXRIP_HELP4
  111. #define CMD_IPXNB_SET_INTERFACE CMD_IPXRIP_SET_INTERFACE
  112. #define CMD_IPXNB_SHOW_INTERFACE CMD_IPXRIP_SHOW_INTERFACE
  113. //
  114. // RIP dump statements
  115. //
  116. #define DMP_IPX_RIP_HEADER L"\
  117. \npushd routing ipx rip"
  118. #define DMP_IPX_RIP_FOOTER L"\
  119. \npopd\n"
  120. #define DMP_IPX_RIP_SET_GLOBAL L"\
  121. \nset global loglevel = %1!s!"
  122. #define DMP_IPX_RIP_SET_FILTER L"\
  123. \nset filter \"%1!s!\" %2!s! %3!s!"
  124. #define DMP_IPX_RIP_SET_INTERFACE L"\
  125. \nset interface \"%1!s!\" admstate = %2!s! advertise = %3!s! listen = %4!s! \
  126. updatemode = %5!s! interval = %6!d! agemultiplier = %7!d!"
  127. #define DMP_IPX_RIP_ADD_FILTER L"\
  128. \nadd filter \"%1!s!\" %2!s! 0x%3!.2x!%4!.2x!%5!.2x!%6!.2x! 0x%7!.2x!%8!.2x!%9!.2x!%10!.2x!"
  129. //
  130. // SAP dump statements
  131. //
  132. #define DMP_IPX_SAP_HEADER L"\
  133. \npushd routing ipx sap"
  134. #define DMP_IPX_SAP_FOOTER L"\
  135. \npopd\n"
  136. #define DMP_IPX_SAP_SET_GLOBAL L"\
  137. \nset global loglevel = %1!s!"
  138. #define DMP_IPX_SAP_SET_INTERFACE L"\
  139. \nset interface \"%1!s!\" admstate = %2!s! advertise = %3!s! listen = %4!s! \
  140. gnsreply = %5!s! updatemode = %6!s! interval = %7!d! agemultiplier = %8!d!"
  141. #define DMP_IPX_SAP_SET_FILTER L"\
  142. \nset filter \"%1!s!\" %2!s! %3!s!"
  143. #define DMP_IPX_SAP_ADD_FILTER L"\
  144. \nadd filter \"%1!s!\" %2!s! 0x%3!x! %4!s!"
  145. //
  146. // NB dump statements
  147. //
  148. #define DMP_IPX_NB_HEADER L"\
  149. \npushd routing ipx netbios"
  150. #define DMP_IPX_NB_FOOTER L"\
  151. \npopd\n"
  152. #define DMP_IPX_NB_SET_INTERFACE L"\
  153. \nset interface \"%1!s!\" bcastaccept = %2!s! bcastdeliver = %3!s!"
  154. #define DMP_IPX_NB_ADD_NAME L"\
  155. \nadd filter \"%1!s!\" %2!hs!! 0x%3!x!"