]> git.ipfire.org Git - thirdparty/iproute2.git/commit
erspan: add erspan version II support
authorWilliam Tu <u9012063@gmail.com>
Wed, 20 Dec 2017 02:01:06 +0000 (18:01 -0800)
committerDavid Ahern <dsahern@gmail.com>
Wed, 20 Dec 2017 23:18:04 +0000 (15:18 -0800)
commit289763626721f97587c3ad7c15a5514fdd151353
tree30d840183cf564cdb141d6b5cdc36dee7369faff
parentf82517f80da0126fd1b379f45105ec2f87f919b4
erspan: add erspan version II support

The patch adds support for configuring the erspan v2, for both
ipv4 and ipv6 erspan implementation.  Three additional fields
are added: 'erspan_ver' for distinguishing v1 or v2, 'erspan_dir'
for specifying direction of the mirrored traffic, and 'erspan_hwid'
for users to set ERSPAN engine ID within a system.

As for manpage, the ERSPAN descriptions used to be under GRE, IPIP,
SIT Type paragraph.  Since IP6GRE/IP6GRETAP also supports ERSPAN,
the patch removes the old one, creates a separate ERSPAN paragrah,
and adds an example.

Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
ip/link_gre.c
ip/link_gre6.c
man/man8/ip-link.8.in