diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2019-10-18 10:10:54 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-10-24 09:30:50 +0200 |
| commit | d01bb02a96019cda0fa8c46e5c6d5eb66a273f17 (patch) | |
| tree | debfda5e009df1f5db2c39d22f1e15e4cdead63d /sys/linux/gen/ppc64le.go | |
| parent | c29eac91f19ed1ca1306329ff38ba70e8d665d6b (diff) | |
sys/linux/socket_netlink_route_sched: update tca_polices
Update #533
This patch update tca_polices by adding new polices TCA_POLICE_RATE64
and TCA_POLICE_PEAKRATE64
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Diffstat (limited to 'sys/linux/gen/ppc64le.go')
| -rw-r--r-- | sys/linux/gen/ppc64le.go | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index f5ed095d0..60c2c769d 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -18932,11 +18932,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 3}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_PEAKRATE64, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_POLICE_PEAKRATE64, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 9}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_RATE, int16], array[int32, 256]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_POLICE_RATE, int16], array[int32, 256]]", TypeSize: 1028}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 2}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 1024}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}, Kind: 1, RangeBegin: 256, RangeEnd: 256}, }, AlignAttr: 4}}, + {Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_RATE64, int16], int64]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_POLICE_RATE64, int16], int64]", TypeSize: 12}, Fields: []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 8}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "payload", TypeSize: 8}}}, + }, AlignAttr: 4}}, {Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_RESULT, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[TCA_POLICE_RESULT, int16], int32]", TypeSize: 8}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 5}, @@ -24917,6 +24927,8 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_PEAKRATE, int16], array[int32, 256]]"}, FldName: "TCA_POLICE_PEAKRATE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_AVRATE, int16], int32]"}, FldName: "TCA_POLICE_AVRATE"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_RESULT, int16], int32]"}, FldName: "TCA_POLICE_RESULT"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_RATE64, int16], int64]"}, FldName: "TCA_POLICE_RATE64"}, + &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_POLICE_PEAKRATE64, int16], int64]"}, FldName: "TCA_POLICE_PEAKRATE64"}, }}}, {Key: StructKey{Name: "tcamsg[AF_UNSPEC]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcamsg[AF_UNSPEC]", TypeSize: 4}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "family", TypeSize: 1}}}, @@ -52312,7 +52324,9 @@ var consts_ppc64le = []ConstValue{ {Name: "TCA_PIE_TUPDATE", Value: 3}, {Name: "TCA_POLICE_AVRATE", Value: 4}, {Name: "TCA_POLICE_PEAKRATE", Value: 3}, + {Name: "TCA_POLICE_PEAKRATE64", Value: 9}, {Name: "TCA_POLICE_RATE", Value: 2}, + {Name: "TCA_POLICE_RATE64", Value: 8}, {Name: "TCA_POLICE_RESULT", Value: 5}, {Name: "TCA_POLICE_TBF", Value: 1}, {Name: "TCA_QFQ_LMAX", Value: 2}, @@ -54923,4 +54937,4 @@ var consts_ppc64le = []ConstValue{ {Name: "bpf_insn_load_imm_dw", Value: 24}, } -const revision_ppc64le = "164a3ebfe8f7bf744cd0e731950d1702b6826fd4" +const revision_ppc64le = "1d2f5f9ddf929289385928bbc6ad5ce0f033b990" |
