L2TP: Add option for custom fib id for outgoing encapsulated packets 67/1967/3
authorPierre Pfister <ppfister@cisco.com>
Fri, 15 Jul 2016 08:19:39 +0000 (09:19 +0100)
committerChris Luke <chris_luke@comcast.com>
Wed, 20 Jul 2016 11:48:13 +0000 (11:48 +0000)
commit08e0312fe2ecb10e10acf334c71440df7be95cac
tree121f3aff1bfd7e5474fefd1226cbfbabd2ded6e4
parent8c4072696d2805fc8d9d2f76d8955f710d192bdd
L2TP: Add option for custom fib id for outgoing encapsulated packets

If a custom fib ID is used (different from ~0), the associated
fib is used to forward outgoing encapsulated packets.
Otherwise, the fib used is the same as for any packet
received on the original RX interface (L2TP does not modify RX interface index).

Change-Id: I4533d5f7fa432c78c937d3acdd802d0d1c92a0c7
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/l2tp/encap.c
vnet/vnet/l2tp/l2tp.c
vnet/vnet/l2tp/l2tp.h
vpp/vpp-api/api.c
vpp/vpp-api/vpe.api