]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv6: add support for rpl sr exthdr
authorAlexander Aring <alex.aring@gmail.com>
Fri, 27 Mar 2020 22:00:20 +0000 (18:00 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:30:57 +0000 (22:30 -0700)
commite6b343c8db39aa9ad05891220a09122eada02c08
tree638528cb15fa478b0532b882f76a8212acfb2e66
parentf6632e23cb4f53ac2771c8b795b19a20c1925211
net: ipv6: add support for rpl sr exthdr

This patch adds rpl source routing receive handling. Everything works
only if sysconf "rpl_seg_enabled" and source routing is enabled. Mostly
the same behaviour as IPv6 segmentation routing. To handle compression
and uncompression a rpl.c file is created which contains the necessary
functionality. The receive handling will also care about IPv6
encapsulated so far it's specified as possible nexthdr in RFC 6554.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
include/net/rpl.h [new file with mode: 0644]
include/uapi/linux/ipv6.h
net/ipv6/Makefile
net/ipv6/addrconf.c
net/ipv6/exthdrs.c
net/ipv6/rpl.c [new file with mode: 0644]