aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-12-31 10:52:22 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-12-31 10:52:22 +0100
commit25a0186eba20ef6f4f657039ff02eff52a838b1c (patch)
treea4b58c27a32c21ee4630cf43dd03b24eadb1214b /sys/linux
parent7f117e28b86fbcd044980c4d2c8baa07548bf0cb (diff)
sys/linux: add IPPROTO_L2TP descriptions
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/gen/386.go879
-rw-r--r--sys/linux/gen/amd64.go897
-rw-r--r--sys/linux/gen/arm.go879
-rw-r--r--sys/linux/gen/arm64.go897
-rw-r--r--sys/linux/gen/mips64le.go897
-rw-r--r--sys/linux/gen/ppc64le.go897
-rw-r--r--sys/linux/socket.txt3
-rw-r--r--sys/linux/socket.txt.warn2
-rw-r--r--sys/linux/socket_inet_l2tp.txt110
-rw-r--r--sys/linux/socket_inet_l2tp.txt.warn1
-rw-r--r--sys/linux/socket_inet_l2tp_386.const64
-rw-r--r--sys/linux/socket_inet_l2tp_amd64.const64
-rw-r--r--sys/linux/socket_inet_l2tp_arm.const64
-rw-r--r--sys/linux/socket_inet_l2tp_arm64.const64
-rw-r--r--sys/linux/socket_inet_l2tp_mips64le.const64
-rw-r--r--sys/linux/socket_inet_l2tp_ppc64le.const64
-rw-r--r--sys/linux/socket_pppox.txt34
-rw-r--r--sys/linux/socket_pppox.txt.warn2
18 files changed, 5287 insertions, 595 deletions
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 <linux/net.h>
+include <uapi/linux/netlink.h>
+include <uapi/linux/genetlink.h>
+include <uapi/linux/l2tp.h>
+
+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 <uapi/linux/if_pppol2tp.h>
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