flow: Extend flow informations with xfrm interface id.
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 12 Jun 2018 12:06:57 +0000 (14:06 +0200)
committerSteffen Klassert <steffen.klassert@secunet.com>
Sat, 23 Jun 2018 14:07:05 +0000 (16:07 +0200)
commitd159ce7957eec306eacda672e5909e26675ca8ef
treeaebceb677c9b8614df76a07f5a6028f1a4ded290
parent9b42c1f179a614e11893ae4619f0304a38f481ae
flow: Extend flow informations with xfrm interface id.

Add a new flowi_xfrm structure with informations needed to do
a xfrm lookup. At the moment it keeps the informations about
the new xfrm interface id needed to lookup xfrm interfaces
that are introduced with a followup patch. We need this new
lookup key as other possible keys, like the ifindex is
already part of the xfrm selector and used as a key to
enforce the output device after the transformation in the
policy/state lookup.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Acked-by: Benedict Wong <benedictwong@google.com>
Tested-by: Benedict Wong <benedictwong@google.com>
Tested-by: Antony Antony <antony@phenome.org>
Reviewed-by: Eyal Birger <eyal.birger@gmail.com>
include/net/flow.h