From c22c6600ea5172145e20d546d9856421eaee0527 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 13 Nov 2024 13:40:58 +0100 Subject: pkg/compiler: add consts to all files that mention them 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/socket_inet.txt.const | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/linux/socket_inet.txt.const') diff --git a/sys/linux/socket_inet.txt.const b/sys/linux/socket_inet.txt.const index ba7c837b5..70a91f009 100644 --- a/sys/linux/socket_inet.txt.const +++ b/sys/linux/socket_inet.txt.const @@ -10,6 +10,8 @@ ATF_NETMASK = 32 ATF_PERM = 4 ATF_PUBL = 8 ATF_USETRAILERS = 16 +IFNAMSIZ = 16 +IFREQ_SIZE = ??? IPPROTO_IP = 0 IP_ADD_MEMBERSHIP = 35 IP_ADD_SOURCE_MEMBERSHIP = 39 -- cgit mrf-deployment