aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_net_tun.txt.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-11-13 13:40:58 +0100
committerDmitry Vyukov <dvyukov@google.com>2024-11-13 15:00:09 +0000
commitc22c6600ea5172145e20d546d9856421eaee0527 (patch)
tree594aa44ead8e823e0f82d4cbf814c429d35ba248 /sys/linux/dev_net_tun.txt.const
parent354ef1b79576274b4f240cee74dc43cecdbbd0db (diff)
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.
Diffstat (limited to 'sys/linux/dev_net_tun.txt.const')
-rw-r--r--sys/linux/dev_net_tun.txt.const2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/dev_net_tun.txt.const b/sys/linux/dev_net_tun.txt.const
index 88d0bf62b..c6ddeda3b 100644
--- a/sys/linux/dev_net_tun.txt.const
+++ b/sys/linux/dev_net_tun.txt.const
@@ -81,6 +81,8 @@ IFF_TAP = 2
IFF_TUN = 1
IFF_TUN_EXCL = 32768
IFF_VNET_HDR = 16384
+IFNAMSIZ = 16
+IFREQ_SIZE = ???
SIOCGIFHWADDR = 35111
SIOCGSKNS = 35148
SIOCSIFHWADDR = 35108