diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 13:40:58 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-11-13 15:00:09 +0000 |
| commit | c22c6600ea5172145e20d546d9856421eaee0527 (patch) | |
| tree | 594aa44ead8e823e0f82d4cbf814c429d35ba248 /sys/linux/socket_inet_l2tp.txt.const | |
| parent | 354ef1b79576274b4f240cee74dc43cecdbbd0db (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/socket_inet_l2tp.txt.const')
| -rw-r--r-- | sys/linux/socket_inet_l2tp.txt.const | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/linux/socket_inet_l2tp.txt.const b/sys/linux/socket_inet_l2tp.txt.const index 3fb80e4d5..e2c624de0 100644 --- a/sys/linux/socket_inet_l2tp.txt.const +++ b/sys/linux/socket_inet_l2tp.txt.const @@ -2,24 +2,49 @@ arches = 386, amd64, arm, arm64, mips64le, ppc64le, riscv64, s390x AF_INET = 2 AF_INET6 = 10 +IFNAMSIZ = 16 IPPROTO_L2TP = 115 L2TP_ATTR_CONN_ID = 9 +L2TP_ATTR_COOKIE = 15 +L2TP_ATTR_DATA_SEQ = 4 L2TP_ATTR_DEBUG = 17 L2TP_ATTR_ENCAP_TYPE = 2 L2TP_ATTR_FD = 23 +L2TP_ATTR_IFNAME = 8 L2TP_ATTR_IP6_DADDR = 32 L2TP_ATTR_IP6_SADDR = 31 L2TP_ATTR_IP_DADDR = 25 L2TP_ATTR_IP_SADDR = 24 +L2TP_ATTR_L2SPEC_LEN = 6 L2TP_ATTR_L2SPEC_TYPE = 5 +L2TP_ATTR_LNS_MODE = 20 +L2TP_ATTR_MRU = 29 +L2TP_ATTR_MTU = 28 +L2TP_ATTR_OFFSET = 3 L2TP_ATTR_PEER_CONN_ID = 10 +L2TP_ATTR_PEER_COOKIE = 16 L2TP_ATTR_PEER_SESSION_ID = 12 L2TP_ATTR_PROTO_VERSION = 7 L2TP_ATTR_PW_TYPE = 1 +L2TP_ATTR_RECV_SEQ = 18 +L2TP_ATTR_RECV_TIMEOUT = 22 +L2TP_ATTR_SEND_SEQ = 19 L2TP_ATTR_SESSION_ID = 11 L2TP_ATTR_UDP_CSUM = 13 +L2TP_ATTR_UDP_DPORT = 27 +L2TP_ATTR_UDP_SPORT = 26 L2TP_ATTR_UDP_ZERO_CSUM6_RX = 34 L2TP_ATTR_UDP_ZERO_CSUM6_TX = 33 +L2TP_ATTR_VLAN_ID = 14 +L2TP_CMD_NOOP = 0 +L2TP_CMD_SESSION_CREATE = 5 +L2TP_CMD_SESSION_DELETE = 6 +L2TP_CMD_SESSION_GET = 8 +L2TP_CMD_SESSION_MODIFY = 7 +L2TP_CMD_TUNNEL_CREATE = 1 +L2TP_CMD_TUNNEL_DELETE = 2 +L2TP_CMD_TUNNEL_GET = 4 +L2TP_CMD_TUNNEL_MODIFY = 3 L2TP_ENCAPTYPE_IP = 1 L2TP_ENCAPTYPE_UDP = 0 L2TP_L2SPECTYPE_DEFAULT = 1 |
