mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 11:29:46 +00:00
sys/linux: few minor ipset improvements.
1. Add "bitmap:port" type. 2. ipv4/6 addresses must be in network byte order.
This commit is contained in:
parent
7824163310
commit
d817520681
12
executor/defs.h
generated
12
executor/defs.h
generated
@ -70,7 +70,7 @@
|
||||
|
||||
#if GOARCH_386
|
||||
#define GOARCH "386"
|
||||
#define SYZ_REVISION "9164b892213d89364fe98fcd085fee5b8f507699"
|
||||
#define SYZ_REVISION "8927d63fb44e736aaec360f08f04ae739b7ba73c"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
@ -80,7 +80,7 @@
|
||||
|
||||
#if GOARCH_amd64
|
||||
#define GOARCH "amd64"
|
||||
#define SYZ_REVISION "9956c029d517754b34a1629e850cddebee5753c0"
|
||||
#define SYZ_REVISION "0d1d44273b0425a3e02abd97738136d73e708380"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
@ -90,7 +90,7 @@
|
||||
|
||||
#if GOARCH_arm
|
||||
#define GOARCH "arm"
|
||||
#define SYZ_REVISION "38399efa6fd773cb6095fe9af77784df7911294d"
|
||||
#define SYZ_REVISION "32744f930a88994892fb2d10d3e81bea166d27f2"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
@ -100,7 +100,7 @@
|
||||
|
||||
#if GOARCH_arm64
|
||||
#define GOARCH "arm64"
|
||||
#define SYZ_REVISION "4a5b0bbf915dc6e5fae2282a37be1b5e7bdb2ebd"
|
||||
#define SYZ_REVISION "c064e8c787f442c13d1fb97ba0c5fadfaa75a438"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
@ -110,7 +110,7 @@
|
||||
|
||||
#if GOARCH_mips64le
|
||||
#define GOARCH "mips64le"
|
||||
#define SYZ_REVISION "40914b1708fd9e1873fd1e548d1876674daeb08c"
|
||||
#define SYZ_REVISION "8d96fc0e36e9a748e7d76776b30e8491198e5a00"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
@ -120,7 +120,7 @@
|
||||
|
||||
#if GOARCH_ppc64le
|
||||
#define GOARCH "ppc64le"
|
||||
#define SYZ_REVISION "69c650466498752bad3603142d8e5a3e1b35b59f"
|
||||
#define SYZ_REVISION "d14603f7bf9208fdd2c3592318d7e090e420c134"
|
||||
#define SYZ_EXECUTOR_USES_FORK_SERVER 1
|
||||
#define SYZ_EXECUTOR_USES_SHMEM 1
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
|
36
sys/linux/gen/386.go
generated
36
sys/linux/gen/386.go
generated
@ -10501,8 +10501,8 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -21108,18 +21108,6 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21186,7 +21174,7 @@ var structDescs_386 = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -27670,6 +27658,22 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -67229,4 +67233,4 @@ var consts_386 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_386 = "9164b892213d89364fe98fcd085fee5b8f507699"
|
||||
const revision_386 = "8927d63fb44e736aaec360f08f04ae739b7ba73c"
|
||||
|
36
sys/linux/gen/amd64.go
generated
36
sys/linux/gen/amd64.go
generated
@ -10658,8 +10658,8 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -21677,18 +21677,6 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21755,7 +21743,7 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -28239,6 +28227,22 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -68064,4 +68068,4 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_amd64 = "9956c029d517754b34a1629e850cddebee5753c0"
|
||||
const revision_amd64 = "0d1d44273b0425a3e02abd97738136d73e708380"
|
||||
|
36
sys/linux/gen/arm.go
generated
36
sys/linux/gen/arm.go
generated
@ -10542,8 +10542,8 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -20966,18 +20966,6 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21044,7 +21032,7 @@ var structDescs_arm = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -27528,6 +27516,22 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -66880,4 +66884,4 @@ var consts_arm = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm = "38399efa6fd773cb6095fe9af77784df7911294d"
|
||||
const revision_arm = "32744f930a88994892fb2d10d3e81bea166d27f2"
|
||||
|
36
sys/linux/gen/arm64.go
generated
36
sys/linux/gen/arm64.go
generated
@ -10658,8 +10658,8 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -21486,18 +21486,6 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21564,7 +21552,7 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -28048,6 +28036,22 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -67409,4 +67413,4 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm64 = "4a5b0bbf915dc6e5fae2282a37be1b5e7bdb2ebd"
|
||||
const revision_arm64 = "c064e8c787f442c13d1fb97ba0c5fadfaa75a438"
|
||||
|
36
sys/linux/gen/mips64le.go
generated
36
sys/linux/gen/mips64le.go
generated
@ -10655,8 +10655,8 @@ var structDescs_mips64le = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -21430,18 +21430,6 @@ var structDescs_mips64le = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21508,7 +21496,7 @@ var structDescs_mips64le = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -27992,6 +27980,22 @@ var structDescs_mips64le = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -65032,4 +65036,4 @@ var consts_mips64le = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_mips64le = "40914b1708fd9e1873fd1e548d1876674daeb08c"
|
||||
const revision_mips64le = "8d96fc0e36e9a748e7d76776b30e8491198e5a00"
|
||||
|
36
sys/linux/gen/ppc64le.go
generated
36
sys/linux/gen/ppc64le.go
generated
@ -10657,8 +10657,8 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "udp_timeout", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipaddr_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipaddr_policy", IsVarlen: true}, Fields: []Type{
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV4"},
|
||||
&StructType{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, FldName: "IPSET_ATTR_IPADDR_IPV6"},
|
||||
}}},
|
||||
{Key: StructKey{Name: "ipc_perm"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ipc_perm", TypeSize: 28}, Fields: []Type{
|
||||
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "key", TypeSize: 4}}, ValuesStart: 2039359027, ValuesPerProc: 4},
|
||||
@ -21432,18 +21432,6 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_IPADDR_IPV6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_NAME, int16], string[ipset_name]]", TypeSize: 12}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 18},
|
||||
@ -21510,7 +21498,7 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPSET_ATTR_TYPENAME, int16], string[ipset_type]]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2, SubKind: "ipset_type", Values: []string{"list:set\x00", "bitmap:ip\x00", "bitmap:port\x00", "hash:net,port,net\x00", "hash:net,port\x00", "hash:net,net\x00", "hash:net,iface\x00", "hash:net\x00", "hash:mac\x00", "hash:ip,port,net\x00", "hash:ip,port,ip\x00", "hash:ip,port\x00", "hash:ip,mark\x00", "hash:ip\x00", "hash:ip,mac\x00", "hash:ip\x00", "bitmap:ip,mac\x00"}},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IPVS_CMD_ATTR_DAEMON, int16], array[ip_vs_daemon_policy]]", IsVarlen: true}, Fields: []Type{
|
||||
@ -27994,6 +27982,22 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&UnionType{Key: StructKey{Name: "ipaddr_policy"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV4, int16:14], 1, 0, ipv4_addr]", TypeSize: 8}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IPADDR_IPV6, int16:14], 1, 0, ipv6_addr]", TypeSize: 20}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NET_BYTEORDER"}, BitfieldOff: 6, BitfieldLen: 1, BitfieldUnit: 2}, Val: 1},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "NLA_F_NESTED", TypeSize: 1}, BitfieldOff: 7, BitfieldLen: 1, BitfieldUnit: 2}},
|
||||
&UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"},
|
||||
&BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "size"}, Kind: 1},
|
||||
}, AlignAttr: 4}},
|
||||
{Key: StructKey{Name: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_tt[const[IPSET_ATTR_IP_TO, int16:14], 0, 1, ipaddr_policy]", IsVarlen: true}, Fields: []Type{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "offsetof", FldName: "nla_len", TypeSize: 2}}, BitSize: 8, Offset: true, Path: []string{"size"}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 1}, BitfieldLen: 14, BitfieldUnit: 2}, Val: 2},
|
||||
@ -67368,4 +67372,4 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_ppc64le = "69c650466498752bad3603142d8e5a3e1b35b59f"
|
||||
const revision_ppc64le = "d14603f7bf9208fdd2c3592318d7e090e420c134"
|
||||
|
@ -157,10 +157,10 @@ ip_set_type_adt_policy [
|
||||
|
||||
ipaddr_policy [
|
||||
# TODO: should ipv4_addr be in reverse byte order here?
|
||||
IPSET_ATTR_IPADDR_IPV4 nlattr[IPSET_ATTR_IPADDR_IPV4, ipv4_addr]
|
||||
IPSET_ATTR_IPADDR_IPV6 nlattr[IPSET_ATTR_IPADDR_IPV6, ipv6_addr]
|
||||
IPSET_ATTR_IPADDR_IPV4 nlnetw[IPSET_ATTR_IPADDR_IPV4, ipv4_addr]
|
||||
IPSET_ATTR_IPADDR_IPV6 nlnetw[IPSET_ATTR_IPADDR_IPV6, ipv6_addr]
|
||||
] [varlen]
|
||||
|
||||
ipset_name = "syz0", "syz1", "syz2"
|
||||
ipset_type = "list:set", "bitmap:ip", "hash:net,port,net", "hash:net,port", "hash:net,net", "hash:net,iface", "hash:net", "hash:mac", "hash:ip,port,net", "hash:ip,port,ip", "hash:ip,port", "hash:ip,mark", "hash:ip", "hash:ip,mac", "hash:ip", "bitmap:ip,mac"
|
||||
ipset_type = "list:set", "bitmap:ip", "bitmap:port", "hash:net,port,net", "hash:net,port", "hash:net,net", "hash:net,iface", "hash:net", "hash:mac", "hash:ip,port,net", "hash:ip,port,ip", "hash:ip,port", "hash:ip,mark", "hash:ip", "hash:ip,mac", "hash:ip", "bitmap:ip,mac"
|
||||
ipset_cadt_flags = IPSET_FLAG_BEFORE, IPSET_FLAG_PHYSDEV, IPSET_FLAG_NOMATCH, IPSET_FLAG_WITH_COUNTERS, IPSET_FLAG_WITH_COMMENT, IPSET_FLAG_WITH_FORCEADD, IPSET_FLAG_WITH_SKBINFO, IPSET_FLAG_IFACE_WILDCARD
|
||||
|
Loading…
Reference in New Issue
Block a user