xfrm: Add mode handlers for IPsec on layer 2
This patch adds a gso_segment and xmit callback for the
xfrm_mode and implement these functions for tunnel and
transport mode.
Signed-off-by:
Steffen Klassert <steffen.klassert@secunet.com>
Showing
- include/net/xfrm.h 10 additions, 0 deletionsinclude/net/xfrm.h
- net/ipv4/xfrm4_mode_transport.c 32 additions, 0 deletionsnet/ipv4/xfrm4_mode_transport.c
- net/ipv4/xfrm4_mode_tunnel.c 25 additions, 0 deletionsnet/ipv4/xfrm4_mode_tunnel.c
- net/ipv6/xfrm6_mode_transport.c 33 additions, 0 deletionsnet/ipv6/xfrm6_mode_transport.c
- net/ipv6/xfrm6_mode_tunnel.c 24 additions, 0 deletionsnet/ipv6/xfrm6_mode_tunnel.c
Please register or sign in to comment