]> git.karo-electronics.de Git - linux-beck.git/commit
{pktgen, xfrm} Introduce xfrm_state_lookup_byspi for pktgen
authorFan Du <fan.du@windriver.com>
Fri, 3 Jan 2014 03:18:32 +0000 (11:18 +0800)
committerSteffen Klassert <steffen.klassert@secunet.com>
Fri, 3 Jan 2014 06:29:12 +0000 (07:29 +0100)
commitc454997e68eb013510ba128283ad3b4aefeff630
treec32cd7284c1e831c84aa962bced9fb0d816b5c51
parentcf93d47ed4489cc349678f397290b3ecba868a3b
{pktgen, xfrm} Introduce xfrm_state_lookup_byspi for pktgen

Introduce xfrm_state_lookup_byspi to find user specified by custom
from "pgset spi xxx". Using this scheme, any flow regardless its
saddr/daddr could be transform by SA specified with configurable
spi.

Signed-off-by: Fan Du <fan.du@windriver.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
include/net/xfrm.h
net/core/pktgen.c
net/xfrm/xfrm_state.c