This patch series adds support for the IPv6 Segment Routing implementation in the Linux kernel. The following features are supported.
* IPv6 SR lightweight tunnels encapsulation ("ip route add ... encap seg6 ...") * Parsing of routes with a seg6 lwt encap ("ip route show") * Control of internal SR structures: tunnel source ("ip sr tunsrc") and HMAC ("ip sr hmac"). HMAC support enables to map an HMAC Key ID to a pair of algorithm + secret. Signed-off-by: David Lebrun <david.leb...@uclouvain.be> David Lebrun (3): sr: add header files for SR-IPv6 ip: add ip sr command to control SR-IPv6 internal structures iproute: add support for SR-IPv6 lwtunnel encapsulation include/linux/seg6.h | 54 ++++++++++ include/linux/seg6_genl.h | 32 ++++++ include/linux/seg6_hmac.h | 21 ++++ include/linux/seg6_iptunnel.h | 38 +++++++ ip/Makefile | 2 +- ip/ip.c | 3 +- ip/ip_common.h | 1 + ip/iproute.c | 6 +- ip/iproute_lwtunnel.c | 160 ++++++++++++++++++++++++++++ ip/ipseg6.c | 238 ++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 551 insertions(+), 4 deletions(-) create mode 100644 include/linux/seg6.h create mode 100644 include/linux/seg6_genl.h create mode 100644 include/linux/seg6_hmac.h create mode 100644 include/linux/seg6_iptunnel.h create mode 100644 ip/ipseg6.c -- 2.7.3