aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/gen/amd64.go
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2019-10-18 10:10:54 +0800
committerDmitry Vyukov <dvyukov@google.com>2019-10-24 09:30:50 +0200
commitd01bb02a96019cda0fa8c46e5c6d5eb66a273f17 (patch)
treedebfda5e009df1f5db2c39d22f1e15e4cdead63d /sys/linux/gen/amd64.go
parentc29eac91f19ed1ca1306329ff38ba70e8d665d6b (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/amd64.go')
-rw-r--r--sys/linux/gen/amd64.go16
1 files changed, 15 insertions, 1 deletions
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index f014d7aee..7dcaab8c7 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -19163,11 +19163,21 @@ var structDescs_amd64 = []*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},
@@ -25148,6 +25158,8 @@ var structDescs_amd64 = []*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}}},
@@ -52926,7 +52938,9 @@ var consts_amd64 = []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},
@@ -55606,4 +55620,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "ef50506cf171d52b2aa0b02f59e82fa37023bc23"
+const revision_amd64 = "b972f8c2c260922d62a416f11a442e726b300e81"