diff options
| author | Willem de Bruijn <[email protected]> | 2025-02-25 02:23:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-27 02:59:00 +0000 |
| commit | 2e5584e0f913b53630238223443ae2a67eea714c (patch) | |
| tree | 95982bef71501e3f3a5e4e11609e7e3d5e3b4eab /drivers/net/ethernet/intel/igc | |
| parent | selftests/net: prepare cmsg_ipv6.sh for ipv4 (diff) | |
| download | kernel-2e5584e0f913b53630238223443ae2a67eea714c.tar.gz kernel-2e5584e0f913b53630238223443ae2a67eea714c.zip | |
selftests/net: expand cmsg_ipv6.sh with ipv4
Expand IPV6_TCLASS to also cover IP_TOS.
Expand IPV6_HOPLIMIT to also cover IP_TTL.
Expand csmg_sender.c to allow setting IPv4 setsockopts.
Also rename struct v6 to cmsg to match its expanded scope.
Don't bother updating all occurrences of tclass and hoplimit.
Rename cmsg_ipv6.sh to cmsg_ip.sh to match the expanded scope.
Be careful around the subtle API difference between TCLASS and TOS.
IP_TOS includes ECN bits. Add a test to verify that these are masked
when making routing decisions.
Diff is more concise with --word-diff
Signed-off-by: Willem de Bruijn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions
