-
- Downloads
"git@ssh.gitlab.freedesktop.org:lumag/msm.git" did not exist on "89cdd4dee1f04a418ce86d62927e6bf6502d20fe"
ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header)
Implement minimal support for processing of SR-enabled packets as described in https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-02 . This patch implements the following operations: - Intermediate segment endpoint: incrementation of active segment and rerouting. - Egress for SR-encapsulated packets: decapsulation of outer IPv6 header + SRH and routing of inner packet. - Cleanup flag support for SR-inlined packets: removal of SRH if we are the penultimate segment endpoint. A per-interface sysctl seg6_enabled is provided, to accept/deny SR-enabled packets. Default is deny. This patch does not provide support for HMAC-signed packets. Signed-off-by:David Lebrun <david.lebrun@uclouvain.be> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/ipv6.h 1 addition, 0 deletionsinclude/linux/ipv6.h
- include/linux/seg6.h 6 additions, 0 deletionsinclude/linux/seg6.h
- include/net/seg6.h 36 additions, 0 deletionsinclude/net/seg6.h
- include/uapi/linux/ipv6.h 2 additions, 0 deletionsinclude/uapi/linux/ipv6.h
- include/uapi/linux/seg6.h 54 additions, 0 deletionsinclude/uapi/linux/seg6.h
- net/ipv6/addrconf.c 10 additions, 0 deletionsnet/ipv6/addrconf.c
- net/ipv6/exthdrs.c 175 additions, 0 deletionsnet/ipv6/exthdrs.c
Loading
Please register or sign in to comment