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>
Showing
- include/linux/ipv6.h 1 addition, 0 deletionsinclude/linux/ipv6.h
- include/net/rpl.h 34 additions, 0 deletionsinclude/net/rpl.h
- include/uapi/linux/ipv6.h 2 additions, 0 deletionsinclude/uapi/linux/ipv6.h
- net/ipv6/Makefile 1 addition, 1 deletionnet/ipv6/Makefile
- net/ipv6/addrconf.c 10 additions, 0 deletionsnet/ipv6/addrconf.c
- net/ipv6/exthdrs.c 199 additions, 2 deletionsnet/ipv6/exthdrs.c
- net/ipv6/rpl.c 123 additions, 0 deletionsnet/ipv6/rpl.c
Loading
Please register or sign in to comment