commit | 4654173e90833a84c998ee2e6850cb90bdaf4f7d | [log] [tgz] |
---|---|---|
author | Shmulik Ladkani <shmulik.ladkani@gmail.com> | Thu Sep 22 21:01:05 2016 +0300 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Sun Oct 09 19:11:34 2016 -0700 |
tree | fdeda46c907c12763013adee42c33a02b7f1f1c7 | |
parent | 590bf22a3437e6d9e27accdd9aebe587c0672604 [diff] |
tc: m_vlan: Add vlan modify action The 'vlan modify' action allows to replace an existing 802.1q tag according to user provided settings. It accepts same arguments as the 'vlan push' action. For example, this replaces vid 6 with vid 5: # tc filter add dev veth0 parent ffff: pref 1 protocol 802.1q \ basic match 'meta(vlan mask 0xfff eq 6)' \ action vlan modify id 5 continue Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>