en10mb_opts.def 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. flag = {
  2. name = enet-dmac;
  3. arg-type = string;
  4. max = 1;
  5. descrip = "Override destination ethernet MAC addresses";
  6. doc = <<- EOText
  7. Takes a pair of comma deliminated ethernet MAC addresses which
  8. will replace the destination MAC address of outbound packets.
  9. The first MAC address will be used for the server to client traffic
  10. and the optional second MAC address will be used for the client
  11. to server traffic.
  12. Example:
  13. @example
  14. --enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66
  15. @end example
  16. EOText;
  17. };
  18. flag = {
  19. name = enet-smac;
  20. arg-type = string;
  21. max = 1;
  22. descrip = "Override source ethernet MAC addresses";
  23. doc = <<- EOText
  24. Takes a pair of comma deliminated ethernet MAC addresses which
  25. will replace the source MAC address of outbound packets.
  26. The first MAC address will be used for the server to client traffic
  27. and the optional second MAC address will be used for the client
  28. to server traffic.
  29. Example:
  30. @example
  31. --enet-smac=00:12:13:14:15:16,00:22:33:44:55:66
  32. @end example
  33. EOText;
  34. };
  35. /* rewrite 802.1q vlan tags */
  36. flag = {
  37. name = enet-vlan;
  38. max = 1;
  39. descrip = "Specify ethernet 802.1q VLAN tag mode";
  40. arg-type = string;
  41. doc = <<- EOText
  42. Allows you to rewrite ethernet frames to add a 802.1q header to standard 802.3
  43. ethernet headers or remove the 802.1q VLAN tag information.
  44. @table @bullet
  45. @item
  46. @var{add}
  47. Rewrites the existing 802.3 ethernet header as an 802.1q VLAN header
  48. @item
  49. @var{del}
  50. Rewrites the existing 802.1q VLAN header as an 802.3 ethernet header
  51. EOText;
  52. };
  53. flag = {
  54. name = enet-vlan-tag;
  55. max = 1;
  56. descrip = "Specify the new ethernet 802.1q VLAN tag value";
  57. arg-type = number;
  58. flags-must = enet-vlan;
  59. arg-range = "0->4095"; /* VID's are 12bit unsigned int's */
  60. doc = "";
  61. };
  62. flag = {
  63. name = enet-vlan-cfi;
  64. max = 1;
  65. descrip = "Specify the ethernet 802.1q VLAN CFI value";
  66. arg-type = number;
  67. flags-must = enet-vlan;
  68. arg-range = "0->1"; /* one bit */
  69. doc = "";
  70. };
  71. flag = {
  72. name = enet-vlan-pri;
  73. max = 1;
  74. descrip = "Specify the ethernet 802.1q VLAN priority";
  75. flags-must = enet-vlan;
  76. arg-type = number;
  77. arg-range = "0->7"; /* one byte */
  78. doc = "";
  79. };