]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/net: prepare cmsg_ipv6.sh for ipv4
authorWillem de Bruijn <willemb@google.com>
Tue, 25 Feb 2025 02:23:58 +0000 (21:23 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Feb 2025 02:59:00 +0000 (18:59 -0800)
commitc1d6d629ab0b3dd991c7fb04587dd2adf2c4b426
treec447fdf9458fdab9607e577ea61db79de3b82c8b
parent3ba075278c11cdb19e2dbb80362042f1b0c08f74
selftests/net: prepare cmsg_ipv6.sh for ipv4

Move IPV6_TCLASS and IPV6_HOPLIMIT into loops, to be able to use them
for IP_TOS and IP_TTL in a follow-on patch.

Indentation in this file is a mix of four spaces and tabs for double
indents. To minimize code churn, maintain that pattern.

Very small diff if viewing with -w.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20250225022431.2083926-2-willemdebruijn.kernel@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/cmsg_ipv6.sh