aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lwtunnel.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2020-03-27 18:00:22 -0400
committerDavid S. Miller <davem@davemloft.net>2020-03-29 22:30:57 -0700
commita7a29f9c361f8542604ef959ae6627f423b7a412 (patch)
tree2a47bb1d90dfb74af8349340ab382592ff646be3 /net/core/lwtunnel.c
parentnet: add net available in build_state (diff)
downloadlinux-dev-a7a29f9c361f8542604ef959ae6627f423b7a412.tar.xz
linux-dev-a7a29f9c361f8542604ef959ae6627f423b7a412.zip
net: ipv6: add rpl sr tunnel
This patch adds functionality to configure routes for RPL source routing functionality. There is no IPIP functionality yet implemented which can be added later when the cases when to use IPv6 encapuslation comes more clear. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/lwtunnel.c')
-rw-r--r--net/core/lwtunnel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/lwtunnel.c b/net/core/lwtunnel.c
index 4cd03955fa32..8ec7d13d2860 100644
--- a/net/core/lwtunnel.c
+++ b/net/core/lwtunnel.c
@@ -41,6 +41,8 @@ static const char *lwtunnel_encap_str(enum lwtunnel_encap_types encap_type)
return "BPF";
case LWTUNNEL_ENCAP_SEG6_LOCAL:
return "SEG6LOCAL";
+ case LWTUNNEL_ENCAP_RPL:
+ return "RPL";
case LWTUNNEL_ENCAP_IP6:
case LWTUNNEL_ENCAP_IP:
case LWTUNNEL_ENCAP_NONE: