aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_ip_tunnel.txt.const
Commit message (Collapse)AuthorAgeFilesLines
* pkg/compiler: add consts to all files that mention themDmitry Vyukov2024-11-131-0/+1
| | | | | | | | | We already do this in most cases except for template structs (nlattr notably). Add consts that are used in template structs to all files that use them. This helps to avoid flakiness, and allows to replace descriptions files with other descriptions files without regenerating all const files. This also fixes check for presence of descriptions for sys/linux/auto.txt.json.
* sys/linux: fix tunnel descriptionsDmitry Vyukov2022-06-201-0/+1
| | | | | | | | | | | | | | | | | | sit devices are ipv4 even that it's source is in net/ipv6. The address length is 4: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L1440 and it accepts ip_tunnel_prl instead of ip6_tnl_parm2 for SIOCADDTUNNEL: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L370 Also SIOC***PRL commands accept ip_tunnel_prl instead of ip6_tnl_parm2: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L457 and SIOC***6RD accept ip_tunnel_6rd struct: https://elixir.bootlin.com/linux/v5.19-rc2/source/net/ipv6/sit.c#L1169 and both SIOC***PRL and SIOC***6RD are only applicable to sit devices rather than all tunnel types: https://elixir.bootlin.com/linux/v5.19-rc2/A/ident/SIOCGET6RD
* sys/linux: switch to the new .const formatDmitry Vyukov2020-08-131-0/+36
This reduces number of const files/lines from 1288/96599 to 158/11603. Const files are generated on next-20200813. Update #1983