diff options
author | David Lebrun <david.lebrun@uclouvain.be> | 2017-08-05 12:39:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 14:16:22 -0700 |
commit | 140f04c33bbcf89440dcaf8bef04918abff5a52d (patch) | |
tree | 3dd54425a3103ff05fd04eb08c2a13e35d9987f0 /net/ipv6/anycast.c | |
parent | 2d9cc60aee6bfbd72a06516615af9cde9cb6189a (diff) | |
download | linux-140f04c33bbcf89440dcaf8bef04918abff5a52d.tar.bz2 |
ipv6: sr: implement several seg6local actions
This patch implements the following seg6local actions.
- SEG6_LOCAL_ACTION_END: regular SRH processing. The DA of the packet
is updated to the next segment and forwarded accordingly.
- SEG6_LOCAL_ACTION_END_X: same as above, except that the packet is
forwarded to the specified IPv6 next-hop.
- SEG6_LOCAL_ACTION_END_DX6: decapsulate the packet and forward to
inner IPv6 packet to the specified IPv6 next-hop.
- SEG6_LOCAL_ACTION_END_B6: insert the specified SRH directly after
the IPv6 header of the packet.
- SEG6_LOCAL_ACTION_END_B6_ENCAP: encapsulate the packet within
an outer IPv6 header, containing the specified SRH.
Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/anycast.c')
0 files changed, 0 insertions, 0 deletions