commit | a0d9a8604f29ee3340126ec3f90c9421f930aa50 | [log] [tgz] |
---|---|---|
author | Roopa Prabhu <roopa@cumulusnetworks.com> | Tue Jul 21 10:43:45 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jul 21 10:39:03 2015 -0700 |
tree | 1c04ed2a5674258d06d0b1ae8c4ae4a7e5d6162c | |
parent | 2070c48cf2b78af89ba529c00992eaaa18df8ef7 [diff] |
rtnetlink: introduce new RTA_ENCAP_TYPE and RTA_ENCAP attributes This patch introduces two new RTA attributes to attach encap data to fib routes. Example iproute2 command to attach mpls encap data to ipv4 routes $ip route add 10.1.1.0/30 encap mpls 200 via inet 10.1.1.1 dev swp1 Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Suggested-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>