mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 05:11:48 +00:00
1ababeba4a
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>
7 lines
82 B
C
7 lines
82 B
C
#ifndef _LINUX_SEG6_H
|
|
#define _LINUX_SEG6_H
|
|
|
|
#include <uapi/linux/seg6.h>
|
|
|
|
#endif
|