aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2017-08-31 19:21:52 +0200
committerDmitry Vyukov <dvyukov@google.com>2017-08-31 19:21:52 +0200
commit4ccdd78294694dcc56fa186d1532b285d72a4384 (patch)
tree55ee8d412bb3d8897e8180b49669380150004ec2
parent5a093b74f6098caf00949dcf2c2ba4c2cd9ff255 (diff)
sys: export struct/union attributes
Export struct/union attributes so that they can be filled in by a different package.
-rw-r--r--sys/align.go8
-rw-r--r--sys/decl.go16
-rw-r--r--sys/sys_386.go308
-rw-r--r--sys/sys_amd64.go308
-rw-r--r--sys/sys_arm.go308
-rw-r--r--sys/sys_arm64.go308
-rw-r--r--sys/sys_ppc64le.go308
-rw-r--r--sys/syz-sysgen/sysgen.go6
8 files changed, 785 insertions, 785 deletions
diff --git a/sys/align.go b/sys/align.go
index 9b9d467aa..07c13f24e 100644
--- a/sys/align.go
+++ b/sys/align.go
@@ -78,17 +78,17 @@ func markBitfields(t *StructType) {
}
func addAlignment(t *StructType) {
- if t.packed {
+ if t.IsPacked {
// If a struct is packed, statically sized and has explicitly set alignment, add a padding.
- if !t.Varlen() && t.align != 0 && t.Size()%t.align != 0 {
- pad := t.align - t.Size()%t.align
+ if !t.Varlen() && t.AlignAttr != 0 && t.Size()%t.AlignAttr != 0 {
+ pad := t.AlignAttr - t.Size()%t.AlignAttr
t.Fields = append(t.Fields, makePad(pad))
}
return
}
var fields []Type
var off uint64
- align := t.align
+ align := t.AlignAttr
for i, f := range t.Fields {
a := f.Align()
if align < a {
diff --git a/sys/decl.go b/sys/decl.go
index d7a1765c0..7a7c95dbd 100644
--- a/sys/decl.go
+++ b/sys/decl.go
@@ -343,9 +343,9 @@ func (t *PtrType) Align() uint64 {
type StructType struct {
TypeCommon
Fields []Type
+ IsPacked bool
+ AlignAttr uint64
padded bool
- packed bool
- align uint64
varlen bool
varlenAssigned bool
}
@@ -383,10 +383,10 @@ func (t *StructType) Size() uint64 {
}
func (t *StructType) Align() uint64 {
- if t.align != 0 {
- return t.align // overrided by user attribute
+ if t.AlignAttr != 0 {
+ return t.AlignAttr // overrided by user attribute
}
- if t.packed {
+ if t.IsPacked {
return 1
}
var align uint64
@@ -400,12 +400,12 @@ func (t *StructType) Align() uint64 {
type UnionType struct {
TypeCommon
- Options []Type
- varlen bool // provided by user
+ Options []Type
+ IsVarlen bool // provided by user
}
func (t *UnionType) Varlen() bool {
- return t.varlen
+ return t.IsVarlen
}
func (t *UnionType) Size() uint64 {
diff --git a/sys/sys_386.go b/sys/sys_386.go
index 39762c00f..ffb91a193 100644
--- a/sys/sys_386.go
+++ b/sys/sys_386.go
@@ -96,10 +96,10 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"uid"}, Values: []uint64{0, 0xffffffffffffffff}},
}
var structArray = []Type{
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "arpreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_pair", IsOptional: false}},
@@ -130,25 +130,25 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "cap_data", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cap_header", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cisco_proto", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, align: 8},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, AlignAttr: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, AlignAttr: 8},
&UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_init", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndrcv", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, align: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connadd_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conndel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp_pair", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dlci_add", IsOptional: false}},
@@ -183,17 +183,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "drm_unique_out", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_version", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_wait_vblank", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip6_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_channels", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_coalesce", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_drvinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_dump", IsOptional: false}},
@@ -235,7 +235,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ff_condition_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_constant_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_effect", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_envelope", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_periodic_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_ramp_effect", IsOptional: false}},
@@ -274,33 +274,33 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_filter", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "if_settings", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifconf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifconf_buf", IsOptional: false}},
@@ -309,12 +309,12 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_ipx", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifs_ifsu", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_flowlabel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_ifreq", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_pktinfo", IsOptional: false}},
@@ -340,44 +340,44 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ip_msfilter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipc_perm", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_addr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, packed: true, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_mreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, packed: true, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_config_data", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_network", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_node", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerspec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerval", IsOptional: false}},
@@ -429,7 +429,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_entry", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_list", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_one_reg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pic_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pit_channel_state", IsOptional: false}},
@@ -441,7 +441,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_interrupt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_ucas_mapping", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_segment", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr4", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cstype0", IsOptional: false}},
@@ -452,11 +452,11 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_vmwrite", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_signal_mask", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_sregs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_arm64", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_16", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_64", IsOptional: false}},
@@ -474,21 +474,21 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_options", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "linger", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "llc_pair", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, packed: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "loadlut", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info64", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "mac_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "mf6cctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mif6ctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mq_attr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netlink", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", IsOptional: false}},
@@ -521,20 +521,20 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkey", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkeyid", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_default_prinfo", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_event_subscribe", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs_old", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_hmacalgo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_initmsg", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, packed: true, align: 4},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrthlds", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_peeloff_arg_t", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, packed: true, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_prstatus", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_rtoinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_sack_info", IsOptional: false}},
@@ -566,10 +566,10 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_client_pool", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_connect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ctrl", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_note", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_queue_control", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw8", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_event", IsOptional: false}},
@@ -608,60 +608,60 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc_llcp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_rc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in6", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_tcp", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx_timestamp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align0", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_not_packed", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_noalign", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align4", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align5_internal", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_blob", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_trailing", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1_internal", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array2_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_bf_struct", IsOptional: false}},
@@ -693,32 +693,32 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_union0_struct", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union1", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_use_missing", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syzn_devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_opt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_window", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_resources", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "te1_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_answer", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_closesession", IsOptional: false}},
@@ -738,13 +738,13 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_pi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ucred", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "udp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "udp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_api", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_copy", IsOptional: false}},
@@ -760,17 +760,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ustat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "utimbuf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "virtio_net_hdr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_consize", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_mode", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_sizes", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "winsize", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, IsPacked: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "xfrm_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_filter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_id", IsOptional: false}},
diff --git a/sys/sys_amd64.go b/sys/sys_amd64.go
index 2406fd6db..8aeba9eb6 100644
--- a/sys/sys_amd64.go
+++ b/sys/sys_amd64.go
@@ -96,10 +96,10 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"uid"}, Values: []uint64{0, 0xffffffffffffffff}},
}
var structArray = []Type{
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "arpreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_pair", IsOptional: false}},
@@ -130,25 +130,25 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "cap_data", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cap_header", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cisco_proto", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, align: 8},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, AlignAttr: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, AlignAttr: 8},
&UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_init", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndrcv", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, align: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connadd_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conndel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp_pair", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dlci_add", IsOptional: false}},
@@ -183,17 +183,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "drm_unique_out", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_version", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_wait_vblank", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip6_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_channels", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_coalesce", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_drvinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_dump", IsOptional: false}},
@@ -235,7 +235,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ff_condition_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_constant_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_effect", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_envelope", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_periodic_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_ramp_effect", IsOptional: false}},
@@ -274,33 +274,33 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_filter", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "if_settings", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifconf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifconf_buf", IsOptional: false}},
@@ -309,12 +309,12 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_ipx", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifs_ifsu", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_flowlabel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_ifreq", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_pktinfo", IsOptional: false}},
@@ -340,44 +340,44 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ip_msfilter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipc_perm", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_addr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, packed: true, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_mreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, packed: true, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_config_data", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_network", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_node", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerspec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerval", IsOptional: false}},
@@ -429,7 +429,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_entry", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_list", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_one_reg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pic_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pit_channel_state", IsOptional: false}},
@@ -441,7 +441,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_interrupt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_ucas_mapping", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_segment", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr4", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cstype0", IsOptional: false}},
@@ -452,11 +452,11 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_vmwrite", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_signal_mask", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_sregs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_arm64", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_16", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_64", IsOptional: false}},
@@ -474,21 +474,21 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_options", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "linger", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "llc_pair", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, packed: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "loadlut", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info64", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "mac_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "mf6cctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mif6ctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mq_attr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netlink", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", IsOptional: false}},
@@ -521,20 +521,20 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkey", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkeyid", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_default_prinfo", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_event_subscribe", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs_old", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_hmacalgo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_initmsg", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, packed: true, align: 4},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrthlds", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_peeloff_arg_t", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, packed: true, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_prstatus", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_rtoinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_sack_info", IsOptional: false}},
@@ -566,10 +566,10 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_client_pool", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_connect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ctrl", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_note", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_queue_control", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw8", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_event", IsOptional: false}},
@@ -608,60 +608,60 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc_llcp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_rc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in6", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_tcp", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx_timestamp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align0", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_not_packed", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_noalign", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align4", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align5_internal", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_blob", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_trailing", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1_internal", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array2_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_bf_struct", IsOptional: false}},
@@ -693,32 +693,32 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_union0_struct", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union1", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_use_missing", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syzn_devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_opt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_window", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_resources", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "te1_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_answer", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_closesession", IsOptional: false}},
@@ -738,13 +738,13 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_pi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ucred", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "udp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "udp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_api", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_copy", IsOptional: false}},
@@ -760,17 +760,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ustat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "utimbuf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "virtio_net_hdr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_consize", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_mode", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_sizes", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "winsize", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, IsPacked: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "xfrm_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_filter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_id", IsOptional: false}},
diff --git a/sys/sys_arm.go b/sys/sys_arm.go
index e004a6879..f94ee1062 100644
--- a/sys/sys_arm.go
+++ b/sys/sys_arm.go
@@ -96,10 +96,10 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"uid"}, Values: []uint64{0, 0xffffffffffffffff}},
}
var structArray = []Type{
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "arpreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_pair", IsOptional: false}},
@@ -130,25 +130,25 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "cap_data", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cap_header", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cisco_proto", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, align: 8},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, AlignAttr: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, AlignAttr: 8},
&UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_init", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndrcv", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, align: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connadd_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conndel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp_pair", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dlci_add", IsOptional: false}},
@@ -183,17 +183,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "drm_unique_out", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_version", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_wait_vblank", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip6_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_channels", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_coalesce", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_drvinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_dump", IsOptional: false}},
@@ -235,7 +235,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ff_condition_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_constant_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_effect", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_envelope", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_periodic_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_ramp_effect", IsOptional: false}},
@@ -274,33 +274,33 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_filter", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "if_settings", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifconf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifconf_buf", IsOptional: false}},
@@ -309,12 +309,12 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_ipx", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifs_ifsu", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_flowlabel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_ifreq", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_pktinfo", IsOptional: false}},
@@ -340,44 +340,44 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ip_msfilter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipc_perm", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_addr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, packed: true, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_mreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, packed: true, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_config_data", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_network", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_node", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerspec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerval", IsOptional: false}},
@@ -429,7 +429,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_entry", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_list", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_one_reg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pic_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pit_channel_state", IsOptional: false}},
@@ -441,7 +441,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_interrupt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_ucas_mapping", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_segment", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr4", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cstype0", IsOptional: false}},
@@ -452,11 +452,11 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_vmwrite", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_signal_mask", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_sregs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_arm64", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_16", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_64", IsOptional: false}},
@@ -474,21 +474,21 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_options", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "linger", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "llc_pair", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, packed: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "loadlut", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info64", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "mac_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "mf6cctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mif6ctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mq_attr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netlink", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", IsOptional: false}},
@@ -521,20 +521,20 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkey", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkeyid", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_default_prinfo", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_event_subscribe", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs_old", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_hmacalgo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_initmsg", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, packed: true, align: 4},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrthlds", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_peeloff_arg_t", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, packed: true, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_prstatus", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_rtoinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_sack_info", IsOptional: false}},
@@ -566,10 +566,10 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_client_pool", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_connect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ctrl", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_note", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_queue_control", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw8", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_event", IsOptional: false}},
@@ -608,60 +608,60 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc_llcp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_rc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in6", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_tcp", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx_timestamp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align0", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_not_packed", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_noalign", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align4", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align5_internal", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_blob", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_trailing", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1_internal", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array2_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_bf_struct", IsOptional: false}},
@@ -693,32 +693,32 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_union0_struct", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union1", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_use_missing", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syzn_devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_opt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_window", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_resources", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "te1_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_answer", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_closesession", IsOptional: false}},
@@ -738,13 +738,13 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_pi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ucred", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "udp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "udp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_api", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_copy", IsOptional: false}},
@@ -760,17 +760,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ustat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "utimbuf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "virtio_net_hdr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_consize", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_mode", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_sizes", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "winsize", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, IsPacked: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "xfrm_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_filter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_id", IsOptional: false}},
diff --git a/sys/sys_arm64.go b/sys/sys_arm64.go
index 0263f0c77..345ed6a30 100644
--- a/sys/sys_arm64.go
+++ b/sys/sys_arm64.go
@@ -96,10 +96,10 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"uid"}, Values: []uint64{0, 0xffffffffffffffff}},
}
var structArray = []Type{
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "arpreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_pair", IsOptional: false}},
@@ -130,25 +130,25 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "cap_data", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cap_header", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cisco_proto", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, align: 8},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, AlignAttr: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, AlignAttr: 8},
&UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_init", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndrcv", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, align: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connadd_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conndel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp_pair", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dlci_add", IsOptional: false}},
@@ -183,17 +183,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "drm_unique_out", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_version", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_wait_vblank", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip6_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_channels", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_coalesce", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_drvinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_dump", IsOptional: false}},
@@ -235,7 +235,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ff_condition_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_constant_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_effect", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_envelope", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_periodic_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_ramp_effect", IsOptional: false}},
@@ -274,33 +274,33 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_filter", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "if_settings", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifconf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifconf_buf", IsOptional: false}},
@@ -309,12 +309,12 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_ipx", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifs_ifsu", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_flowlabel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_ifreq", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_pktinfo", IsOptional: false}},
@@ -340,44 +340,44 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ip_msfilter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipc_perm", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_addr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, packed: true, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_mreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, packed: true, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_config_data", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_network", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_node", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerspec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerval", IsOptional: false}},
@@ -429,7 +429,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_entry", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_list", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_one_reg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pic_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pit_channel_state", IsOptional: false}},
@@ -441,7 +441,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_interrupt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_ucas_mapping", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_segment", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr4", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cstype0", IsOptional: false}},
@@ -452,11 +452,11 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_vmwrite", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_signal_mask", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_sregs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_arm64", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_16", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_64", IsOptional: false}},
@@ -474,21 +474,21 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_options", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "linger", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "llc_pair", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, packed: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "loadlut", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info64", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "mac_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "mf6cctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mif6ctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mq_attr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netlink", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", IsOptional: false}},
@@ -521,20 +521,20 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkey", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkeyid", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_default_prinfo", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_event_subscribe", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs_old", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_hmacalgo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_initmsg", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, packed: true, align: 4},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrthlds", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_peeloff_arg_t", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, packed: true, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_prstatus", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_rtoinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_sack_info", IsOptional: false}},
@@ -566,10 +566,10 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_client_pool", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_connect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ctrl", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_note", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_queue_control", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw8", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_event", IsOptional: false}},
@@ -608,60 +608,60 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc_llcp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_rc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in6", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_tcp", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx_timestamp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align0", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_not_packed", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_noalign", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align4", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align5_internal", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_blob", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_trailing", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1_internal", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array2_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_bf_struct", IsOptional: false}},
@@ -693,32 +693,32 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_union0_struct", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union1", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_use_missing", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syzn_devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_opt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_window", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_resources", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "te1_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_answer", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_closesession", IsOptional: false}},
@@ -738,13 +738,13 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_pi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ucred", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "udp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "udp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_api", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_copy", IsOptional: false}},
@@ -760,17 +760,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ustat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "utimbuf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "virtio_net_hdr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_consize", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_mode", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_sizes", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "winsize", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, IsPacked: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "xfrm_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_filter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_id", IsOptional: false}},
diff --git a/sys/sys_ppc64le.go b/sys/sys_ppc64le.go
index 667fae740..809c8a1f8 100644
--- a/sys/sys_ppc64le.go
+++ b/sys/sys_ppc64le.go
@@ -96,10 +96,10 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "uid", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"uid"}, Values: []uint64{0, 0xffffffffffffffff}},
}
var structArray = []Type{
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv4_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_ether_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "arp_generic_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "arp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "arpreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ax25_pair", IsOptional: false}},
@@ -130,25 +130,25 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "cap_data", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cap_header", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cisco_proto", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, align: 8},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr", IsOptional: false}, AlignAttr: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_assoc", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_iv", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_alg_op", IsOptional: false}, AlignAttr: 8},
&UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_init", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_sctp_sndrcv", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, align: 8},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_cred", IsOptional: false}, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "cmsghdr_un_rights", IsOptional: false}, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connadd_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conndel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "cmtp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "dccp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "dccp_pair", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "dlci_add", IsOptional: false}},
@@ -183,17 +183,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "drm_unique_out", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_version", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "drm_wait_vblank", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "epoll_event", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth2_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "eth2_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "eth_payload", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ethhdr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip4_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_ah_espip6_spec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_channels", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ethtool_cmd_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_coalesce", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_drvinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ethtool_dump", IsOptional: false}},
@@ -235,7 +235,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ff_condition_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_constant_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_effect", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ff_effect_u", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_envelope", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_periodic_effect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ff_ramp_effect", IsOptional: false}},
@@ -274,33 +274,33 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "hidp_connlist_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_address_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_echo_reply_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_filter", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_info_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmp_packet", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "icmp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_parameter_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_redirect_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_source_quench_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_time_exceeded_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmp_timestamp_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_dest_unreach_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_reply_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_echo_request_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_mld_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_ni_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "icmpv6_packet", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_param_prob_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_pkt_toobig_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "icmpv6_time_exceed_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "if_settings", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifconf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifconf_buf", IsOptional: false}},
@@ -309,12 +309,12 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifr_ifru_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCETHTOOL", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ifreq_SIOCGIFINDEX", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ifreq_ipx", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ifs_ifsu", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "igmp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_flowlabel_req", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_ifreq", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "in6_pktinfo", IsOptional: false}},
@@ -340,44 +340,44 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ip_msfilter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipc_perm", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, varlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_cipso_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_end", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_generic", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_lsrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_noop", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ra", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_rr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_ssrr", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_option_timestamp_timestamp", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv4_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv4_payload", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_addr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_empty", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, packed: true, align: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_loopback", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_addr_remote", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_dstopts_ext_header", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_ext_header", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_fragment_ext_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_hopots_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
&StructType{TypeCommon: TypeCommon{TypeName: "ipv6_mreq", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, packed: true, align: 8},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_packet_payload", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "ipv6_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_routing_ext_header", IsOptional: false}, IsPacked: true, AlignAttr: 8},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipv6_tlv_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_addr", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_config_data", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_network", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "ipx_node", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "ipx_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "ipx_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerspec", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "itimerval", IsOptional: false}},
@@ -429,7 +429,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_entry", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_msr_list", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "kvm_msrs", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_one_reg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pic_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_pit_channel_state", IsOptional: false}},
@@ -441,7 +441,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_interrupt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_s390_ucas_mapping", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_segment", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_arm64", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cr4", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_cstype0", IsOptional: false}},
@@ -452,11 +452,11 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_feature", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_flags", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_vmwrite", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_setup_opt_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_signal_mask", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_sregs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_arm64", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_16", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "kvm_text_x86_64", IsOptional: false}},
@@ -474,21 +474,21 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_conninfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "l2cap_options", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "linger", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_generic_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "llc_pair", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, packed: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "llc_payload", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "llc_snap_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "loadlut", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "loop_info64", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "mac_addr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_local", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "mac_addr_remote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "mf6cctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mif6ctl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "mq_attr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "msgbuf", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_alg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netlink", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "msghdr_netrom", IsOptional: false}},
@@ -521,20 +521,20 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkey", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_authkeyid", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_default_prinfo", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_delayed_sack", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_event_subscribe", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_getaddrs_old", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_hmacalgo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_initmsg", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, packed: true, align: 4},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_max_burst", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sctp_maxseg", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrinfo", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrparams", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_paddrthlds", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_peeloff_arg_t", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, packed: true, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sctp_prim", IsOptional: false}, IsPacked: true, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_prstatus", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_rtoinfo", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sctp_sack_info", IsOptional: false}},
@@ -566,10 +566,10 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_client_pool", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_connect", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ctrl", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_ext", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_note", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_queue_control", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_quote", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw32", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_ev_raw8", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "snd_seq_event", IsOptional: false}},
@@ -608,60 +608,60 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc_llcp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nl", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_rc", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_sco", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, varlen: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_sctp", IsOptional: false}, IsVarlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_generic", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_in6", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_sctp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_storage_tcp", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_un", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_abstract", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_un_file", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "statx_timestamp", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sync_serial_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align0", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align1", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_not_packed", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align2_packed", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, align: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_align4", IsOptional: false}, AlignAttr: 4},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align3_noalign", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align4", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align4_internal", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_align5", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align5_internal", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_align6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_blob", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_array_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_array_trailing", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_array_union", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_bf_struct1_internal", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_encode", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv4_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_icmp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_ipv6_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_header", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_tcp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_csum_udp_packet", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_int_struct", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_end_var_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array2_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_array_struct", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_length_bf_struct", IsOptional: false}},
@@ -693,32 +693,32 @@ var structArray = []Type{
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union0", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_union0_struct", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "syz_union1", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union1_struct", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "syz_union2", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "syz_union2_struct", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "syz_use_missing", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "syzn_devname", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_eol_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_fastopen_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_generic_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_header", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, packed: true, align: 4},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_md5sig_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_mss_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_nop_option", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tcp_option", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_options", IsOptional: false}, IsPacked: true, AlignAttr: 4},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_payload", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_opt", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_repair_window", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tcp_resources", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_sack_perm_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_timestamp_option", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tcp_window_option", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "te1_settings", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_answer", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "te_closesession", IsOptional: false}},
@@ -738,13 +738,13 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
- &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, varlen: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_pi", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "ucred", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "udp6_pair", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "udp_packet", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "udp_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_api", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "uffdio_copy", IsOptional: false}},
@@ -760,17 +760,17 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "ustat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "utimbuf", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "virtio_net_hdr", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, packed: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_ad", IsOptional: false}, IsPacked: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "vlan_tag_q", IsOptional: false}, IsPacked: true},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_consize", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_mode", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_sizes", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "vt_stat", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "winsize", IsOptional: false}},
- &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, packed: true},
- &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, varlen: true},
- &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, packed: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "x25_packet", IsOptional: false}, IsPacked: true},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "xattr_name", IsOptional: false}, IsVarlen: true},
+ &StructType{TypeCommon: TypeCommon{TypeName: "xattr_name_random", IsOptional: false}, IsPacked: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "xfrm_address", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_filter", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "xfrm_id", IsOptional: false}},
diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go
index 3f1967410..438d92a93 100644
--- a/sys/syz-sysgen/sysgen.go
+++ b/sys/syz-sysgen/sysgen.go
@@ -381,15 +381,15 @@ func generateStructEntry(str *Struct, out io.Writer) {
}
packed := ""
if str.Packed {
- packed = ", packed: true"
+ packed = ", IsPacked: true"
}
varlen := ""
if str.Varlen {
- varlen = ", varlen: true"
+ varlen = ", IsVarlen: true"
}
align := ""
if str.Align != 0 {
- align = fmt.Sprintf(", align: %v", str.Align)
+ align = fmt.Sprintf(", AlignAttr: %v", str.Align)
}
fmt.Fprintf(out, "&%v{TypeCommon: TypeCommon{TypeName: \"%v\", IsOptional: %v} %v %v %v},\n",
typ, str.Name, false, packed, align, varlen)