12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- flag = {
- name = enet-dmac;
- arg-type = string;
- max = 1;
- descrip = "Override destination ethernet MAC addresses";
- doc = <<- EOText
- Takes a pair of comma deliminated ethernet MAC addresses which
- will replace the destination MAC address of outbound packets.
- The first MAC address will be used for the server to client traffic
- and the optional second MAC address will be used for the client
- to server traffic.
- Example:
- @example
- --enet-dmac=00:12:13:14:15:16,00:22:33:44:55:66
- @end example
- EOText;
- };
- flag = {
- name = enet-smac;
- arg-type = string;
- max = 1;
- descrip = "Override source ethernet MAC addresses";
- doc = <<- EOText
- Takes a pair of comma deliminated ethernet MAC addresses which
- will replace the source MAC address of outbound packets.
- The first MAC address will be used for the server to client traffic
- and the optional second MAC address will be used for the client
- to server traffic.
- Example:
- @example
- --enet-smac=00:12:13:14:15:16,00:22:33:44:55:66
- @end example
- EOText;
- };
- /* rewrite 802.1q vlan tags */
- flag = {
- name = enet-vlan;
- max = 1;
- descrip = "Specify ethernet 802.1q VLAN tag mode";
- arg-type = string;
- doc = <<- EOText
- Allows you to rewrite ethernet frames to add a 802.1q header to standard 802.3
- ethernet headers or remove the 802.1q VLAN tag information.
- @table @bullet
- @item
- @var{add}
- Rewrites the existing 802.3 ethernet header as an 802.1q VLAN header
- @item
- @var{del}
- Rewrites the existing 802.1q VLAN header as an 802.3 ethernet header
- EOText;
- };
- flag = {
- name = enet-vlan-tag;
- max = 1;
- descrip = "Specify the new ethernet 802.1q VLAN tag value";
- arg-type = number;
- flags-must = enet-vlan;
- arg-range = "0->4095"; /* VID's are 12bit unsigned int's */
- doc = "";
- };
- flag = {
- name = enet-vlan-cfi;
- max = 1;
- descrip = "Specify the ethernet 802.1q VLAN CFI value";
- arg-type = number;
- flags-must = enet-vlan;
- arg-range = "0->1"; /* one bit */
- doc = "";
- };
- flag = {
- name = enet-vlan-pri;
- max = 1;
- descrip = "Specify the ethernet 802.1q VLAN priority";
- flags-must = enet-vlan;
- arg-type = number;
- arg-range = "0->7"; /* one byte */
- doc = "";
- };
|