mbox series

[RFC,iproute2-next,0/3] xfrm: Add support for SA direction and output cleanup

Message ID cover.1716143499.git.antony.antony@secunet.com (mailing list archive)
Headers show
Series xfrm: Add support for SA direction and output cleanup | expand

Message

Antony Antony May 19, 2024, 6:36 p.m. UTC
Kernel added SA direction in commit
    179a6f5df8da ("Merge tag 'ipsec-next-2024-05-03' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next")

    This commit adds iproute2 support for SA direction.
    Additionally, redundant fields in the "ip xfrm state" output  are
    removed when SA direction is set. This series keeps the old behavior
    when the direction is not set.

    Signed-off-by: Antony Antony <antony.antony@secunet.com>

---
Antony Antony (3):
  uapi: Update kernel headers xfrm.h
  xfrm: support xfrm SA direction attribute
  xfrm: update ip xfrm state output for SA with direction attribute

 include/uapi/linux/xfrm.h |   6 ++
 ip/ipxfrm.c               | 126 +++++++++++++++++++++++++++-----------
 ip/xfrm_state.c           |  44 +++++++++++--
 3 files changed, 136 insertions(+), 40 deletions(-)

--
2.30.2