]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: sr: implement additional seg6local actions
authorDavid Lebrun <david.lebrun@uclouvain.be>
Fri, 25 Aug 2017 07:58:17 +0000 (09:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Aug 2017 00:10:24 +0000 (17:10 -0700)
commitea9c5fa8946915e07b7d8f5703b8636fcc75e3bc
tree59c1d26dbdfd5b7bd106ca479cad584893d70c35
parent789e661717c90bdee3e6a7f4c2363cd6fde9cd56
ipv6: sr: implement additional seg6local actions

This patch implements the following seg6local actions.

- SEG6_LOCAL_ACTION_END_T: regular SRH processing and forward to the
  next-hop looked up in the specified routing table.

- SEG6_LOCAL_ACTION_END_DX2: decapsulate an L2 frame and forward it to
  the specified network interface.

- SEG6_LOCAL_ACTION_END_DX4: decapsulate an IPv4 packet and forward it,
  possibly to the specified next-hop.

- SEG6_LOCAL_ACTION_END_DT6: decapsulate an IPv6 packet and forward it
  to the next-hop looked up in the specified routing table.

Signed-off-by: David Lebrun <david.lebrun@uclouvain.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/seg6_local.c