mbox series

[net-next,0/2] expand cmsg_ipv6.sh with ipv4 support

Message ID 20250225022431.2083926-1-willemdebruijn.kernel@gmail.com (mailing list archive)
Headers show
Series expand cmsg_ipv6.sh with ipv4 support | expand

Message

Willem de Bruijn Feb. 25, 2025, 2:23 a.m. UTC
From: Willem de Bruijn <willemb@google.com>

Expand IPV6_TCLASS to also cover IP_TOS.
Expand IPV6_HOPLIMIT to also cover IP_TTL.

A series of two patches for basic readability (patch 1 is a noop),
and so that git does not interpret code changes + file rename as
a whole file del + add.

Willem de Bruijn (2):
  selftests/net: prepare cmsg_ipv6.sh for ipv4
  selftests/net: expand cmsg_ipv6.sh with ipv4

 tools/testing/selftests/net/Makefile      |   2 +-
 tools/testing/selftests/net/cmsg_ip.sh    | 184 ++++++++++++++++++++++
 tools/testing/selftests/net/cmsg_ipv6.sh  | 154 ------------------
 tools/testing/selftests/net/cmsg_sender.c |  90 +++++++----
 4 files changed, 240 insertions(+), 190 deletions(-)
 create mode 100755 tools/testing/selftests/net/cmsg_ip.sh
 delete mode 100755 tools/testing/selftests/net/cmsg_ipv6.sh