lwtunnel: add support for rpl segment routing
Subsystems (2)
PATCH v2 1/1 lwtunnel: add support for rpl segment routing
This patch adds support for rpl segment routing settings. Example:
ip -n ns0 -6 route add 2001::3 encap rpl segs \
fe80::c8fe:beef:cafe:cafe,fe80::c8fe:beef:cafe:beef dev lowpan0
Signed-off-by Alexander Aring <[email protected]>
---
changes since v2:
- change output to display segments count and nice segment brackets
- fix json output, sorry.
ip/iproute.c | 2 +- ip/iproute_lwtunnel.c | 121 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 1 deletion(-)
ip/iproute.c +1 -1
@@ -101,7 +101,7 @@ static void usage(void)"TIME := NUMBER[s|ms]\n" "BOOL := [1|0]\n" "FEATURES := ecn\n" -"ENCAPTYPE := [ mpls | ip | ip6 | seg6 | seg6local ]\n" +"ENCAPTYPE := [ mpls | ip | ip6 | seg6 | seg6local | rpl ]\n" "ENCAPHDR := [ MPLSLABEL | SEG6HDR ]\n" "SEG6HDR := [ mode SEGMODE ] segs ADDR1,ADDRi,ADDRn [hmac HMACKEYID] [cleanup]\n" "SEGMODE := [ encap | inline ]\n"
ip/iproute_lwtunnel.c +121 -0
163 lines not on this page · raw message
Signature · 1 line
2.20.1
David Ahern
AppliedQuoted 10 lines · Alexander Aring
This patch adds support for rpl segment routing settings. Example:
ip -n ns0 -6 route add 2001::3 encap rpl segs \
fe80::c8fe:beef:cafe:cafe,fe80::c8fe:beef:cafe:beef dev lowpan0Signed-off-by Alexander Aring <[email protected]>---
changes since v2:
Quoted 7 lines
- change output to display segments count and nice segment brackets
- fix json output, sorry.ip/iproute.c | 2 +- ip/iproute_lwtunnel.c | 121 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 1 deletion(-)
applied to iproute2-next