From 9a4bb6b0b5cc05036d57f76f1791a87ffd267a35 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 21 Dec 2018 18:26:04 +0100 Subject: sys/linux: add CRYPTO_MSG_GETSTAT --- sys/linux/gen/386.go | 13 ++++++++++++- sys/linux/gen/amd64.go | 13 ++++++++++++- sys/linux/gen/arm.go | 13 ++++++++++++- sys/linux/gen/arm64.go | 13 ++++++++++++- sys/linux/gen/ppc64le.go | 13 ++++++++++++- sys/linux/socket_netlink_crypto.txt | 1 + sys/linux/socket_netlink_crypto_386.const | 1 + sys/linux/socket_netlink_crypto_amd64.const | 1 + sys/linux/socket_netlink_crypto_arm.const | 1 + sys/linux/socket_netlink_crypto_arm64.const | 1 + sys/linux/socket_netlink_crypto_ppc64le.const | 1 + 11 files changed, 66 insertions(+), 5 deletions(-) (limited to 'sys') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 14807443c..875c84692 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -10164,6 +10164,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"}, }}}, {Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -10269,6 +10270,15 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16}, @@ -38048,6 +38058,7 @@ var consts_386 = []ConstValue{ {Name: "CRYPTO_MSG_DELALG", Value: 17}, {Name: "CRYPTO_MSG_DELRNG", Value: 20}, {Name: "CRYPTO_MSG_GETALG", Value: 19}, + {Name: "CRYPTO_MSG_GETSTAT", Value: 21}, {Name: "CRYPTO_MSG_NEWALG", Value: 16}, {Name: "CRYPTO_MSG_UPDATEALG", Value: 18}, {Name: "DCCP_PKT_ACK", Value: 3}, @@ -44330,4 +44341,4 @@ var consts_386 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_386 = "745a46b9f319cae102f6c8e56835ab1eb0ec3280" +const revision_386 = "0c6bf066bd7442eaf4c652ac238cc65872b25396" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 96ec0ae55..b90295a73 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -10480,6 +10480,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"}, }}}, {Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -10585,6 +10586,15 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16}, @@ -38811,6 +38821,7 @@ var consts_amd64 = []ConstValue{ {Name: "CRYPTO_MSG_DELALG", Value: 17}, {Name: "CRYPTO_MSG_DELRNG", Value: 20}, {Name: "CRYPTO_MSG_GETALG", Value: 19}, + {Name: "CRYPTO_MSG_GETSTAT", Value: 21}, {Name: "CRYPTO_MSG_NEWALG", Value: 16}, {Name: "CRYPTO_MSG_UPDATEALG", Value: 18}, {Name: "DCCP_PKT_ACK", Value: 3}, @@ -45118,4 +45129,4 @@ var consts_amd64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_amd64 = "9afaea55cb050515a60438b6736ef28a5389c6e4" +const revision_amd64 = "34f7cb9ae9d016deb5c83bdd32303e34f97051de" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 985b0e8da..3a896c5ee 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -10019,6 +10019,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"}, }}}, {Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -10124,6 +10125,15 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16}, @@ -37940,6 +37950,7 @@ var consts_arm = []ConstValue{ {Name: "CRYPTO_MSG_DELALG", Value: 17}, {Name: "CRYPTO_MSG_DELRNG", Value: 20}, {Name: "CRYPTO_MSG_GETALG", Value: 19}, + {Name: "CRYPTO_MSG_GETSTAT", Value: 21}, {Name: "CRYPTO_MSG_NEWALG", Value: 16}, {Name: "CRYPTO_MSG_UPDATEALG", Value: 18}, {Name: "DCCP_PKT_ACK", Value: 3}, @@ -44169,4 +44180,4 @@ var consts_arm = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm = "46f22033c01cdec4e04e7db18888b739eb50ae40" +const revision_arm = "e3c52bae599e17c89cb1bb8f0f348459a4eb7768" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index e12950e30..de72630fc 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -10297,6 +10297,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"}, }}}, {Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -10402,6 +10403,15 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16}, @@ -38257,6 +38267,7 @@ var consts_arm64 = []ConstValue{ {Name: "CRYPTO_MSG_DELALG", Value: 17}, {Name: "CRYPTO_MSG_DELRNG", Value: 20}, {Name: "CRYPTO_MSG_GETALG", Value: 19}, + {Name: "CRYPTO_MSG_GETSTAT", Value: 21}, {Name: "CRYPTO_MSG_NEWALG", Value: 16}, {Name: "CRYPTO_MSG_UPDATEALG", Value: 18}, {Name: "DCCP_PKT_ACK", Value: 3}, @@ -44476,4 +44487,4 @@ var consts_arm64 = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_arm64 = "55fe20bbe155f66e45e4b315e3882db46dbc656c" +const revision_arm64 = "41b4bac2c71c6484cc1bd571739baaecb92efc14" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index ad1e6c7ea..3a536b8e1 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -10207,6 +10207,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_UPDATEALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "upd"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, FldName: "get"}, &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_DELRNG, int16], void, void]"}, FldName: "delrng"}, + &StructType{Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, FldName: "getstat"}, }}}, {Key: StructKey{Name: "netlink_msg_netfilter"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_netfilter", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, @@ -10312,6 +10313,15 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[CRYPTOCFGA_PRIORITY_VAL, int16], int32]"}}}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_GETSTAT, int16], crypto_user_alg, void]", TypeSize: 224}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 21}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "netlink_msg_flags", FldName: "flags", TypeSize: 2}}, Vals: []uint64{1, 2, 4, 8, 16, 32, 256, 512, 1024, 768, 256, 512, 1024, 2048}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "seq", TypeSize: 4}}, Kind: 2, RangeBegin: 7388453, RangeEnd: 7388461}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "pid", TypeSize: 4}}, Kind: 2, RangeBegin: 635427835, RangeEnd: 635427839}, + &StructType{Key: StructKey{Name: "crypto_user_alg"}, FldName: "payload"}, + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "attrs"}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "void"}, Kind: 1}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "netlink_msg_t[const[CRYPTO_MSG_NEWALG, int16], crypto_user_alg, netlink_crypto_attrs]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Buf: "parent"}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 2}}, Val: 16}, @@ -36652,6 +36662,7 @@ var consts_ppc64le = []ConstValue{ {Name: "CRYPTO_MSG_DELALG", Value: 17}, {Name: "CRYPTO_MSG_DELRNG", Value: 20}, {Name: "CRYPTO_MSG_GETALG", Value: 19}, + {Name: "CRYPTO_MSG_GETSTAT", Value: 21}, {Name: "CRYPTO_MSG_NEWALG", Value: 16}, {Name: "CRYPTO_MSG_UPDATEALG", Value: 18}, {Name: "DCCP_PKT_ACK", Value: 3}, @@ -41834,4 +41845,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "58cd465a01de4560de123f566f48db8818f8c281" +const revision_ppc64le = "445e99c70c6e89c9b1da7bcbeb3d25d5273b6a45" diff --git a/sys/linux/socket_netlink_crypto.txt b/sys/linux/socket_netlink_crypto.txt index 3b3bf3455..0ac4f1c2c 100644 --- a/sys/linux/socket_netlink_crypto.txt +++ b/sys/linux/socket_netlink_crypto.txt @@ -22,6 +22,7 @@ netlink_msg_crypto [ upd netlink_msg[CRYPTO_MSG_UPDATEALG, crypto_user_alg, netlink_crypto_attrs] get netlink_msg[CRYPTO_MSG_GETALG, crypto_user_alg, netlink_crypto_attrs] delrng netlink_msg[CRYPTO_MSG_DELRNG, void, void] + getstat netlink_msg[CRYPTO_MSG_GETSTAT, crypto_user_alg, void] ] [varlen] type netlink_crypto_attrs nlattr[CRYPTOCFGA_PRIORITY_VAL, int32] diff --git a/sys/linux/socket_netlink_crypto_386.const b/sys/linux/socket_netlink_crypto_386.const index 748189bbd..40ea84b8e 100644 --- a/sys/linux/socket_netlink_crypto_386.const +++ b/sys/linux/socket_netlink_crypto_386.const @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64 CRYPTO_MSG_DELALG = 17 CRYPTO_MSG_DELRNG = 20 CRYPTO_MSG_GETALG = 19 +CRYPTO_MSG_GETSTAT = 21 CRYPTO_MSG_NEWALG = 16 CRYPTO_MSG_UPDATEALG = 18 NETLINK_CRYPTO = 21 diff --git a/sys/linux/socket_netlink_crypto_amd64.const b/sys/linux/socket_netlink_crypto_amd64.const index 07377f4bf..1cd7141ac 100644 --- a/sys/linux/socket_netlink_crypto_amd64.const +++ b/sys/linux/socket_netlink_crypto_amd64.const @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64 CRYPTO_MSG_DELALG = 17 CRYPTO_MSG_DELRNG = 20 CRYPTO_MSG_GETALG = 19 +CRYPTO_MSG_GETSTAT = 21 CRYPTO_MSG_NEWALG = 16 CRYPTO_MSG_UPDATEALG = 18 NETLINK_CRYPTO = 21 diff --git a/sys/linux/socket_netlink_crypto_arm.const b/sys/linux/socket_netlink_crypto_arm.const index 8b9d47c4e..af91755f3 100644 --- a/sys/linux/socket_netlink_crypto_arm.const +++ b/sys/linux/socket_netlink_crypto_arm.const @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64 CRYPTO_MSG_DELALG = 17 CRYPTO_MSG_DELRNG = 20 CRYPTO_MSG_GETALG = 19 +CRYPTO_MSG_GETSTAT = 21 CRYPTO_MSG_NEWALG = 16 CRYPTO_MSG_UPDATEALG = 18 NETLINK_CRYPTO = 21 diff --git a/sys/linux/socket_netlink_crypto_arm64.const b/sys/linux/socket_netlink_crypto_arm64.const index b26793542..e7968f5f6 100644 --- a/sys/linux/socket_netlink_crypto_arm64.const +++ b/sys/linux/socket_netlink_crypto_arm64.const @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64 CRYPTO_MSG_DELALG = 17 CRYPTO_MSG_DELRNG = 20 CRYPTO_MSG_GETALG = 19 +CRYPTO_MSG_GETSTAT = 21 CRYPTO_MSG_NEWALG = 16 CRYPTO_MSG_UPDATEALG = 18 NETLINK_CRYPTO = 21 diff --git a/sys/linux/socket_netlink_crypto_ppc64le.const b/sys/linux/socket_netlink_crypto_ppc64le.const index 94e85471e..55383dd4b 100644 --- a/sys/linux/socket_netlink_crypto_ppc64le.const +++ b/sys/linux/socket_netlink_crypto_ppc64le.const @@ -7,6 +7,7 @@ CRYPTO_MAX_NAME = 64 CRYPTO_MSG_DELALG = 17 CRYPTO_MSG_DELRNG = 20 CRYPTO_MSG_GETALG = 19 +CRYPTO_MSG_GETSTAT = 21 CRYPTO_MSG_NEWALG = 16 CRYPTO_MSG_UPDATEALG = 18 NETLINK_CRYPTO = 21 -- cgit mrf-deployment