From 25a0186eba20ef6f4f657039ff02eff52a838b1c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 31 Dec 2019 10:52:22 +0100 Subject: sys/linux: add IPPROTO_L2TP descriptions --- executor/defs.h | 12 +- executor/syscalls.h | 204 ++++++- sys/linux/gen/386.go | 879 +++++++++++++++++++++++++---- sys/linux/gen/amd64.go | 897 ++++++++++++++++++++++++++---- sys/linux/gen/arm.go | 879 +++++++++++++++++++++++++---- sys/linux/gen/arm64.go | 897 ++++++++++++++++++++++++++---- sys/linux/gen/mips64le.go | 897 ++++++++++++++++++++++++++---- sys/linux/gen/ppc64le.go | 897 ++++++++++++++++++++++++++---- sys/linux/socket.txt | 3 + sys/linux/socket.txt.warn | 2 +- sys/linux/socket_inet_l2tp.txt | 110 ++++ sys/linux/socket_inet_l2tp.txt.warn | 1 + sys/linux/socket_inet_l2tp_386.const | 64 +++ sys/linux/socket_inet_l2tp_amd64.const | 64 +++ sys/linux/socket_inet_l2tp_arm.const | 64 +++ sys/linux/socket_inet_l2tp_arm64.const | 64 +++ sys/linux/socket_inet_l2tp_mips64le.const | 64 +++ sys/linux/socket_inet_l2tp_ppc64le.const | 64 +++ sys/linux/socket_pppox.txt | 34 +- sys/linux/socket_pppox.txt.warn | 2 +- 20 files changed, 5467 insertions(+), 631 deletions(-) create mode 100644 sys/linux/socket_inet_l2tp.txt create mode 100644 sys/linux/socket_inet_l2tp.txt.warn create mode 100644 sys/linux/socket_inet_l2tp_386.const create mode 100644 sys/linux/socket_inet_l2tp_amd64.const create mode 100644 sys/linux/socket_inet_l2tp_arm.const create mode 100644 sys/linux/socket_inet_l2tp_arm64.const create mode 100644 sys/linux/socket_inet_l2tp_mips64le.const create mode 100644 sys/linux/socket_inet_l2tp_ppc64le.const diff --git a/executor/defs.h b/executor/defs.h index 000b052ee..e0d729fd8 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -70,7 +70,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "157b55fd1f528118ea52fa1e0c21bb374993121c" +#define SYZ_REVISION "ad2ebab4474a77453ff78097df7840813d6b5c85" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "e6f3f9ae5524f0e08a87d36f9220d85e1411dfcc" +#define SYZ_REVISION "bb8e691dfb88751f553749f9a73c0842d1e5c538" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "33c6dcbbbfea4e6a2698085406ab521df5dc86e4" +#define SYZ_REVISION "0c30bd03f89d39729a784e404c6e1b49716d64dd" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "c1de276242e00394a87bf45247d2e4035c5a0d39" +#define SYZ_REVISION "79a8be3b5c3b05481b62c56b852baca1588ec90c" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -110,7 +110,7 @@ #if GOARCH_mips64le #define GOARCH "mips64le" -#define SYZ_REVISION "d58823a066e2f2b96dda28b33593619a4c0cf212" +#define SYZ_REVISION "7a11cc5988dcdb29e89171d15e14a5954c8d4806" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -120,7 +120,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "a7a6501f5b955c40349ecbfc7e513ef6cd01743a" +#define SYZ_REVISION "bc45a305fe08fc3dd9daafa439d567ef5313df13" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/executor/syscalls.h b/executor/syscalls.h index 83ff29c86..77ef9f586 100644 --- a/executor/syscalls.h +++ b/executor/syscalls.h @@ -2093,6 +2093,8 @@ const call_t syscalls[] = { {"bind$ipx", 361}, {"bind$isdn", 361}, {"bind$isdn_base", 361}, + {"bind$l2tp", 361}, + {"bind$l2tp6", 361}, {"bind$llc", 361}, {"bind$netlink", 361}, {"bind$netrom", 361}, @@ -2164,12 +2166,14 @@ const call_t syscalls[] = { {"connect$inet6", 362}, {"connect$ipx", 362}, {"connect$l2tp", 362}, + {"connect$l2tp6", 362}, {"connect$llc", 362}, {"connect$netlink", 362}, {"connect$netrom", 362}, {"connect$nfc_llcp", 362}, {"connect$nfc_raw", 362}, {"connect$packet", 362}, + {"connect$pppl2tp", 362}, {"connect$pppoe", 362}, {"connect$pptp", 362}, {"connect$rds", 362}, @@ -2280,6 +2284,8 @@ const call_t syscalls[] = { {"getpeername$inet", 368}, {"getpeername$inet6", 368}, {"getpeername$ipx", 368}, + {"getpeername$l2tp", 368}, + {"getpeername$l2tp6", 368}, {"getpeername$llc", 368}, {"getpeername$netlink", 368}, {"getpeername$netrom", 368}, @@ -2300,6 +2306,8 @@ const call_t syscalls[] = { {"getsockname$inet", 367}, {"getsockname$inet6", 367}, {"getsockname$ipx", 367}, + {"getsockname$l2tp", 367}, + {"getsockname$l2tp6", 367}, {"getsockname$llc", 367}, {"getsockname$netlink", 367}, {"getsockname$netrom", 367}, @@ -4154,6 +4162,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 371}, {"recvfrom$inet6", 371}, {"recvfrom$ipx", 371}, + {"recvfrom$l2tp", 371}, + {"recvfrom$l2tp6", 371}, {"recvfrom$llc", 371}, {"recvfrom$netrom", 371}, {"recvfrom$packet", 371}, @@ -4255,6 +4265,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 370}, {"sendmsg$IPVS_CMD_SET_SERVICE", 370}, {"sendmsg$IPVS_CMD_ZERO", 370}, + {"sendmsg$L2TP_CMD_NOOP", 370}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 370}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 370}, + {"sendmsg$L2TP_CMD_SESSION_GET", 370}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 370}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 370}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 370}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 370}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 370}, {"sendmsg$NBD_CMD_CONNECT", 370}, {"sendmsg$NBD_CMD_DISCONNECT", 370}, {"sendmsg$NBD_CMD_RECONFIGURE", 370}, @@ -4338,6 +4357,8 @@ const call_t syscalls[] = { {"sendto$inet6", 369}, {"sendto$ipx", 369}, {"sendto$isdn", 369}, + {"sendto$l2tp", 369}, + {"sendto$l2tp6", 369}, {"sendto$llc", 369}, {"sendto$netrom", 369}, {"sendto$packet", 369}, @@ -4607,11 +4628,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 366}, {"setsockopt$ipx_IPX_TYPE", 366}, {"setsockopt$kcm_KCM_RECV_DISABLE", 366}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 366}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 366}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 366}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 366}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 366}, {"setsockopt$llc_int", 366}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 366}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 366}, @@ -4637,6 +4653,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 366}, {"setsockopt$packet_rx_ring", 366}, {"setsockopt$packet_tx_ring", 366}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 366}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 366}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 366}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 366}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 366}, {"setsockopt$rose", 366}, {"setsockopt$sock_attach_bpf", 366}, {"setsockopt$sock_cred", 366}, @@ -4710,6 +4731,7 @@ const call_t syscalls[] = { {"socket$kcm", 359}, {"socket$key", 359}, {"socket$l2tp", 359}, + {"socket$l2tp6", 359}, {"socket$netlink", 359}, {"socket$nl_crypto", 359}, {"socket$nl_generic", 359}, @@ -4717,6 +4739,7 @@ const call_t syscalls[] = { {"socket$nl_route", 359}, {"socket$nl_xfrm", 359}, {"socket$packet", 359}, + {"socket$pppl2tp", 359}, {"socket$pppoe", 359}, {"socket$pptp", 359}, {"socket$rds", 359}, @@ -4754,6 +4777,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, @@ -5149,6 +5173,8 @@ const call_t syscalls[] = { {"bind$ipx", 49}, {"bind$isdn", 49}, {"bind$isdn_base", 49}, + {"bind$l2tp", 49}, + {"bind$l2tp6", 49}, {"bind$llc", 49}, {"bind$netlink", 49}, {"bind$netrom", 49}, @@ -5220,12 +5246,14 @@ const call_t syscalls[] = { {"connect$inet6", 42}, {"connect$ipx", 42}, {"connect$l2tp", 42}, + {"connect$l2tp6", 42}, {"connect$llc", 42}, {"connect$netlink", 42}, {"connect$netrom", 42}, {"connect$nfc_llcp", 42}, {"connect$nfc_raw", 42}, {"connect$packet", 42}, + {"connect$pppl2tp", 42}, {"connect$pppoe", 42}, {"connect$pptp", 42}, {"connect$rds", 42}, @@ -5334,6 +5362,8 @@ const call_t syscalls[] = { {"getpeername$inet", 52}, {"getpeername$inet6", 52}, {"getpeername$ipx", 52}, + {"getpeername$l2tp", 52}, + {"getpeername$l2tp6", 52}, {"getpeername$llc", 52}, {"getpeername$netlink", 52}, {"getpeername$netrom", 52}, @@ -5354,6 +5384,8 @@ const call_t syscalls[] = { {"getsockname$inet", 51}, {"getsockname$inet6", 51}, {"getsockname$ipx", 51}, + {"getsockname$l2tp", 51}, + {"getsockname$l2tp6", 51}, {"getsockname$llc", 51}, {"getsockname$netlink", 51}, {"getsockname$netrom", 51}, @@ -7212,6 +7244,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 45}, {"recvfrom$inet6", 45}, {"recvfrom$ipx", 45}, + {"recvfrom$l2tp", 45}, + {"recvfrom$l2tp6", 45}, {"recvfrom$llc", 45}, {"recvfrom$netrom", 45}, {"recvfrom$packet", 45}, @@ -7314,6 +7348,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 46}, {"sendmsg$IPVS_CMD_SET_SERVICE", 46}, {"sendmsg$IPVS_CMD_ZERO", 46}, + {"sendmsg$L2TP_CMD_NOOP", 46}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 46}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 46}, + {"sendmsg$L2TP_CMD_SESSION_GET", 46}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 46}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 46}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 46}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 46}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 46}, {"sendmsg$NBD_CMD_CONNECT", 46}, {"sendmsg$NBD_CMD_DISCONNECT", 46}, {"sendmsg$NBD_CMD_RECONFIGURE", 46}, @@ -7397,6 +7440,8 @@ const call_t syscalls[] = { {"sendto$inet6", 44}, {"sendto$ipx", 44}, {"sendto$isdn", 44}, + {"sendto$l2tp", 44}, + {"sendto$l2tp6", 44}, {"sendto$llc", 44}, {"sendto$netrom", 44}, {"sendto$packet", 44}, @@ -7666,11 +7711,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 54}, {"setsockopt$ipx_IPX_TYPE", 54}, {"setsockopt$kcm_KCM_RECV_DISABLE", 54}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 54}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 54}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 54}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 54}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 54}, {"setsockopt$llc_int", 54}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 54}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 54}, @@ -7696,6 +7736,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 54}, {"setsockopt$packet_rx_ring", 54}, {"setsockopt$packet_tx_ring", 54}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 54}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 54}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 54}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 54}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 54}, {"setsockopt$rose", 54}, {"setsockopt$sock_attach_bpf", 54}, {"setsockopt$sock_cred", 54}, @@ -7769,6 +7814,7 @@ const call_t syscalls[] = { {"socket$kcm", 41}, {"socket$key", 41}, {"socket$l2tp", 41}, + {"socket$l2tp6", 41}, {"socket$netlink", 41}, {"socket$nl_crypto", 41}, {"socket$nl_generic", 41}, @@ -7776,6 +7822,7 @@ const call_t syscalls[] = { {"socket$nl_route", 41}, {"socket$nl_xfrm", 41}, {"socket$packet", 41}, + {"socket$pppl2tp", 41}, {"socket$pppoe", 41}, {"socket$pptp", 41}, {"socket$rds", 41}, @@ -7812,6 +7859,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, @@ -8198,6 +8246,8 @@ const call_t syscalls[] = { {"bind$ipx", 282}, {"bind$isdn", 282}, {"bind$isdn_base", 282}, + {"bind$l2tp", 282}, + {"bind$l2tp6", 282}, {"bind$llc", 282}, {"bind$netlink", 282}, {"bind$netrom", 282}, @@ -8269,12 +8319,14 @@ const call_t syscalls[] = { {"connect$inet6", 283}, {"connect$ipx", 283}, {"connect$l2tp", 283}, + {"connect$l2tp6", 283}, {"connect$llc", 283}, {"connect$netlink", 283}, {"connect$netrom", 283}, {"connect$nfc_llcp", 283}, {"connect$nfc_raw", 283}, {"connect$packet", 283}, + {"connect$pppl2tp", 283}, {"connect$pppoe", 283}, {"connect$pptp", 283}, {"connect$rds", 283}, @@ -8383,6 +8435,8 @@ const call_t syscalls[] = { {"getpeername$inet", 287}, {"getpeername$inet6", 287}, {"getpeername$ipx", 287}, + {"getpeername$l2tp", 287}, + {"getpeername$l2tp6", 287}, {"getpeername$llc", 287}, {"getpeername$netlink", 287}, {"getpeername$netrom", 287}, @@ -8402,6 +8456,8 @@ const call_t syscalls[] = { {"getsockname$inet", 286}, {"getsockname$inet6", 286}, {"getsockname$ipx", 286}, + {"getsockname$l2tp", 286}, + {"getsockname$l2tp6", 286}, {"getsockname$llc", 286}, {"getsockname$netlink", 286}, {"getsockname$netrom", 286}, @@ -10226,6 +10282,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 292}, {"recvfrom$inet6", 292}, {"recvfrom$ipx", 292}, + {"recvfrom$l2tp", 292}, + {"recvfrom$l2tp6", 292}, {"recvfrom$llc", 292}, {"recvfrom$netrom", 292}, {"recvfrom$packet", 292}, @@ -10328,6 +10386,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 296}, {"sendmsg$IPVS_CMD_SET_SERVICE", 296}, {"sendmsg$IPVS_CMD_ZERO", 296}, + {"sendmsg$L2TP_CMD_NOOP", 296}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 296}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 296}, + {"sendmsg$L2TP_CMD_SESSION_GET", 296}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 296}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 296}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 296}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 296}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 296}, {"sendmsg$NBD_CMD_CONNECT", 296}, {"sendmsg$NBD_CMD_DISCONNECT", 296}, {"sendmsg$NBD_CMD_RECONFIGURE", 296}, @@ -10411,6 +10478,8 @@ const call_t syscalls[] = { {"sendto$inet6", 290}, {"sendto$ipx", 290}, {"sendto$isdn", 290}, + {"sendto$l2tp", 290}, + {"sendto$l2tp6", 290}, {"sendto$llc", 290}, {"sendto$netrom", 290}, {"sendto$packet", 290}, @@ -10679,11 +10748,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 294}, {"setsockopt$ipx_IPX_TYPE", 294}, {"setsockopt$kcm_KCM_RECV_DISABLE", 294}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 294}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 294}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 294}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 294}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 294}, {"setsockopt$llc_int", 294}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 294}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 294}, @@ -10709,6 +10773,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 294}, {"setsockopt$packet_rx_ring", 294}, {"setsockopt$packet_tx_ring", 294}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 294}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 294}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 294}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 294}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 294}, {"setsockopt$rose", 294}, {"setsockopt$sock_attach_bpf", 294}, {"setsockopt$sock_cred", 294}, @@ -10782,6 +10851,7 @@ const call_t syscalls[] = { {"socket$kcm", 281}, {"socket$key", 281}, {"socket$l2tp", 281}, + {"socket$l2tp6", 281}, {"socket$netlink", 281}, {"socket$nl_crypto", 281}, {"socket$nl_generic", 281}, @@ -10789,6 +10859,7 @@ const call_t syscalls[] = { {"socket$nl_route", 281}, {"socket$nl_xfrm", 281}, {"socket$packet", 281}, + {"socket$pppl2tp", 281}, {"socket$pppoe", 281}, {"socket$pptp", 281}, {"socket$rds", 281}, @@ -10825,6 +10896,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, @@ -11209,6 +11281,8 @@ const call_t syscalls[] = { {"bind$ipx", 200}, {"bind$isdn", 200}, {"bind$isdn_base", 200}, + {"bind$l2tp", 200}, + {"bind$l2tp6", 200}, {"bind$llc", 200}, {"bind$netlink", 200}, {"bind$netrom", 200}, @@ -11278,12 +11352,14 @@ const call_t syscalls[] = { {"connect$inet6", 203}, {"connect$ipx", 203}, {"connect$l2tp", 203}, + {"connect$l2tp6", 203}, {"connect$llc", 203}, {"connect$netlink", 203}, {"connect$netrom", 203}, {"connect$nfc_llcp", 203}, {"connect$nfc_raw", 203}, {"connect$packet", 203}, + {"connect$pppl2tp", 203}, {"connect$pppoe", 203}, {"connect$pptp", 203}, {"connect$rds", 203}, @@ -11384,6 +11460,8 @@ const call_t syscalls[] = { {"getpeername$inet", 205}, {"getpeername$inet6", 205}, {"getpeername$ipx", 205}, + {"getpeername$l2tp", 205}, + {"getpeername$l2tp6", 205}, {"getpeername$llc", 205}, {"getpeername$netlink", 205}, {"getpeername$netrom", 205}, @@ -11403,6 +11481,8 @@ const call_t syscalls[] = { {"getsockname$inet", 204}, {"getsockname$inet6", 204}, {"getsockname$ipx", 204}, + {"getsockname$l2tp", 204}, + {"getsockname$l2tp6", 204}, {"getsockname$llc", 204}, {"getsockname$netlink", 204}, {"getsockname$netrom", 204}, @@ -13219,6 +13299,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 207}, {"recvfrom$inet6", 207}, {"recvfrom$ipx", 207}, + {"recvfrom$l2tp", 207}, + {"recvfrom$l2tp6", 207}, {"recvfrom$llc", 207}, {"recvfrom$netrom", 207}, {"recvfrom$packet", 207}, @@ -13318,6 +13400,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 211}, {"sendmsg$IPVS_CMD_SET_SERVICE", 211}, {"sendmsg$IPVS_CMD_ZERO", 211}, + {"sendmsg$L2TP_CMD_NOOP", 211}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 211}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 211}, + {"sendmsg$L2TP_CMD_SESSION_GET", 211}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 211}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 211}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 211}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 211}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 211}, {"sendmsg$NBD_CMD_CONNECT", 211}, {"sendmsg$NBD_CMD_DISCONNECT", 211}, {"sendmsg$NBD_CMD_RECONFIGURE", 211}, @@ -13401,6 +13492,8 @@ const call_t syscalls[] = { {"sendto$inet6", 206}, {"sendto$ipx", 206}, {"sendto$isdn", 206}, + {"sendto$l2tp", 206}, + {"sendto$l2tp6", 206}, {"sendto$llc", 206}, {"sendto$netrom", 206}, {"sendto$packet", 206}, @@ -13669,11 +13762,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 208}, {"setsockopt$ipx_IPX_TYPE", 208}, {"setsockopt$kcm_KCM_RECV_DISABLE", 208}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 208}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 208}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 208}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 208}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 208}, {"setsockopt$llc_int", 208}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 208}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 208}, @@ -13699,6 +13787,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 208}, {"setsockopt$packet_rx_ring", 208}, {"setsockopt$packet_tx_ring", 208}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 208}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 208}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 208}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 208}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 208}, {"setsockopt$rose", 208}, {"setsockopt$sock_attach_bpf", 208}, {"setsockopt$sock_cred", 208}, @@ -13771,6 +13864,7 @@ const call_t syscalls[] = { {"socket$kcm", 198}, {"socket$key", 198}, {"socket$l2tp", 198}, + {"socket$l2tp6", 198}, {"socket$netlink", 198}, {"socket$nl_crypto", 198}, {"socket$nl_generic", 198}, @@ -13778,6 +13872,7 @@ const call_t syscalls[] = { {"socket$nl_route", 198}, {"socket$nl_xfrm", 198}, {"socket$packet", 198}, + {"socket$pppl2tp", 198}, {"socket$pppoe", 198}, {"socket$pptp", 198}, {"socket$rds", 198}, @@ -13809,6 +13904,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, @@ -14190,6 +14286,8 @@ const call_t syscalls[] = { {"bind$ipx", 5048}, {"bind$isdn", 5048}, {"bind$isdn_base", 5048}, + {"bind$l2tp", 5048}, + {"bind$l2tp6", 5048}, {"bind$llc", 5048}, {"bind$netlink", 5048}, {"bind$netrom", 5048}, @@ -14261,12 +14359,14 @@ const call_t syscalls[] = { {"connect$inet6", 5041}, {"connect$ipx", 5041}, {"connect$l2tp", 5041}, + {"connect$l2tp6", 5041}, {"connect$llc", 5041}, {"connect$netlink", 5041}, {"connect$netrom", 5041}, {"connect$nfc_llcp", 5041}, {"connect$nfc_raw", 5041}, {"connect$packet", 5041}, + {"connect$pppl2tp", 5041}, {"connect$pppoe", 5041}, {"connect$pptp", 5041}, {"connect$rds", 5041}, @@ -14374,6 +14474,8 @@ const call_t syscalls[] = { {"getpeername$inet", 5051}, {"getpeername$inet6", 5051}, {"getpeername$ipx", 5051}, + {"getpeername$l2tp", 5051}, + {"getpeername$l2tp6", 5051}, {"getpeername$llc", 5051}, {"getpeername$netlink", 5051}, {"getpeername$netrom", 5051}, @@ -14394,6 +14496,8 @@ const call_t syscalls[] = { {"getsockname$inet", 5050}, {"getsockname$inet6", 5050}, {"getsockname$ipx", 5050}, + {"getsockname$l2tp", 5050}, + {"getsockname$l2tp6", 5050}, {"getsockname$llc", 5050}, {"getsockname$netlink", 5050}, {"getsockname$netrom", 5050}, @@ -16110,6 +16214,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 5044}, {"recvfrom$inet6", 5044}, {"recvfrom$ipx", 5044}, + {"recvfrom$l2tp", 5044}, + {"recvfrom$l2tp6", 5044}, {"recvfrom$llc", 5044}, {"recvfrom$netrom", 5044}, {"recvfrom$packet", 5044}, @@ -16211,6 +16317,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 5045}, {"sendmsg$IPVS_CMD_SET_SERVICE", 5045}, {"sendmsg$IPVS_CMD_ZERO", 5045}, + {"sendmsg$L2TP_CMD_NOOP", 5045}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 5045}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 5045}, + {"sendmsg$L2TP_CMD_SESSION_GET", 5045}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 5045}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 5045}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 5045}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 5045}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 5045}, {"sendmsg$NBD_CMD_CONNECT", 5045}, {"sendmsg$NBD_CMD_DISCONNECT", 5045}, {"sendmsg$NBD_CMD_RECONFIGURE", 5045}, @@ -16294,6 +16409,8 @@ const call_t syscalls[] = { {"sendto$inet6", 5043}, {"sendto$ipx", 5043}, {"sendto$isdn", 5043}, + {"sendto$l2tp", 5043}, + {"sendto$l2tp6", 5043}, {"sendto$llc", 5043}, {"sendto$netrom", 5043}, {"sendto$packet", 5043}, @@ -16563,11 +16680,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 5053}, {"setsockopt$ipx_IPX_TYPE", 5053}, {"setsockopt$kcm_KCM_RECV_DISABLE", 5053}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 5053}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 5053}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 5053}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 5053}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 5053}, {"setsockopt$llc_int", 5053}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 5053}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 5053}, @@ -16593,6 +16705,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 5053}, {"setsockopt$packet_rx_ring", 5053}, {"setsockopt$packet_tx_ring", 5053}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 5053}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 5053}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 5053}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 5053}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 5053}, {"setsockopt$rose", 5053}, {"setsockopt$sock_attach_bpf", 5053}, {"setsockopt$sock_cred", 5053}, @@ -16666,6 +16783,7 @@ const call_t syscalls[] = { {"socket$kcm", 5040}, {"socket$key", 5040}, {"socket$l2tp", 5040}, + {"socket$l2tp6", 5040}, {"socket$netlink", 5040}, {"socket$nl_crypto", 5040}, {"socket$nl_generic", 5040}, @@ -16673,6 +16791,7 @@ const call_t syscalls[] = { {"socket$nl_route", 5040}, {"socket$nl_xfrm", 5040}, {"socket$packet", 5040}, + {"socket$pppl2tp", 5040}, {"socket$pppoe", 5040}, {"socket$pptp", 5040}, {"socket$rds", 5040}, @@ -16709,6 +16828,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, @@ -17094,6 +17214,8 @@ const call_t syscalls[] = { {"bind$ipx", 327}, {"bind$isdn", 327}, {"bind$isdn_base", 327}, + {"bind$l2tp", 327}, + {"bind$l2tp6", 327}, {"bind$llc", 327}, {"bind$netlink", 327}, {"bind$netrom", 327}, @@ -17165,12 +17287,14 @@ const call_t syscalls[] = { {"connect$inet6", 328}, {"connect$ipx", 328}, {"connect$l2tp", 328}, + {"connect$l2tp6", 328}, {"connect$llc", 328}, {"connect$netlink", 328}, {"connect$netrom", 328}, {"connect$nfc_llcp", 328}, {"connect$nfc_raw", 328}, {"connect$packet", 328}, + {"connect$pppl2tp", 328}, {"connect$pppoe", 328}, {"connect$pptp", 328}, {"connect$rds", 328}, @@ -17278,6 +17402,8 @@ const call_t syscalls[] = { {"getpeername$inet", 332}, {"getpeername$inet6", 332}, {"getpeername$ipx", 332}, + {"getpeername$l2tp", 332}, + {"getpeername$l2tp6", 332}, {"getpeername$llc", 332}, {"getpeername$netlink", 332}, {"getpeername$netrom", 332}, @@ -17298,6 +17424,8 @@ const call_t syscalls[] = { {"getsockname$inet", 331}, {"getsockname$inet6", 331}, {"getsockname$ipx", 331}, + {"getsockname$l2tp", 331}, + {"getsockname$l2tp6", 331}, {"getsockname$llc", 331}, {"getsockname$netlink", 331}, {"getsockname$netrom", 331}, @@ -19118,6 +19246,8 @@ const call_t syscalls[] = { {"recvfrom$inet", 337}, {"recvfrom$inet6", 337}, {"recvfrom$ipx", 337}, + {"recvfrom$l2tp", 337}, + {"recvfrom$l2tp6", 337}, {"recvfrom$llc", 337}, {"recvfrom$netrom", 337}, {"recvfrom$packet", 337}, @@ -19219,6 +19349,15 @@ const call_t syscalls[] = { {"sendmsg$IPVS_CMD_SET_INFO", 341}, {"sendmsg$IPVS_CMD_SET_SERVICE", 341}, {"sendmsg$IPVS_CMD_ZERO", 341}, + {"sendmsg$L2TP_CMD_NOOP", 341}, + {"sendmsg$L2TP_CMD_SESSION_CREATE", 341}, + {"sendmsg$L2TP_CMD_SESSION_DELETE", 341}, + {"sendmsg$L2TP_CMD_SESSION_GET", 341}, + {"sendmsg$L2TP_CMD_SESSION_MODIFY", 341}, + {"sendmsg$L2TP_CMD_TUNNEL_CREATE", 341}, + {"sendmsg$L2TP_CMD_TUNNEL_DELETE", 341}, + {"sendmsg$L2TP_CMD_TUNNEL_GET", 341}, + {"sendmsg$L2TP_CMD_TUNNEL_MODIFY", 341}, {"sendmsg$NBD_CMD_CONNECT", 341}, {"sendmsg$NBD_CMD_DISCONNECT", 341}, {"sendmsg$NBD_CMD_RECONFIGURE", 341}, @@ -19302,6 +19441,8 @@ const call_t syscalls[] = { {"sendto$inet6", 335}, {"sendto$ipx", 335}, {"sendto$isdn", 335}, + {"sendto$l2tp", 335}, + {"sendto$l2tp6", 335}, {"sendto$llc", 335}, {"sendto$netrom", 335}, {"sendto$packet", 335}, @@ -19570,11 +19711,6 @@ const call_t syscalls[] = { {"setsockopt$inet_udp_int", 339}, {"setsockopt$ipx_IPX_TYPE", 339}, {"setsockopt$kcm_KCM_RECV_DISABLE", 339}, - {"setsockopt$l2tp_PPPOL2TP_SO_DEBUG", 339}, - {"setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", 339}, - {"setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", 339}, - {"setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", 339}, - {"setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", 339}, {"setsockopt$llc_int", 339}, {"setsockopt$netlink_NETLINK_ADD_MEMBERSHIP", 339}, {"setsockopt$netlink_NETLINK_BROADCAST_ERROR", 339}, @@ -19600,6 +19736,11 @@ const call_t syscalls[] = { {"setsockopt$packet_int", 339}, {"setsockopt$packet_rx_ring", 339}, {"setsockopt$packet_tx_ring", 339}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", 339}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", 339}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", 339}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", 339}, + {"setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", 339}, {"setsockopt$rose", 339}, {"setsockopt$sock_attach_bpf", 339}, {"setsockopt$sock_cred", 339}, @@ -19673,6 +19814,7 @@ const call_t syscalls[] = { {"socket$kcm", 326}, {"socket$key", 326}, {"socket$l2tp", 326}, + {"socket$l2tp6", 326}, {"socket$netlink", 326}, {"socket$nl_crypto", 326}, {"socket$nl_generic", 326}, @@ -19680,6 +19822,7 @@ const call_t syscalls[] = { {"socket$nl_route", 326}, {"socket$nl_xfrm", 326}, {"socket$packet", 326}, + {"socket$pppl2tp", 326}, {"socket$pppoe", 326}, {"socket$pptp", 326}, {"socket$rds", 326}, @@ -19715,6 +19858,7 @@ const call_t syscalls[] = { {"syz_genetlink_get_family_id$fou", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$gtp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$ipvs", 0, (syscall_t)syz_genetlink_get_family_id}, + {"syz_genetlink_get_family_id$l2tp", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$nbd", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$net_dm", 0, (syscall_t)syz_genetlink_get_family_id}, {"syz_genetlink_get_family_id$team", 0, (syscall_t)syz_genetlink_get_family_id}, diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index b9dcd6c4a..752b11c0c 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -149,6 +149,7 @@ var resources_386 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -211,7 +212,8 @@ var resources_386 = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -225,6 +227,7 @@ var resources_386 = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -6900,6 +6903,51 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8744,6 +8792,42 @@ var structDescs_386 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -11390,6 +11474,46 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12526,6 +12650,87 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14371,6 +14576,87 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -16852,6 +17138,184 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24254,6 +24718,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24533,51 +24998,42 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -24768,6 +25224,52 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -24901,11 +25403,13 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -24934,11 +25438,13 @@ var structDescs_386 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -33468,6 +33974,16 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 361, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 361, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 361, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -33807,7 +34323,12 @@ var syscalls_386 = []*Syscall{ }}, {NR: 362, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 362, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, {NR: 362, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -33840,6 +34361,11 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 362, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 362, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -34404,6 +34930,16 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 368, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 368, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 368, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -34493,6 +35029,16 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 367, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 367, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 367, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -38621,7 +39167,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2152231990}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -39153,7 +39699,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -39201,7 +39747,7 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 54, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -44324,6 +44870,22 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 371, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 371, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 371, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -44867,6 +45429,51 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 370, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 370, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -45300,6 +45907,22 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 369, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 369, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 369, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -47131,41 +47754,6 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"val"}}, }}, - {NR: 366, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 366, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 366, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 366, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 366, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 366, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 268}, @@ -47341,6 +47929,41 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Path: []string{"optval"}}, }}, + {NR: 366, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 366, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 366, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 366, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 366, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 366, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, @@ -47736,10 +48359,15 @@ var syscalls_386 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 359, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -47775,6 +48403,11 @@ var syscalls_386 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 359, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 359, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, @@ -47943,6 +48576,9 @@ var syscalls_386 = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -52763,6 +53399,57 @@ var consts_386 = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -58235,4 +58922,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "157b55fd1f528118ea52fa1e0c21bb374993121c" +const revision_386 = "ad2ebab4474a77453ff78097df7840813d6b5c85" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index a5e14b6c3..0924c731b 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -149,6 +149,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -211,7 +212,8 @@ var resources_amd64 = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -225,6 +227,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -7031,6 +7034,51 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8895,6 +8943,42 @@ var structDescs_amd64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -11551,6 +11635,46 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12768,6 +12892,105 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14742,6 +14965,87 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -17225,6 +17529,184 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24665,6 +25147,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24944,51 +25427,42 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -25179,6 +25653,52 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -25312,11 +25832,13 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -25345,11 +25867,13 @@ var structDescs_amd64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -34078,6 +34602,16 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 49, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 49, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 49, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -34417,7 +34951,12 @@ var syscalls_amd64 = []*Syscall{ }}, {NR: 42, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 42, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, {NR: 42, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -34450,6 +34989,11 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 42, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 42, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -35004,6 +35548,16 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 52, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 52, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 52, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -35093,6 +35647,16 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 51, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 51, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 51, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -39221,7 +39785,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 16, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2152231990}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -39753,7 +40317,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 16, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -39801,7 +40365,7 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 16, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -44946,6 +45510,22 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 45, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 45, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 45, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -45494,6 +46074,51 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 46, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 46, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -45927,6 +46552,22 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 44, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 44, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 44, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -47758,41 +48399,6 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"val"}}, }}, - {NR: 54, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 54, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 54, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 54, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 54, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 54, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 268}, @@ -47968,6 +48574,41 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, }}, + {NR: 54, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 54, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 54, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 54, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 54, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 54, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, @@ -48363,10 +49004,15 @@ var syscalls_amd64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 41, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -48402,6 +49048,11 @@ var syscalls_amd64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 41, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 41, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, @@ -48566,6 +49217,9 @@ var syscalls_amd64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -53386,6 +54040,57 @@ var consts_amd64 = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -58869,4 +59574,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "e6f3f9ae5524f0e08a87d36f9220d85e1411dfcc" +const revision_amd64 = "bb8e691dfb88751f553749f9a73c0842d1e5c538" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 0b5594c8b..8a76e7d8d 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -149,6 +149,7 @@ var resources_arm = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -211,7 +212,8 @@ var resources_arm = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -225,6 +227,7 @@ var resources_arm = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -6931,6 +6934,51 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8779,6 +8827,42 @@ var structDescs_arm = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 8}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 8}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"addr"}}, @@ -11243,6 +11327,46 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12384,6 +12508,87 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 28}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 4}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 4}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 28}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14229,6 +14434,87 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -16710,6 +16996,184 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24133,6 +24597,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24412,51 +24877,42 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -24647,6 +25103,52 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -24780,11 +25282,13 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -24813,11 +25317,13 @@ var structDescs_arm = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -33361,6 +33867,16 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 282, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 282, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 282, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -33700,7 +34216,12 @@ var syscalls_arm = []*Syscall{ }}, {NR: 283, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 283, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, {NR: 283, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -33733,6 +34254,11 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 283, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 283, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -34288,6 +34814,16 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 287, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 287, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 287, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -34373,6 +34909,16 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 286, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 286, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 286, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -38381,7 +38927,7 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 2152231990}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -38913,7 +39459,7 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -38961,7 +39507,7 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 54, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 4}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -44056,6 +44602,22 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 292, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 292, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 292, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -44603,6 +45165,51 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 296, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 296, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -45036,6 +45643,22 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, }}, + {NR: 290, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, + {NR: 290, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 4, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + }}, {NR: 290, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -46864,41 +47487,6 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"val"}}, }}, - {NR: 294, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 294, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 294, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 294, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 294, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 294, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 268}, @@ -47074,6 +47662,41 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Path: []string{"optval"}}, }}, + {NR: 294, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 294, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 294, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 294, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 294, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 4}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 294, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 260}, @@ -47469,10 +48092,15 @@ var syscalls_arm = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 281, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 3}, @@ -47508,6 +48136,11 @@ var syscalls_arm = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 4}}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 281, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 281, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 1}, @@ -47670,6 +48303,9 @@ var syscalls_arm = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 4}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -52436,6 +53072,57 @@ var consts_arm = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -57883,4 +58570,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "33c6dcbbbfea4e6a2698085406ab521df5dc86e4" +const revision_arm = "0c30bd03f89d39729a784e404c6e1b49716d64dd" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index cc807b404..5bd0c0a93 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -149,6 +149,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -211,7 +212,8 @@ var resources_arm64 = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -225,6 +227,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -7031,6 +7034,51 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8895,6 +8943,42 @@ var structDescs_arm64 = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -11360,6 +11444,46 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12577,6 +12701,105 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14551,6 +14774,87 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -17034,6 +17338,184 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24474,6 +24956,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24753,51 +25236,42 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -24988,6 +25462,52 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -25121,11 +25641,13 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -25154,11 +25676,13 @@ var structDescs_arm64 = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -33828,6 +34352,16 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 200, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 200, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 200, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -34158,7 +34692,12 @@ var syscalls_arm64 = []*Syscall{ }}, {NR: 203, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 203, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, {NR: 203, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -34191,6 +34730,11 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 203, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 203, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -34712,6 +35256,16 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 205, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 205, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 205, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -34798,6 +35352,16 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 204, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 204, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 204, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -38810,7 +39374,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 29, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 2152231990}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -39342,7 +39906,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 29, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -39390,7 +39954,7 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 29, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -44456,6 +45020,22 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 207, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 207, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 207, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -44990,6 +45570,51 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 211, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 211, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -45423,6 +46048,22 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 206, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 206, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 206, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -47251,41 +47892,6 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"val"}}, }}, - {NR: 208, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 208, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 208, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 208, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 208, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 208, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 268}, @@ -47461,6 +48067,41 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, }}, + {NR: 208, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 208, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 208, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 208, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 208, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 208, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, @@ -47851,10 +48492,15 @@ var syscalls_arm64 = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 198, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -47890,6 +48536,11 @@ var syscalls_arm64 = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 198, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 198, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, @@ -48034,6 +48685,9 @@ var syscalls_arm64 = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -52796,6 +53450,57 @@ var consts_arm64 = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -58214,4 +58919,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "c1de276242e00394a87bf45247d2e4035c5a0d39" +const revision_arm64 = "79a8be3b5c3b05481b62c56b852baca1588ec90c" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 0d779ae9f..e0d39fb8f 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -147,6 +147,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -209,7 +210,8 @@ var resources_mips64le = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -223,6 +225,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -7028,6 +7031,51 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8892,6 +8940,42 @@ var structDescs_mips64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -11304,6 +11388,46 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12521,6 +12645,105 @@ var structDescs_mips64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14495,6 +14718,87 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -16978,6 +17282,184 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24418,6 +24900,7 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24697,51 +25180,42 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -24932,6 +25406,52 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -25065,11 +25585,13 @@ var structDescs_mips64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -25098,11 +25620,13 @@ var structDescs_mips64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -32907,6 +33431,16 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 5048, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 5048, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 5048, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -33246,7 +33780,12 @@ var syscalls_mips64le = []*Syscall{ }}, {NR: 5041, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 5041, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, {NR: 5041, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -33279,6 +33818,11 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 5041, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 5041, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -33830,6 +34374,16 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 5051, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 5051, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 5051, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -33919,6 +34473,16 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 5050, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 5050, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 5050, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -37912,7 +38476,7 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 5015, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1078490166}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -38444,7 +39008,7 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 5015, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -38492,7 +39056,7 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 5015, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -43064,6 +43628,22 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 5044, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 5044, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 5044, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -43605,6 +44185,51 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 5045, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 5045, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -44038,6 +44663,22 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 5043, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 5043, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 5043, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -45869,41 +46510,6 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"val"}}, }}, - {NR: 5053, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 5053, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 5053, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 5053, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 5053, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 5053, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 268}, @@ -46079,6 +46685,41 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, }}, + {NR: 5053, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 5053, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 5053, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 5053, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 5053, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 5053, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, @@ -46474,10 +47115,15 @@ var syscalls_mips64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5040, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 5040, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5040, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -46513,6 +47159,11 @@ var syscalls_mips64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{3, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 5040, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 5040, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, @@ -46677,6 +47328,9 @@ var syscalls_mips64le = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -51439,6 +52093,57 @@ var consts_mips64le = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -55839,4 +56544,4 @@ var consts_mips64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_mips64le = "d58823a066e2f2b96dda28b33593619a4c0cf212" +const revision_mips64le = "7a11cc5988dcdb29e89171d15e14a5954c8d4806" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index b698ec227..520733517 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -149,6 +149,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "genl_fou_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_fou_family_id"}, Values: []uint64{0}}, {Name: "genl_gtp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_gtp_family_id"}, Values: []uint64{0}}, {Name: "genl_ipvs_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_ipvs_family_id"}, Values: []uint64{0}}, + {Name: "genl_l2tp_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_l2tp_family_id"}, Values: []uint64{0}}, {Name: "genl_nbd_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_nbd_family_id"}, Values: []uint64{0}}, {Name: "genl_net_dm_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_net_dm_family_id"}, Values: []uint64{0}}, {Name: "genl_seg6_family_id", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", TypeSize: 2}}}, Kind: []string{"genl_seg6_family_id"}, Values: []uint64{0}}, @@ -211,7 +212,8 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "sock_isdn_base", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_isdn_base"}, Values: []uint64{18446744073709551615}}, {Name: "sock_kcm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_kcm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_key", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_key"}, Values: []uint64{18446744073709551615}}, - {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in", "sock_l2tp"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_l2tp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_in6", "sock_l2tp6"}, Values: []uint64{18446744073709551615}}, {Name: "sock_llc", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_llc"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_client", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_client"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nbd_server", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_nbd_server"}, Values: []uint64{18446744073709551615}}, @@ -225,6 +227,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "sock_nl_route", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_route"}, Values: []uint64{18446744073709551615}}, {Name: "sock_nl_xfrm", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_netlink", "sock_nl_xfrm"}, Values: []uint64{18446744073709551615}}, {Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{18446744073709551615}}, + {Name: "sock_pppl2tp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppl2tp"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppoe", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pppoe"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pppox", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox"}, Values: []uint64{18446744073709551615}}, {Name: "sock_pptp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: []string{"fd", "sock", "sock_pppox", "sock_pptp"}, Values: []uint64{18446744073709551615}}, @@ -7030,6 +7033,51 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_NOOP]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 8}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 7}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]", TypeSize: 4}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "reserved", TypeSize: 2}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "genlmsghdr_t[NBD_CMD_CONNECT]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "genlmsghdr_t[NBD_CMD_CONNECT]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "version", TypeSize: 1}}}, @@ -8894,6 +8942,42 @@ var structDescs_ppc64le = []*KeyedStruct{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, + {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 16}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, + }}}, {Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "iovec[in, netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 16}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"addr"}}, @@ -11306,6 +11390,46 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "txwin", TypeSize: 2, ArgDir: 1}}}, }}}, + {Key: StructKey{Name: "l2tp_nl_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_nl_policy", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, FldName: "L2TP_ATTR_PW_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, FldName: "L2TP_ATTR_ENCAP_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, FldName: "L2TP_ATTR_OFFSET"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_DATA_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, FldName: "L2TP_ATTR_L2SPEC_TYPE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, FldName: "L2TP_ATTR_L2SPEC_LEN"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, FldName: "L2TP_ATTR_PROTO_VERSION"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, FldName: "L2TP_ATTR_PEER_CONN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, FldName: "L2TP_ATTR_PEER_SESSION_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_CSUM"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, FldName: "L2TP_ATTR_VLAN_ID"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, FldName: "L2TP_ATTR_DEBUG"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_RECV_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, FldName: "L2TP_ATTR_SEND_SEQ"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, FldName: "L2TP_ATTR_LNS_MODE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, FldName: "L2TP_ATTR_RECV_TIMEOUT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, FldName: "L2TP_ATTR_FD"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, FldName: "L2TP_ATTR_IP_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_SPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, FldName: "L2TP_ATTR_UDP_DPORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, FldName: "L2TP_ATTR_MTU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, FldName: "L2TP_ATTR_MRU"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_SADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, FldName: "L2TP_ATTR_IP6_DADDR"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, FldName: "L2TP_ATTR_IFNAME"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, FldName: "L2TP_ATTR_PEER_COOKIE"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_TX"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, FldName: "L2TP_ATTR_UDP_ZERO_CSUM6_RX"}, + }}}, + {Key: StructKey{Name: "l2tp_tunnel_fd"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "l2tp_tunnel_fd", TypeSize: 4}, Fields: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "udp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "udp6", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "l2tp", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "l2tp6", TypeSize: 4}}, + }}}, {Key: StructKey{Name: "linger"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "linger", TypeSize: 8}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "onoff", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "linger", TypeSize: 4}}}, @@ -12523,6 +12647,105 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, + {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]", TypeSize: 56}, Fields: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "vec", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "iovec[in, netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "vlen", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrl", TypeSize: 8}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ctrllen", TypeSize: 8}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 4}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true}, + }}}, {Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]", TypeSize: 56}, Fields: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_nl_t[AF_NETLINK, const[0, int32], flags[netlink_group_bitmap, int32]]"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 4}}, Path: []string{"addr"}}, @@ -14497,6 +14720,87 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "genlmsghdr_t[IPVS_CMD_ZERO]"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ip_vs_cmd_policy"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_NOOP]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_SESSION_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_GET]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]", IsVarlen: true}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "type", TypeSize: 2}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 1, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 1, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY]"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "l2tp_nl_policy"}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"parent"}}, &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "type", TypeSize: 2}}, @@ -16980,6 +17284,184 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 15}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DATA_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_DEBUG, int16], bool32]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 17}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_ENCAP_TYPE, int16], flags[l2tp_encap_type, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_encap_type", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_FD, int16], l2tp_tunnel_fd]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 23}, + &UnionType{Key: StructKey{Name: "l2tp_tunnel_fd"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IFNAME, int16], devname]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", TypeSize: 16}, Kind: 2, SubKind: "devnames", Values: []string{"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "lo\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "tunl0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "gretap0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip_vti0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6_vti0\x00\x00\x00\x00\x00\x00\x00\x00", "sit0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6tnl0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gre0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6gretap0\x00\x00\x00\x00\x00\x00", "bond0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "dummy0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "eql\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ifb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ipddp0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "yam0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bcsh0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "teql0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "irlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "erspan0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bpq0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vlan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "bridge0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vcan0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "team0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "syz_tun\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_bridge\x00", "veth1_to_bridge\x00", "veth0_to_bond\x00\x00\x00", "veth1_to_bond\x00\x00\x00", "veth0_to_team\x00\x00\x00", "veth1_to_team\x00\x00\x00", "bridge_slave_0\x00\x00", "bridge_slave_1\x00\x00", "bond_slave_0\x00\x00\x00\x00", "bond_slave_1\x00\x00\x00\x00", "team_slave_0\x00\x00\x00\x00", "team_slave_1\x00\x00\x00\x00", "syzkaller0\x00\x00\x00\x00\x00\x00", "syzkaller1\x00\x00\x00\x00\x00\x00", "lapb0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "hwsim0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "rose0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "nr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "veth0_to_hsr\x00\x00\x00\x00", "veth1_to_hsr\x00\x00\x00\x00", "hsr0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "ip6erspan0\x00\x00\x00\x00\x00\x00", "nlmon0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "vxcan1\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "caif0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "batadv0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "netdevsim0\x00\x00\x00\x00\x00\x00", "netpci0\x00\x00\x00\x00\x00\x00\x00\x00\x00", "xfrm0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", "virt_wifi0\x00\x00\x00\x00\x00\x00"}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_DADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 32}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP6_SADDR, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 31}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_DADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 25}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_IP_SADDR, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 24}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_LEN, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_L2SPEC_TYPE, int16], flags[l2tp_l2spec_type, int8]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_l2spec_type", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1}, BitMask: true}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_LNS_MODE, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 20}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MRU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 29}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_MTU, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 28}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_OFFSET, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_CONN_ID, int16], l2tp_conn_id]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_COOKIE, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 16}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PEER_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 12}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PROTO_VERSION, int16], int8[2:3]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeBegin: 2, RangeEnd: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_PW_TYPE, int16], flags[l2tp_pwtype, int16]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "l2tp_pwtype", FldName: "payload", TypeSize: 2}}, Vals: []uint64{0, 4, 5, 7, 8, 11}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_RECV_TIMEOUT, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SEND_SEQ, int16], int8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 19}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_SESSION_ID, int16], l2tp_session[int32]]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_CSUM, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 13}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_DPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 27}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_SPORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 26}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 1, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_RX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 34}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_UDP_ZERO_CSUM6_TX, int16], bool8]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 33}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}, Kind: 1, RangeEnd: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[L2TP_ATTR_VLAN_ID, int16], int16]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 14}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "payload", TypeSize: 2}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[NBD_ATTR_BLOCK_SIZE_BYTES, int16], int64]", TypeSize: 12}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, @@ -24420,6 +24902,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "sockaddr_xdp", Dir: 2}, FldName: "xdp"}, &UnionType{Key: StructKey{Name: "sockaddr_tipc", Dir: 2}, FldName: "tipc"}, &StructType{Key: StructKey{Name: "sockaddr_mISDN", Dir: 2}, FldName: "isdn"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, FldName: "l2tp"}, &StructType{Key: StructKey{Name: "sockaddr_ethernet", Dir: 2}, FldName: "ethernet"}, &StructType{Key: StructKey{Name: "sockaddr_generic", Dir: 2}, FldName: "generic"}, }}}, @@ -24699,51 +25182,42 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", TypeSize: 1, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 1}}, IsPad: true}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, - }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4}}}, }}}, - {Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, - &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 1}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip", TypeSize: 16, ArgDir: 2}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 2}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 2}}}, + &UnionType{Key: StructKey{Name: "ipv4_addr", Dir: 2}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 2}}, Kind: 1, RangeEnd: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "__pad", TypeSize: 4, ArgDir: 2}}}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4}}, Kind: 1, RangeEnd: 4}, + }}}, + {Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_l2tpip6", TypeSize: 32, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_family", TypeSize: 2, ArgDir: 1}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "l2tp_unused", TypeSize: 2, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32be", FldName: "l2tp_flowinfo", TypeSize: 4, ArgDir: 1}, ArgFormat: 1}}, + &UnionType{Key: StructKey{Name: "ipv6_addr", Dir: 1}, FldName: "l2tp_addr"}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_scope_id", TypeSize: 4, ArgDir: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "l2tp_conn_id", TypeSize: 4, ArgDir: 1}}, Kind: 1, RangeEnd: 4}, }}}, {Key: StructKey{Name: "sockaddr_ll"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", TypeSize: 20}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", TypeSize: 2}}, Val: 17}, @@ -24934,6 +25408,52 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_pid", TypeSize: 4, ArgDir: 2}}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nl_groups", TypeSize: 4, ArgDir: 2}}}, }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tp_addr]", TypeSize: 38, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", TypeSize: 50, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int16]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", TypeSize: 46, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tp_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]"}, FldName: "addr"}, + }}}, + {Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", TypeSize: 58, ArgDir: 1}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2, ArgDir: 1}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4, ArgDir: 1}}, Val: 1}, + &StructType{Key: StructKey{Name: "pppol2tpin6_addr_t[int32]", Dir: 1}, FldName: "addr"}, + }}}, {Key: StructKey{Name: "sockaddr_pppoe"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "sockaddr_pppoe", TypeSize: 30}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_family", TypeSize: 2}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sa_protocol", TypeSize: 4}}}, @@ -25067,11 +25587,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl"}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll"}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe"}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]"}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]"}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]"}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]"}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp"}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc"}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can"}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco"}, FldName: "sco"}, @@ -25100,11 +25622,13 @@ var structDescs_ppc64le = []*KeyedStruct{ &UnionType{Key: StructKey{Name: "sockaddr_nl", Dir: 1}, FldName: "nl"}, &StructType{Key: StructKey{Name: "sockaddr_ll", Dir: 1}, FldName: "ll"}, &StructType{Key: StructKey{Name: "sockaddr_pppoe", Dir: 1}, FldName: "pppoe"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, - &StructType{Key: StructKey{Name: "sockaddr_l2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tp_addr]", Dir: 1}, FldName: "pppol2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpin6_addr]", Dir: 1}, FldName: "pppol2tpin6"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3_addr]", Dir: 1}, FldName: "pppol2tpv3"}, + &StructType{Key: StructKey{Name: "sockaddr_pppl2tp_t[pppol2tpv3in6_addr]", Dir: 1}, FldName: "pppol2tpv3in6"}, &StructType{Key: StructKey{Name: "sockaddr_pptp", Dir: 1}, FldName: "pptp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}, FldName: "l2tp"}, + &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}, FldName: "l2tp6"}, &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}, FldName: "llc"}, &StructType{Key: StructKey{Name: "sockaddr_can", Dir: 1}, FldName: "can"}, &StructType{Key: StructKey{Name: "sockaddr_sco", Dir: 1}, FldName: "sco"}, @@ -33720,6 +34244,16 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"addr"}}, }}, + {NR: 327, Name: "bind$l2tp", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 327, Name: "bind$l2tp6", CallName: "bind", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 327, Name: "bind$llc", CallName: "bind", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc"}}}, @@ -34059,7 +34593,12 @@ var syscalls_ppc64le = []*Syscall{ }}, {NR: 328, Name: "connect$l2tp", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_l2tp"}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 328, Name: "connect$l2tp6", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, {NR: 328, Name: "connect$llc", CallName: "connect", Args: []Type{ @@ -34092,6 +34631,11 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ll"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 328, Name: "connect$pppl2tp", CallName: "connect", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "sockaddr_pppl2tp"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 328, Name: "connect$pppoe", CallName: "connect", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppoe", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_pppoe"}}}, @@ -34643,6 +35187,16 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, }}, + {NR: 332, Name: "getpeername$l2tp", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, + {NR: 332, Name: "getpeername$l2tp6", CallName: "getpeername", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"peer"}}}, + }}, {NR: 332, Name: "getpeername$llc", CallName: "getpeername", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -34732,6 +35286,16 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx", Dir: 1}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, }}, + {NR: 331, Name: "getsockname$l2tp", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, + {NR: 331, Name: "getsockname$l2tp6", CallName: "getsockname", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Path: []string{"addr"}}}, + }}, {NR: 331, Name: "getsockname$llc", CallName: "getsockname", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "sockaddr_llc", Dir: 1}}}, @@ -38725,7 +39289,7 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", TypeSize: 16, ArgDir: 1}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", TypeSize: 8, ArgDir: 1}}}, Kind: 1, RangeBegin: 2, RangeEnd: 2}}, }}, {NR: 54, Name: "ioctl$PPPIOCGL2TPSTATS", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 1078490166}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, }}, @@ -39257,7 +39821,7 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, void]", Dir: 1}}}, }}, {NR: 54, Name: "ioctl$SIOCGIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35105}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]", Dir: 1}}}, }}, @@ -39305,7 +39869,7 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, mac_addr]"}}}, }}, {NR: 54, Name: "ioctl$SIOCSIFMTU", CallName: "ioctl", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", TypeSize: 8}}, Val: 35106}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "ifreq_dev_t[devnames, int32]"}}}, }}, @@ -44395,6 +44959,22 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_ipx"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 337, Name: "recvfrom$l2tp", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 337, Name: "recvfrom$l2tp6", CallName: "recvfrom", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "recv_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6", Dir: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 337, Name: "recvfrom$llc", CallName: "recvfrom", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", ArgDir: 1, IsVarlen: true}}}, @@ -44938,6 +45518,51 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_ipvs_family_id, genlmsghdr_t[IPVS_CMD_ZERO], ip_vs_cmd_policy]]"}}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_NOOP", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_NOOP], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_SESSION_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_SESSION_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_SESSION_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_SESSION_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_SESSION_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_TUNNEL_CREATE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_CREATE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_TUNNEL_DELETE", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_DELETE], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_TUNNEL_GET", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_GET], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, + {NR: 341, Name: "sendmsg$L2TP_CMD_TUNNEL_MODIFY", CallName: "sendmsg", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[L2TP_CMD_TUNNEL_MODIFY], l2tp_nl_policy]]"}}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + }}, {NR: 341, Name: "sendmsg$NBD_CMD_CONNECT", CallName: "sendmsg", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nl_generic", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "msghdr_netlink[netlink_msg_t[genl_nbd_family_id, genlmsghdr_t[NBD_CMD_CONNECT], nbd_attr_policy]]"}}}, @@ -45371,6 +45996,22 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_mISDN"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, }}, + {NR: 335, Name: "sendto$l2tp", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, + {NR: 335, Name: "sendto$l2tp6", CallName: "sendto", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "fd", TypeSize: 4}}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"buf"}}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "send_flags", FldName: "f", TypeSize: 8}}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912, 67108864}, BitMask: true}, + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", TypeSize: 8, IsOptional: true}, Type: &StructType{Key: StructKey{Name: "sockaddr_l2tpip6"}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", TypeSize: 8}}, Path: []string{"addr"}}, + }}, {NR: 335, Name: "sendto$llc", CallName: "sendto", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "buf", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, @@ -47199,41 +47840,6 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "val", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"val"}}, }}, - {NR: 339, Name: "setsockopt$l2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 339, Name: "setsockopt$l2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 339, Name: "setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 339, Name: "setsockopt$l2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, - {NR: 339, Name: "setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ - &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "fd", TypeSize: 4}}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, - &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, - }}, {NR: 339, Name: "setsockopt$llc_int", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 268}, @@ -47409,6 +48015,41 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &UnionType{Key: StructKey{Name: "tpacket_req_u"}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Path: []string{"optval"}}, }}, + {NR: 339, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 339, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 4}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 339, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 2}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 339, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 5}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, + {NR: 339, Name: "setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ", CallName: "setsockopt", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 273}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 3}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optval", TypeSize: 4}}, Kind: 1, RangeEnd: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "optlen", TypeSize: 8}}, BitSize: 8, Path: []string{"optval"}}, + }}, {NR: 339, Name: "setsockopt$rose", CallName: "setsockopt", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_rose", FldName: "fd", TypeSize: 4}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 260}, @@ -47804,10 +48445,15 @@ var syscalls_ppc64le = []*Syscall{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 2}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_key", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$l2tp", CallName: "socket", Args: []Type{ - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, - &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 326, Name: "socket$l2tp6", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 115}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_l2tp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$netlink", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 16}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 3}, @@ -47843,6 +48489,11 @@ var syscalls_ppc64le = []*Syscall{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "packet_socket_type", FldName: "type", TypeSize: 8}}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 768}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {NR: 326, Name: "socket$pppl2tp", CallName: "socket", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 1}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_pppl2tp", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {NR: 326, Name: "socket$pppoe", CallName: "socket", Args: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 24}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 1}, @@ -48001,6 +48652,9 @@ var syscalls_ppc64le = []*Syscall{ {Name: "syz_genetlink_get_family_id$ipvs", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"IPVS\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_ipvs_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, + {Name: "syz_genetlink_get_family_id$l2tp", CallName: "syz_genetlink_get_family_id", Args: []Type{ + &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 5}, Kind: 2, Values: []string{"l2tp\x00"}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_l2tp_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, {Name: "syz_genetlink_get_family_id$nbd", CallName: "syz_genetlink_get_family_id", Args: []Type{ &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", TypeSize: 8}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", TypeSize: 4}, Kind: 2, Values: []string{"nbd\x00"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "genl_nbd_family_id", FldName: "ret", TypeSize: 2, ArgDir: 1}}}, @@ -52771,6 +53425,57 @@ var consts_ppc64le = []ConstValue{ {Name: "L2CAP_LM_SECURE", Value: 32}, {Name: "L2CAP_LM_TRUSTED", Value: 8}, {Name: "L2CAP_OPTIONS", Value: 1}, + {Name: "L2TP_ATTR_CONN_ID", Value: 9}, + {Name: "L2TP_ATTR_COOKIE", Value: 15}, + {Name: "L2TP_ATTR_DATA_SEQ", Value: 4}, + {Name: "L2TP_ATTR_DEBUG", Value: 17}, + {Name: "L2TP_ATTR_ENCAP_TYPE", Value: 2}, + {Name: "L2TP_ATTR_FD", Value: 23}, + {Name: "L2TP_ATTR_IFNAME", Value: 8}, + {Name: "L2TP_ATTR_IP6_DADDR", Value: 32}, + {Name: "L2TP_ATTR_IP6_SADDR", Value: 31}, + {Name: "L2TP_ATTR_IP_DADDR", Value: 25}, + {Name: "L2TP_ATTR_IP_SADDR", Value: 24}, + {Name: "L2TP_ATTR_L2SPEC_LEN", Value: 6}, + {Name: "L2TP_ATTR_L2SPEC_TYPE", Value: 5}, + {Name: "L2TP_ATTR_LNS_MODE", Value: 20}, + {Name: "L2TP_ATTR_MRU", Value: 29}, + {Name: "L2TP_ATTR_MTU", Value: 28}, + {Name: "L2TP_ATTR_OFFSET", Value: 3}, + {Name: "L2TP_ATTR_PEER_CONN_ID", Value: 10}, + {Name: "L2TP_ATTR_PEER_COOKIE", Value: 16}, + {Name: "L2TP_ATTR_PEER_SESSION_ID", Value: 12}, + {Name: "L2TP_ATTR_PROTO_VERSION", Value: 7}, + {Name: "L2TP_ATTR_PW_TYPE", Value: 1}, + {Name: "L2TP_ATTR_RECV_SEQ", Value: 18}, + {Name: "L2TP_ATTR_RECV_TIMEOUT", Value: 22}, + {Name: "L2TP_ATTR_SEND_SEQ", Value: 19}, + {Name: "L2TP_ATTR_SESSION_ID", Value: 11}, + {Name: "L2TP_ATTR_UDP_CSUM", Value: 13}, + {Name: "L2TP_ATTR_UDP_DPORT", Value: 27}, + {Name: "L2TP_ATTR_UDP_SPORT", Value: 26}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_RX", Value: 34}, + {Name: "L2TP_ATTR_UDP_ZERO_CSUM6_TX", Value: 33}, + {Name: "L2TP_ATTR_VLAN_ID", Value: 14}, + {Name: "L2TP_CMD_NOOP"}, + {Name: "L2TP_CMD_SESSION_CREATE", Value: 5}, + {Name: "L2TP_CMD_SESSION_DELETE", Value: 6}, + {Name: "L2TP_CMD_SESSION_GET", Value: 8}, + {Name: "L2TP_CMD_SESSION_MODIFY", Value: 7}, + {Name: "L2TP_CMD_TUNNEL_CREATE", Value: 1}, + {Name: "L2TP_CMD_TUNNEL_DELETE", Value: 2}, + {Name: "L2TP_CMD_TUNNEL_GET", Value: 4}, + {Name: "L2TP_CMD_TUNNEL_MODIFY", Value: 3}, + {Name: "L2TP_ENCAPTYPE_IP", Value: 1}, + {Name: "L2TP_ENCAPTYPE_UDP"}, + {Name: "L2TP_L2SPECTYPE_DEFAULT", Value: 1}, + {Name: "L2TP_L2SPECTYPE_NONE"}, + {Name: "L2TP_PWTYPE_ETH", Value: 5}, + {Name: "L2TP_PWTYPE_ETH_VLAN", Value: 4}, + {Name: "L2TP_PWTYPE_IP", Value: 11}, + {Name: "L2TP_PWTYPE_NONE"}, + {Name: "L2TP_PWTYPE_PPP", Value: 7}, + {Name: "L2TP_PWTYPE_PPP_AC", Value: 8}, {Name: "LED_MAX", Value: 15}, {Name: "LLC_OPT_ACK_TMR_EXP", Value: 3}, {Name: "LLC_OPT_BUSY_TMR_EXP", Value: 6}, @@ -58173,4 +58878,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "a7a6501f5b955c40349ecbfc7e513ef6cd01743a" +const revision_ppc64le = "bc45a305fe08fc3dd9daafa439d567ef5313df13" diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 6b3209a2d..e8f8090c6 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -74,6 +74,7 @@ sockaddr [ xdp sockaddr_xdp tipc sockaddr_tipc isdn sockaddr_mISDN + l2tp sockaddr_l2tpip ethernet sockaddr_ethernet generic sockaddr_generic ] [size[SOCKADDR_SIZE]] @@ -94,6 +95,8 @@ sockaddr_storage [ pppol2tpv3 sockaddr_pppol2tpv3 pppol2tpv3in6 sockaddr_pppol2tpv3in6 pptp sockaddr_pptp + l2tp sockaddr_l2tpip + l2tp6 sockaddr_l2tpip6 llc sockaddr_llc can sockaddr_can sco sockaddr_sco diff --git a/sys/linux/socket.txt.warn b/sys/linux/socket.txt.warn index 823772a74..514c6412e 100644 --- a/sys/linux/socket.txt.warn +++ b/sys/linux/socket.txt.warn @@ -1,6 +1,6 @@ compiler: unsupported syscall: accept due to missing const __NR_accept [386] no-such-struct: sock_pair -bad-field-number: sockaddr: syz=17 kernel=2 +bad-field-number: sockaddr: syz=18 kernel=2 bad-field-size: sockaddr.in/sa_family: syz=16 kernel=2 bad-field-size: sockaddr.ax25/sa_data: syz=16 kernel=14 bad-field-offset: sockaddr.ax25/sa_data: syz=16 kernel=2 diff --git a/sys/linux/socket_inet_l2tp.txt b/sys/linux/socket_inet_l2tp.txt new file mode 100644 index 000000000..b283ea773 --- /dev/null +++ b/sys/linux/socket_inet_l2tp.txt @@ -0,0 +1,110 @@ +# Copyright 2019 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +include +include +include +include + +resource sock_l2tp[sock_in] +resource sock_l2tp6[sock_in6] + +type l2tp_conn_id int32[0:4] + +socket$l2tp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_L2TP]) sock_l2tp +bind$l2tp(fd sock_l2tp, addr ptr[in, sockaddr_l2tpip], addrlen len[addr]) +connect$l2tp(fd sock_l2tp, addr ptr[in, sockaddr_l2tpip], addrlen len[addr]) +sendto$l2tp(fd sock_l2tp, buf ptr[in, array[int8]], len bytesize[buf], f flags[send_flags], addr ptr[in, sockaddr_l2tpip, opt], addrlen len[addr]) +recvfrom$l2tp(fd sock_l2tp, buf ptr[out, array[int8]], len bytesize[buf], f flags[recv_flags], addr ptr[out, sockaddr_l2tpip, opt], addrlen len[addr]) +getsockname$l2tp(fd sock_l2tp, addr ptr[out, sockaddr_l2tpip], addrlen ptr[inout, len[addr, int32]]) +getpeername$l2tp(fd sock_l2tp, peer ptr[out, sockaddr_l2tpip], peerlen ptr[inout, len[peer, int32]]) + +socket$l2tp6(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_L2TP]) sock_l2tp6 +bind$l2tp6(fd sock_l2tp6, addr ptr[in, sockaddr_l2tpip6], addrlen len[addr]) +connect$l2tp6(fd sock_l2tp6, addr ptr[in, sockaddr_l2tpip6], addrlen len[addr]) +sendto$l2tp6(fd sock_l2tp6, buf ptr[in, array[int8]], len bytesize[buf], f flags[send_flags], addr ptr[in, sockaddr_l2tpip6, opt], addrlen len[addr]) +recvfrom$l2tp6(fd sock_l2tp6, buf ptr[out, array[int8]], len bytesize[buf], f flags[recv_flags], addr ptr[out, sockaddr_l2tpip6, opt], addrlen len[addr]) +getsockname$l2tp6(fd sock_l2tp6, addr ptr[out, sockaddr_l2tpip6], addrlen ptr[inout, len[addr, int32]]) +getpeername$l2tp6(fd sock_l2tp6, peer ptr[out, sockaddr_l2tpip6], peerlen ptr[inout, len[peer, int32]]) + +sockaddr_l2tpip { + l2tp_family const[AF_INET, int16] + l2tp_unused const[0, int16] + l2tp_addr ipv4_addr + l2tp_conn_id l2tp_conn_id + __pad const[0, int32] +} + +sockaddr_l2tpip6 { + l2tp_family const[AF_INET6, int16] + l2tp_unused const[0, int16] + l2tp_flowinfo int32be + l2tp_addr ipv6_addr + l2tp_scope_id int32 + l2tp_conn_id l2tp_conn_id +} + +resource genl_l2tp_family_id[int16] +type msghdr_nl_l2tp[CMD] msghdr_netlink[netlink_msg_t[genl_l2tp_family_id, genlmsghdr_t[CMD], l2tp_nl_policy]] + +syz_genetlink_get_family_id$l2tp(name ptr[in, string["l2tp"]]) genl_l2tp_family_id + +sendmsg$L2TP_CMD_NOOP(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_NOOP]], f flags[send_flags]) +sendmsg$L2TP_CMD_TUNNEL_CREATE(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_TUNNEL_CREATE]], f flags[send_flags]) +sendmsg$L2TP_CMD_TUNNEL_DELETE(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_TUNNEL_DELETE]], f flags[send_flags]) +sendmsg$L2TP_CMD_TUNNEL_MODIFY(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_TUNNEL_MODIFY]], f flags[send_flags]) +sendmsg$L2TP_CMD_TUNNEL_GET(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_TUNNEL_GET]], f flags[send_flags]) +sendmsg$L2TP_CMD_SESSION_CREATE(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_SESSION_CREATE]], f flags[send_flags]) +sendmsg$L2TP_CMD_SESSION_DELETE(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_SESSION_DELETE]], f flags[send_flags]) +sendmsg$L2TP_CMD_SESSION_MODIFY(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_SESSION_MODIFY]], f flags[send_flags]) +sendmsg$L2TP_CMD_SESSION_GET(fd sock_nl_generic, msg ptr[in, msghdr_nl_l2tp[L2TP_CMD_SESSION_GET]], f flags[send_flags]) + +l2tp_nl_policy [ + L2TP_ATTR_PW_TYPE nlattr[L2TP_ATTR_PW_TYPE, flags[l2tp_pwtype, int16]] + L2TP_ATTR_ENCAP_TYPE nlattr[L2TP_ATTR_ENCAP_TYPE, flags[l2tp_encap_type, int16]] + L2TP_ATTR_OFFSET nlattr[L2TP_ATTR_OFFSET, int16] + L2TP_ATTR_DATA_SEQ nlattr[L2TP_ATTR_DATA_SEQ, int8] + L2TP_ATTR_L2SPEC_TYPE nlattr[L2TP_ATTR_L2SPEC_TYPE, flags[l2tp_l2spec_type, int8]] + L2TP_ATTR_L2SPEC_LEN nlattr[L2TP_ATTR_L2SPEC_LEN, int8] + L2TP_ATTR_PROTO_VERSION nlattr[L2TP_ATTR_PROTO_VERSION, int8[2:3]] + L2TP_ATTR_CONN_ID nlattr[L2TP_ATTR_CONN_ID, l2tp_conn_id] + L2TP_ATTR_PEER_CONN_ID nlattr[L2TP_ATTR_PEER_CONN_ID, l2tp_conn_id] + L2TP_ATTR_SESSION_ID nlattr[L2TP_ATTR_SESSION_ID, l2tp_session[int32]] + L2TP_ATTR_PEER_SESSION_ID nlattr[L2TP_ATTR_PEER_SESSION_ID, l2tp_session[int32]] + L2TP_ATTR_UDP_CSUM nlattr[L2TP_ATTR_UDP_CSUM, bool8] +# TODO: what is this vlan id? It sure needs to match something somewhere. Is it a confused name for vlan tag?... + L2TP_ATTR_VLAN_ID nlattr[L2TP_ATTR_VLAN_ID, int16] + L2TP_ATTR_DEBUG nlattr[L2TP_ATTR_DEBUG, bool32] + L2TP_ATTR_RECV_SEQ nlattr[L2TP_ATTR_RECV_SEQ, int8] + L2TP_ATTR_SEND_SEQ nlattr[L2TP_ATTR_SEND_SEQ, int8] + L2TP_ATTR_LNS_MODE nlattr[L2TP_ATTR_LNS_MODE, int8] +# L2TP_ATTR_USING_IPSEC is output + L2TP_ATTR_RECV_TIMEOUT nlattr[L2TP_ATTR_RECV_TIMEOUT, int64] + L2TP_ATTR_FD nlattr[L2TP_ATTR_FD, l2tp_tunnel_fd] + L2TP_ATTR_IP_SADDR nlattr[L2TP_ATTR_IP_SADDR, ipv4_addr] + L2TP_ATTR_IP_DADDR nlattr[L2TP_ATTR_IP_DADDR, ipv4_addr] + L2TP_ATTR_UDP_SPORT nlattr[L2TP_ATTR_UDP_SPORT, sock_port] + L2TP_ATTR_UDP_DPORT nlattr[L2TP_ATTR_UDP_DPORT, sock_port] + L2TP_ATTR_MTU nlattr[L2TP_ATTR_MTU, int16] + L2TP_ATTR_MRU nlattr[L2TP_ATTR_MRU, int16] +# L2TP_ATTR_STATS is output + L2TP_ATTR_IP6_SADDR nlattr[L2TP_ATTR_IP6_SADDR, ipv6_addr] + L2TP_ATTR_IP6_DADDR nlattr[L2TP_ATTR_IP6_DADDR, ipv6_addr] + L2TP_ATTR_IFNAME nlattr[L2TP_ATTR_IFNAME, devname] + L2TP_ATTR_COOKIE nlattr[L2TP_ATTR_COOKIE, int64] + L2TP_ATTR_PEER_COOKIE nlattr[L2TP_ATTR_PEER_COOKIE, int64] + L2TP_ATTR_UDP_ZERO_CSUM6_TX nlattr[L2TP_ATTR_UDP_ZERO_CSUM6_TX, bool8] + L2TP_ATTR_UDP_ZERO_CSUM6_RX nlattr[L2TP_ATTR_UDP_ZERO_CSUM6_RX, bool8] +# L2TP_ATTR_PAD is output +] [varlen] + +l2tp_tunnel_fd [ + udp sock_udp + udp6 sock_udp6 + l2tp sock_l2tp + l2tp6 sock_l2tp6 +] + +l2tp_pwtype = L2TP_PWTYPE_NONE, L2TP_PWTYPE_ETH_VLAN, L2TP_PWTYPE_ETH, L2TP_PWTYPE_PPP, L2TP_PWTYPE_PPP_AC, L2TP_PWTYPE_IP +l2tp_l2spec_type = L2TP_L2SPECTYPE_NONE, L2TP_L2SPECTYPE_DEFAULT +l2tp_encap_type = L2TP_ENCAPTYPE_UDP, L2TP_ENCAPTYPE_IP diff --git a/sys/linux/socket_inet_l2tp.txt.warn b/sys/linux/socket_inet_l2tp.txt.warn new file mode 100644 index 000000000..24a605518 --- /dev/null +++ b/sys/linux/socket_inet_l2tp.txt.warn @@ -0,0 +1 @@ +no-such-struct: l2tp_tunnel_fd diff --git a/sys/linux/socket_inet_l2tp_386.const b/sys/linux/socket_inet_l2tp_386.const new file mode 100644 index 000000000..1ebdfbb0f --- /dev/null +++ b/sys/linux/socket_inet_l2tp_386.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 2 +__NR_bind = 361 +__NR_connect = 362 +__NR_getpeername = 368 +__NR_getsockname = 367 +__NR_recvfrom = 371 +__NR_sendmsg = 370 +__NR_sendto = 369 +__NR_socket = 359 diff --git a/sys/linux/socket_inet_l2tp_amd64.const b/sys/linux/socket_inet_l2tp_amd64.const new file mode 100644 index 000000000..3bb3a5859 --- /dev/null +++ b/sys/linux/socket_inet_l2tp_amd64.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 2 +__NR_bind = 49 +__NR_connect = 42 +__NR_getpeername = 52 +__NR_getsockname = 51 +__NR_recvfrom = 45 +__NR_sendmsg = 46 +__NR_sendto = 44 +__NR_socket = 41 diff --git a/sys/linux/socket_inet_l2tp_arm.const b/sys/linux/socket_inet_l2tp_arm.const new file mode 100644 index 000000000..6e0ac8ae2 --- /dev/null +++ b/sys/linux/socket_inet_l2tp_arm.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 2 +__NR_bind = 282 +__NR_connect = 283 +__NR_getpeername = 287 +__NR_getsockname = 286 +__NR_recvfrom = 292 +__NR_sendmsg = 296 +__NR_sendto = 290 +__NR_socket = 281 diff --git a/sys/linux/socket_inet_l2tp_arm64.const b/sys/linux/socket_inet_l2tp_arm64.const new file mode 100644 index 000000000..b9f9482a5 --- /dev/null +++ b/sys/linux/socket_inet_l2tp_arm64.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 2 +__NR_bind = 200 +__NR_connect = 203 +__NR_getpeername = 205 +__NR_getsockname = 204 +__NR_recvfrom = 207 +__NR_sendmsg = 211 +__NR_sendto = 206 +__NR_socket = 198 diff --git a/sys/linux/socket_inet_l2tp_mips64le.const b/sys/linux/socket_inet_l2tp_mips64le.const new file mode 100644 index 000000000..68a8019fd --- /dev/null +++ b/sys/linux/socket_inet_l2tp_mips64le.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 1 +__NR_bind = 5048 +__NR_connect = 5041 +__NR_getpeername = 5051 +__NR_getsockname = 5050 +__NR_recvfrom = 5044 +__NR_sendmsg = 5045 +__NR_sendto = 5043 +__NR_socket = 5040 diff --git a/sys/linux/socket_inet_l2tp_ppc64le.const b/sys/linux/socket_inet_l2tp_ppc64le.const new file mode 100644 index 000000000..b341f4bfc --- /dev/null +++ b/sys/linux/socket_inet_l2tp_ppc64le.const @@ -0,0 +1,64 @@ +# AUTOGENERATED FILE +AF_INET = 2 +AF_INET6 = 10 +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 +L2TP_L2SPECTYPE_NONE = 0 +L2TP_PWTYPE_ETH = 5 +L2TP_PWTYPE_ETH_VLAN = 4 +L2TP_PWTYPE_IP = 11 +L2TP_PWTYPE_NONE = 0 +L2TP_PWTYPE_PPP = 7 +L2TP_PWTYPE_PPP_AC = 8 +SOCK_DGRAM = 2 +__NR_bind = 327 +__NR_connect = 328 +__NR_getpeername = 332 +__NR_getsockname = 331 +__NR_recvfrom = 337 +__NR_sendmsg = 341 +__NR_sendto = 335 +__NR_socket = 326 diff --git a/sys/linux/socket_pppox.txt b/sys/linux/socket_pppox.txt index c8c698674..790386794 100644 --- a/sys/linux/socket_pppox.txt +++ b/sys/linux/socket_pppox.txt @@ -8,7 +8,7 @@ include resource sock_pppox[sock] resource sock_pppoe[sock_pppox] -resource sock_l2tp[sock_pppox] +resource sock_pppl2tp[sock_pppox] resource sock_pptp[sock_pppox] type pptp_call_id int16be[0:3] @@ -21,16 +21,16 @@ connect$pppoe(fd sock_pppoe, addr ptr[in, sockaddr_pppoe], addrlen len[addr]) ioctl$PPPOEIOCSFWD(fd sock_pppoe, cmd const[PPPOEIOCSFWD], arg ptr[in, sockaddr_pppoe]) ioctl$PPPOEIOCDFWD(fd sock_pppoe, cmd const[PPPOEIOCDFWD], arg const[0]) -socket$l2tp(domain const[AF_PPPOX], type const[SOCK_STREAM], proto const[PX_PROTO_OL2TP]) sock_l2tp -connect$l2tp(fd sock_l2tp, addr ptr[in, sockaddr_l2tp], addrlen len[addr]) -ioctl$PPPIOCGL2TPSTATS(fd sock_l2tp, cmd const[PPPIOCGL2TPSTATS], arg ptr[in, array[int8]]) -ioctl$SIOCGIFMTU(fd sock_l2tp, cmd const[SIOCGIFMTU], arg ptr[out, ifreq_t[int32]]) -ioctl$SIOCSIFMTU(fd sock_l2tp, cmd const[SIOCSIFMTU], arg ptr[in, ifreq_t[int32]]) -setsockopt$l2tp_PPPOL2TP_SO_DEBUG(fd sock_l2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_DEBUG], optval int32, optlen bytesize[optval]) -setsockopt$l2tp_PPPOL2TP_SO_RECVSEQ(fd sock_l2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_RECVSEQ], optval bool32, optlen bytesize[optval]) -setsockopt$l2tp_PPPOL2TP_SO_SENDSEQ(fd sock_l2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_SENDSEQ], optval bool32, optlen bytesize[optval]) -setsockopt$l2tp_PPPOL2TP_SO_LNSMODE(fd sock_l2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_LNSMODE], optval bool32, optlen bytesize[optval]) -setsockopt$l2tp_PPPOL2TP_SO_REORDERTO(fd sock_l2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_REORDERTO], optval int32, optlen bytesize[optval]) +socket$pppl2tp(domain const[AF_PPPOX], type const[SOCK_STREAM], proto const[PX_PROTO_OL2TP]) sock_pppl2tp +connect$pppl2tp(fd sock_pppl2tp, addr ptr[in, sockaddr_pppl2tp], addrlen len[addr]) +ioctl$PPPIOCGL2TPSTATS(fd sock_pppl2tp, cmd const[PPPIOCGL2TPSTATS], arg ptr[in, array[int8]]) +ioctl$SIOCGIFMTU(fd sock_pppl2tp, cmd const[SIOCGIFMTU], arg ptr[out, ifreq_t[int32]]) +ioctl$SIOCSIFMTU(fd sock_pppl2tp, cmd const[SIOCSIFMTU], arg ptr[in, ifreq_t[int32]]) +setsockopt$pppl2tp_PPPOL2TP_SO_DEBUG(fd sock_pppl2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_DEBUG], optval int32, optlen bytesize[optval]) +setsockopt$pppl2tp_PPPOL2TP_SO_RECVSEQ(fd sock_pppl2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_RECVSEQ], optval bool32, optlen bytesize[optval]) +setsockopt$pppl2tp_PPPOL2TP_SO_SENDSEQ(fd sock_pppl2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_SENDSEQ], optval bool32, optlen bytesize[optval]) +setsockopt$pppl2tp_PPPOL2TP_SO_LNSMODE(fd sock_pppl2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_LNSMODE], optval bool32, optlen bytesize[optval]) +setsockopt$pppl2tp_PPPOL2TP_SO_REORDERTO(fd sock_pppl2tp, level const[SOL_PPPOL2TP], optname const[PPPOL2TP_SO_REORDERTO], optval int32, optlen bytesize[optval]) socket$pptp(domain const[AF_PPPOX], type const[SOCK_STREAM], proto const[PX_PROTO_PPTP]) sock_pptp bind$pptp(fd sock_pptp, addr ptr[in, sockaddr_pptp], addrlen len[addr]) @@ -56,19 +56,19 @@ pppoe_addr { dev devname } -sockaddr_l2tp [ +sockaddr_pppl2tp [ pppol2tp sockaddr_pppol2tp pppol2tpin6 sockaddr_pppol2tpin6 pppol2tpv3 sockaddr_pppol2tpv3 pppol2tpv3in6 sockaddr_pppol2tpv3in6 ] [varlen] -type sockaddr_pppol2tp sockaddr_l2tp_t[pppol2tp_addr] -type sockaddr_pppol2tpin6 sockaddr_l2tp_t[pppol2tpin6_addr] -type sockaddr_pppol2tpv3 sockaddr_l2tp_t[pppol2tpv3_addr] -type sockaddr_pppol2tpv3in6 sockaddr_l2tp_t[pppol2tpv3in6_addr] +type sockaddr_pppol2tp sockaddr_pppl2tp_t[pppol2tp_addr] +type sockaddr_pppol2tpin6 sockaddr_pppl2tp_t[pppol2tpin6_addr] +type sockaddr_pppol2tpv3 sockaddr_pppl2tp_t[pppol2tpv3_addr] +type sockaddr_pppol2tpv3in6 sockaddr_pppl2tp_t[pppol2tpv3in6_addr] -type sockaddr_l2tp_t[ADDR] { +type sockaddr_pppl2tp_t[ADDR] { sa_family const[AF_PPPOX, int16] sa_protocol const[PX_PROTO_OL2TP, int32] addr ADDR diff --git a/sys/linux/socket_pppox.txt.warn b/sys/linux/socket_pppox.txt.warn index d6470dc29..392aa0f9f 100644 --- a/sys/linux/socket_pppox.txt.warn +++ b/sys/linux/socket_pppox.txt.warn @@ -1,5 +1,5 @@ no-such-struct: sockaddr_pppoe -no-such-struct: sockaddr_l2tp_t +no-such-struct: sockaddr_pppl2tp_t no-such-struct: pppol2tp_addr_t no-such-struct: pppol2tpin6_addr_t no-such-struct: sockaddr_pptp -- cgit mrf-deployment