xfrm: Move IPsec replay detection functions to a separate file
To support multiple versions of replay detection, we move the replay detection functions to a separate file and make them accessible via function pointers contained in the struct xfrm_replay. Signed-off-by:Steffen Klassert <steffen.klassert@secunet.com> Acked-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/xfrm.h 20 additions, 4 deletionsinclude/net/xfrm.h
- net/xfrm/Makefile 1 addition, 1 deletionnet/xfrm/Makefile
- net/xfrm/xfrm_input.c 2 additions, 3 deletionsnet/xfrm/xfrm_input.c
- net/xfrm/xfrm_output.c 4 additions, 11 deletionsnet/xfrm/xfrm_output.c
- net/xfrm/xfrm_replay.c 141 additions, 0 deletionsnet/xfrm/xfrm_replay.c
- net/xfrm/xfrm_state.c 3 additions, 108 deletionsnet/xfrm/xfrm_state.c
- net/xfrm/xfrm_user.c 3 additions, 1 deletionnet/xfrm/xfrm_user.c
Loading
Please register or sign in to comment