Skip to content

Configure XFRM encryption using direct netlink requests

Martin Doucha ltp 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 2 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6lapi/xfrm.h: Include system XFRM headerinclude/lapi/xfrm.h+3 -01 reply
2/6xfrm01: Use NETDEV_SET_STATE() to activate loopbacktestcases/network/sockets/xfrm01.c+2 -80 replies
3/6xfrm01: Configure xfrm using direct netlink requesttestcases/network/sockets/xfrm01.c+63 -240 replies
4/6lapi/udp.h: Add fallback constant for ESP-in-TCPinclude/lapi/udp.h+4 -00 replies
5/6xfrm02: Configure xfrm using direct netlink requesttestcases/network/sockets/xfrm02.c+64 -270 replies
6/6xfrm03: Configure xfrm using direct netlink requesttestcases/network/sockets/xfrm03.c+63 -280 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [LTP] [PATCH v2 0/6] Configure XFRM encryption using direct netlink requests

Rewrite xfrm encryption setup using direct netlink calls instead of executing the external ip utility. This allows the tests to detect whether the necessary features are supported by the kernel and exit with TCONF if the support is missing. Some kernels lack XFRM support even though kernel config claims the necessary modules should be available.

Martin Doucha (6):
lapi/xfrm.h: Include system XFRM header
xfrm01: Use NETDEV_SET_STATE() to activate loopback
xfrm01: Configure xfrm using direct netlink request lapi/udp.h: Add fallback constant for ESP-in-TCP
xfrm02: Configure xfrm using direct netlink request
xfrm03: Configure xfrm using direct netlink request

 include/lapi/udp.h                 |  4 ++
 include/lapi/xfrm.h                |  3 +
 testcases/network/sockets/xfrm01.c | 99 ++++++++++++++++++++----------
 testcases/network/sockets/xfrm02.c | 91 +++++++++++++++++++--------
 testcases/network/sockets/xfrm03.c | 91 ++++++++++++++++++---------
 5 files changed, 200 insertions(+), 88 deletions(-)
Signature · 5 lines
2.54.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp