diff --git a/executor/defs.h b/executor/defs.h index eb792a17..d0f09fe9 100644 --- a/executor/defs.h +++ b/executor/defs.h @@ -60,7 +60,7 @@ #if GOARCH_386 #define GOARCH "386" -#define SYZ_REVISION "69dc9cb2da5c664b02b273890fe23348254b1bac" +#define SYZ_REVISION "05ce3c108f390dee829c0d87ea57dfaa797a0b3f" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -70,7 +70,7 @@ #if GOARCH_amd64 #define GOARCH "amd64" -#define SYZ_REVISION "e41f453fb26afca010d939493df4d33eade9c188" +#define SYZ_REVISION "2deae7c161e774516e4b3b7bb4aaa68282e856bc" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -80,7 +80,7 @@ #if GOARCH_arm #define GOARCH "arm" -#define SYZ_REVISION "859bb50c881df71d70e57c30d8ae0fa781138de4" +#define SYZ_REVISION "5ddd54a8268343f18e537d5a1f78b11f9aed9bd0" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -90,7 +90,7 @@ #if GOARCH_arm64 #define GOARCH "arm64" -#define SYZ_REVISION "cbdacf16b230b4f342cfe21f183e1a5f38cfc499" +#define SYZ_REVISION "cb9c356861103116ae48180ac8f24b52ae636a88" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 @@ -100,7 +100,7 @@ #if GOARCH_ppc64le #define GOARCH "ppc64le" -#define SYZ_REVISION "109cf99c064f9b4cf6912be268e4896afedc38a1" +#define SYZ_REVISION "97702668c4784314b97277a32248543d59c03146" #define SYZ_EXECUTOR_USES_FORK_SERVER 1 #define SYZ_EXECUTOR_USES_SHMEM 1 #define SYZ_PAGE_SIZE 4096 diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 846021be..c0d6a826 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -4517,6 +4517,12 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FOU_ATTR_IPPROTO"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_TYPE, int16], flags[fou_types, int8]]"}, FldName: "FOU_ATTR_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_REMCSUM_NOPARTIAL, int16], void]"}, FldName: "FOU_ATTR_REMCSUM_NOPARTIAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_LOCAL_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_LOCAL_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_PEER_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_PEER_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, FldName: "FOU_ATTR_PEER_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, FldName: "FOU_ATTR_IFINDEX"}, }}}, {Key: StructKey{Name: "fr_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fr_proto", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "t391", TypeSize: 4}}}, @@ -13682,12 +13688,43 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_families", FldName: "payload", TypeSize: 1}}, Vals: []uint64{2, 10}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -44224,7 +44261,13 @@ var consts_386 = []ConstValue{ {Name: "FOPEN_KEEP_CACHE", Value: 2}, {Name: "FOPEN_NONSEEKABLE", Value: 4}, {Name: "FOU_ATTR_AF", Value: 2}, + {Name: "FOU_ATTR_IFINDEX", Value: 11}, {Name: "FOU_ATTR_IPPROTO", Value: 3}, + {Name: "FOU_ATTR_LOCAL_V4", Value: 6}, + {Name: "FOU_ATTR_LOCAL_V6", Value: 7}, + {Name: "FOU_ATTR_PEER_PORT", Value: 10}, + {Name: "FOU_ATTR_PEER_V4", Value: 8}, + {Name: "FOU_ATTR_PEER_V6", Value: 9}, {Name: "FOU_ATTR_PORT", Value: 1}, {Name: "FOU_ATTR_REMCSUM_NOPARTIAL", Value: 5}, {Name: "FOU_ATTR_TYPE", Value: 4}, @@ -50574,4 +50617,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "69dc9cb2da5c664b02b273890fe23348254b1bac" +const revision_386 = "05ce3c108f390dee829c0d87ea57dfaa797a0b3f" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 8d5da3bd..5be5d4ac 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -4603,6 +4603,12 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FOU_ATTR_IPPROTO"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_TYPE, int16], flags[fou_types, int8]]"}, FldName: "FOU_ATTR_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_REMCSUM_NOPARTIAL, int16], void]"}, FldName: "FOU_ATTR_REMCSUM_NOPARTIAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_LOCAL_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_LOCAL_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_PEER_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_PEER_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, FldName: "FOU_ATTR_PEER_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, FldName: "FOU_ATTR_IFINDEX"}, }}}, {Key: StructKey{Name: "fr_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fr_proto", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "t391", TypeSize: 4}}}, @@ -13965,12 +13971,43 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_families", FldName: "payload", TypeSize: 1}}, Vals: []uint64{2, 10}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -44731,7 +44768,13 @@ var consts_amd64 = []ConstValue{ {Name: "FOPEN_KEEP_CACHE", Value: 2}, {Name: "FOPEN_NONSEEKABLE", Value: 4}, {Name: "FOU_ATTR_AF", Value: 2}, + {Name: "FOU_ATTR_IFINDEX", Value: 11}, {Name: "FOU_ATTR_IPPROTO", Value: 3}, + {Name: "FOU_ATTR_LOCAL_V4", Value: 6}, + {Name: "FOU_ATTR_LOCAL_V6", Value: 7}, + {Name: "FOU_ATTR_PEER_PORT", Value: 10}, + {Name: "FOU_ATTR_PEER_V4", Value: 8}, + {Name: "FOU_ATTR_PEER_V6", Value: 9}, {Name: "FOU_ATTR_PORT", Value: 1}, {Name: "FOU_ATTR_REMCSUM_NOPARTIAL", Value: 5}, {Name: "FOU_ATTR_TYPE", Value: 4}, @@ -51096,4 +51139,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "e41f453fb26afca010d939493df4d33eade9c188" +const revision_amd64 = "2deae7c161e774516e4b3b7bb4aaa68282e856bc" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 4ea05c04..f9b84e5f 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -4517,6 +4517,12 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FOU_ATTR_IPPROTO"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_TYPE, int16], flags[fou_types, int8]]"}, FldName: "FOU_ATTR_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_REMCSUM_NOPARTIAL, int16], void]"}, FldName: "FOU_ATTR_REMCSUM_NOPARTIAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_LOCAL_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_LOCAL_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_PEER_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_PEER_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, FldName: "FOU_ATTR_PEER_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, FldName: "FOU_ATTR_IFINDEX"}, }}}, {Key: StructKey{Name: "fr_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fr_proto", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "t391", TypeSize: 4}}}, @@ -13499,12 +13505,43 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_families", FldName: "payload", TypeSize: 1}}, Vals: []uint64{2, 10}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -43859,7 +43896,13 @@ var consts_arm = []ConstValue{ {Name: "FOPEN_KEEP_CACHE", Value: 2}, {Name: "FOPEN_NONSEEKABLE", Value: 4}, {Name: "FOU_ATTR_AF", Value: 2}, + {Name: "FOU_ATTR_IFINDEX", Value: 11}, {Name: "FOU_ATTR_IPPROTO", Value: 3}, + {Name: "FOU_ATTR_LOCAL_V4", Value: 6}, + {Name: "FOU_ATTR_LOCAL_V6", Value: 7}, + {Name: "FOU_ATTR_PEER_PORT", Value: 10}, + {Name: "FOU_ATTR_PEER_V4", Value: 8}, + {Name: "FOU_ATTR_PEER_V6", Value: 9}, {Name: "FOU_ATTR_PORT", Value: 1}, {Name: "FOU_ATTR_REMCSUM_NOPARTIAL", Value: 5}, {Name: "FOU_ATTR_TYPE", Value: 4}, @@ -50145,4 +50188,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "859bb50c881df71d70e57c30d8ae0fa781138de4" +const revision_arm = "5ddd54a8268343f18e537d5a1f78b11f9aed9bd0" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index d8fb552c..37d6696f 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -4603,6 +4603,12 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FOU_ATTR_IPPROTO"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_TYPE, int16], flags[fou_types, int8]]"}, FldName: "FOU_ATTR_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_REMCSUM_NOPARTIAL, int16], void]"}, FldName: "FOU_ATTR_REMCSUM_NOPARTIAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_LOCAL_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_LOCAL_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_PEER_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_PEER_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, FldName: "FOU_ATTR_PEER_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, FldName: "FOU_ATTR_IFINDEX"}, }}}, {Key: StructKey{Name: "fr_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fr_proto", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "t391", TypeSize: 4}}}, @@ -13782,12 +13788,43 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_families", FldName: "payload", TypeSize: 1}}, Vals: []uint64{2, 10}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -44172,7 +44209,13 @@ var consts_arm64 = []ConstValue{ {Name: "FOPEN_KEEP_CACHE", Value: 2}, {Name: "FOPEN_NONSEEKABLE", Value: 4}, {Name: "FOU_ATTR_AF", Value: 2}, + {Name: "FOU_ATTR_IFINDEX", Value: 11}, {Name: "FOU_ATTR_IPPROTO", Value: 3}, + {Name: "FOU_ATTR_LOCAL_V4", Value: 6}, + {Name: "FOU_ATTR_LOCAL_V6", Value: 7}, + {Name: "FOU_ATTR_PEER_PORT", Value: 10}, + {Name: "FOU_ATTR_PEER_V4", Value: 8}, + {Name: "FOU_ATTR_PEER_V6", Value: 9}, {Name: "FOU_ATTR_PORT", Value: 1}, {Name: "FOU_ATTR_REMCSUM_NOPARTIAL", Value: 5}, {Name: "FOU_ATTR_TYPE", Value: 4}, @@ -50440,4 +50483,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "cbdacf16b230b4f342cfe21f183e1a5f38cfc499" +const revision_arm64 = "cb9c356861103116ae48180ac8f24b52ae636a88" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 8b84f5a5..ad97c36e 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -4602,6 +4602,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, FldName: "FOU_ATTR_IPPROTO"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_TYPE, int16], flags[fou_types, int8]]"}, FldName: "FOU_ATTR_TYPE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_REMCSUM_NOPARTIAL, int16], void]"}, FldName: "FOU_ATTR_REMCSUM_NOPARTIAL"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_LOCAL_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_LOCAL_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, FldName: "FOU_ATTR_PEER_V4"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, FldName: "FOU_ATTR_PEER_V6"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, FldName: "FOU_ATTR_PEER_PORT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, FldName: "FOU_ATTR_IFINDEX"}, }}}, {Key: StructKey{Name: "fr_proto"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "fr_proto", TypeSize: 24}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "t391", TypeSize: 4}}}, @@ -13734,12 +13740,43 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fou_families", FldName: "payload", TypeSize: 1}}, Vals: []uint64{2, 10}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IFINDEX, int16], ifindex]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 11}, + &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "payload", TypeSize: 4}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_IPPROTO, int16], flags[ipv6_types, int8]]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ipv6_types", FldName: "payload", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 4, 6, 8, 12, 17, 22, 29, 33, 41, 46, 47, 50, 51, 92, 94, 98, 103, 108, 132, 136, 137, 255, 0, 43, 44, 58, 59, 60, 135, 0, 43, 44, 47, 50, 51, 58, 59, 60, 135, 115}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 6}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_LOCAL_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 7}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 10}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "payload", TypeSize: 2}, ArgFormat: 1}, Kind: 2, RangeBegin: 20000, RangeEnd: 20004}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V4, int16], ipv4_addr]", TypeSize: 8}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &UnionType{Key: StructKey{Name: "ipv4_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PEER_V6, int16], ipv6_addr]", TypeSize: 20}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &UnionType{Key: StructKey{Name: "ipv6_addr"}, FldName: "payload"}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[FOU_ATTR_PORT, int16], sock_port]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 1}, @@ -44166,7 +44203,13 @@ var consts_ppc64le = []ConstValue{ {Name: "FOPEN_KEEP_CACHE", Value: 2}, {Name: "FOPEN_NONSEEKABLE", Value: 4}, {Name: "FOU_ATTR_AF", Value: 2}, + {Name: "FOU_ATTR_IFINDEX", Value: 11}, {Name: "FOU_ATTR_IPPROTO", Value: 3}, + {Name: "FOU_ATTR_LOCAL_V4", Value: 6}, + {Name: "FOU_ATTR_LOCAL_V6", Value: 7}, + {Name: "FOU_ATTR_PEER_PORT", Value: 10}, + {Name: "FOU_ATTR_PEER_V4", Value: 8}, + {Name: "FOU_ATTR_PEER_V6", Value: 9}, {Name: "FOU_ATTR_PORT", Value: 1}, {Name: "FOU_ATTR_REMCSUM_NOPARTIAL", Value: 5}, {Name: "FOU_ATTR_TYPE", Value: 4}, @@ -50407,4 +50450,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "109cf99c064f9b4cf6912be268e4896afedc38a1" +const revision_ppc64le = "97702668c4784314b97277a32248543d59c03146" diff --git a/sys/linux/socket_netlink_generic_fou.txt b/sys/linux/socket_netlink_generic_fou.txt index cf14736c..49f449ad 100644 --- a/sys/linux/socket_netlink_generic_fou.txt +++ b/sys/linux/socket_netlink_generic_fou.txt @@ -23,6 +23,12 @@ fou_nl_policy [ FOU_ATTR_IPPROTO nlattr[FOU_ATTR_IPPROTO, flags[ipv6_types, int8]] FOU_ATTR_TYPE nlattr[FOU_ATTR_TYPE, flags[fou_types, int8]] FOU_ATTR_REMCSUM_NOPARTIAL nlattr[FOU_ATTR_REMCSUM_NOPARTIAL, void] + FOU_ATTR_LOCAL_V4 nlattr[FOU_ATTR_LOCAL_V4, ipv4_addr] + FOU_ATTR_LOCAL_V6 nlattr[FOU_ATTR_LOCAL_V6, ipv6_addr] + FOU_ATTR_PEER_V4 nlattr[FOU_ATTR_PEER_V4, ipv4_addr] + FOU_ATTR_PEER_V6 nlattr[FOU_ATTR_PEER_V6, ipv6_addr] + FOU_ATTR_PEER_PORT nlattr[FOU_ATTR_PEER_PORT, sock_port] + FOU_ATTR_IFINDEX nlattr[FOU_ATTR_IFINDEX, ifindex] ] [varlen] fou_families = AF_INET, AF_INET6 diff --git a/sys/linux/socket_netlink_generic_fou_386.const b/sys/linux/socket_netlink_generic_fou_386.const index 26ba909f..875244a6 100644 --- a/sys/linux/socket_netlink_generic_fou_386.const +++ b/sys/linux/socket_netlink_generic_fou_386.const @@ -2,7 +2,13 @@ AF_INET = 2 AF_INET6 = 10 FOU_ATTR_AF = 2 +FOU_ATTR_IFINDEX = 11 FOU_ATTR_IPPROTO = 3 +FOU_ATTR_LOCAL_V4 = 6 +FOU_ATTR_LOCAL_V6 = 7 +FOU_ATTR_PEER_PORT = 10 +FOU_ATTR_PEER_V4 = 8 +FOU_ATTR_PEER_V6 = 9 FOU_ATTR_PORT = 1 FOU_ATTR_REMCSUM_NOPARTIAL = 5 FOU_ATTR_TYPE = 4 diff --git a/sys/linux/socket_netlink_generic_fou_amd64.const b/sys/linux/socket_netlink_generic_fou_amd64.const index 33271886..4e643247 100644 --- a/sys/linux/socket_netlink_generic_fou_amd64.const +++ b/sys/linux/socket_netlink_generic_fou_amd64.const @@ -2,7 +2,13 @@ AF_INET = 2 AF_INET6 = 10 FOU_ATTR_AF = 2 +FOU_ATTR_IFINDEX = 11 FOU_ATTR_IPPROTO = 3 +FOU_ATTR_LOCAL_V4 = 6 +FOU_ATTR_LOCAL_V6 = 7 +FOU_ATTR_PEER_PORT = 10 +FOU_ATTR_PEER_V4 = 8 +FOU_ATTR_PEER_V6 = 9 FOU_ATTR_PORT = 1 FOU_ATTR_REMCSUM_NOPARTIAL = 5 FOU_ATTR_TYPE = 4 diff --git a/sys/linux/socket_netlink_generic_fou_arm.const b/sys/linux/socket_netlink_generic_fou_arm.const index 01b4c4f6..a4194ac2 100644 --- a/sys/linux/socket_netlink_generic_fou_arm.const +++ b/sys/linux/socket_netlink_generic_fou_arm.const @@ -2,7 +2,13 @@ AF_INET = 2 AF_INET6 = 10 FOU_ATTR_AF = 2 +FOU_ATTR_IFINDEX = 11 FOU_ATTR_IPPROTO = 3 +FOU_ATTR_LOCAL_V4 = 6 +FOU_ATTR_LOCAL_V6 = 7 +FOU_ATTR_PEER_PORT = 10 +FOU_ATTR_PEER_V4 = 8 +FOU_ATTR_PEER_V6 = 9 FOU_ATTR_PORT = 1 FOU_ATTR_REMCSUM_NOPARTIAL = 5 FOU_ATTR_TYPE = 4 diff --git a/sys/linux/socket_netlink_generic_fou_arm64.const b/sys/linux/socket_netlink_generic_fou_arm64.const index 24d78365..59205aa7 100644 --- a/sys/linux/socket_netlink_generic_fou_arm64.const +++ b/sys/linux/socket_netlink_generic_fou_arm64.const @@ -2,7 +2,13 @@ AF_INET = 2 AF_INET6 = 10 FOU_ATTR_AF = 2 +FOU_ATTR_IFINDEX = 11 FOU_ATTR_IPPROTO = 3 +FOU_ATTR_LOCAL_V4 = 6 +FOU_ATTR_LOCAL_V6 = 7 +FOU_ATTR_PEER_PORT = 10 +FOU_ATTR_PEER_V4 = 8 +FOU_ATTR_PEER_V6 = 9 FOU_ATTR_PORT = 1 FOU_ATTR_REMCSUM_NOPARTIAL = 5 FOU_ATTR_TYPE = 4 diff --git a/sys/linux/socket_netlink_generic_fou_ppc64le.const b/sys/linux/socket_netlink_generic_fou_ppc64le.const index ed59fbc8..f5ea8260 100644 --- a/sys/linux/socket_netlink_generic_fou_ppc64le.const +++ b/sys/linux/socket_netlink_generic_fou_ppc64le.const @@ -2,7 +2,13 @@ AF_INET = 2 AF_INET6 = 10 FOU_ATTR_AF = 2 +FOU_ATTR_IFINDEX = 11 FOU_ATTR_IPPROTO = 3 +FOU_ATTR_LOCAL_V4 = 6 +FOU_ATTR_LOCAL_V6 = 7 +FOU_ATTR_PEER_PORT = 10 +FOU_ATTR_PEER_V4 = 8 +FOU_ATTR_PEER_V6 = 9 FOU_ATTR_PORT = 1 FOU_ATTR_REMCSUM_NOPARTIAL = 5 FOU_ATTR_TYPE = 4