aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-12-30 17:36:38 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-12-30 17:36:38 +0100
commit2b42fdc898d8300c3f737e1c6e9e29763566e4e7 (patch)
tree94dca0ee62a5e056af5b91ab455b411ac56368d5 /sys/linux
parentf7d5ee2d34e7d11db1f66f7a5ded291bd7a6f511 (diff)
sys/linux: detail ifla_vf_policy/ifla_port_policy/ifla_xdp_policy
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/gen/386.go200
-rw-r--r--sys/linux/gen/amd64.go200
-rw-r--r--sys/linux/gen/arm.go200
-rw-r--r--sys/linux/gen/arm64.go200
-rw-r--r--sys/linux/gen/ppc64le.go200
-rw-r--r--sys/linux/socket_netlink_route.txt89
-rw-r--r--sys/linux/socket_netlink_route_386.const25
-rw-r--r--sys/linux/socket_netlink_route_amd64.const25
-rw-r--r--sys/linux/socket_netlink_route_arm.const25
-rw-r--r--sys/linux/socket_netlink_route_arm64.const25
-rw-r--r--sys/linux/socket_netlink_route_ppc64le.const25
11 files changed, 1185 insertions, 29 deletions
diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go
index ce96f01bc..41d140a11 100644
--- a/sys/linux/gen/386.go
+++ b/sys/linux/gen/386.go
@@ -6395,6 +6395,77 @@ var structDescs_386 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"},
}}},
+ {Key: StructKey{Name: "ifla_port_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_port_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, FldName: "IFLA_PORT_VF"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, FldName: "IFLA_PORT_PROFILE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_INSTANCE_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_HOST_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, FldName: "IFLA_PORT_REQUEST"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_guid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_guid", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "guid", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_link_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_link_state", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "link_state", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_mac"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_mac", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "mac"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 26}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 26, RangeEnd: 26},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, FldName: "IFLA_VF_MAC"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, FldName: "IFLA_VF_VLAN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, FldName: "IFLA_VF_VLAN_LIST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, FldName: "IFLA_VF_TX_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, FldName: "IFLA_VF_SPOOFCHK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, FldName: "IFLA_VF_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, FldName: "IFLA_VF_LINK_STATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, FldName: "IFLA_VF_RSS_QUERY_EN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, FldName: "IFLA_VF_TRUST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_NODE_GUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_PORT_GUID"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rate", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_tx_rate", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_tx_rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rss_query_en"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rss_query_en", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_spoofchk"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_spoofchk", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_trust"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_trust", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_tx_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_tx_rate", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_info", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "ifla_xdp_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_xdp_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, FldName: "IFLA_XDP_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, FldName: "IFLA_XDP_FLAGS"},
+ }}},
{Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_end", TypeSize: 4, ArgDir: 2}}},
@@ -13385,10 +13456,36 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 36},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 32},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]", 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: 5},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]", 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: 4},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]", IsVarlen: true}, 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: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_REQUEST, int16], 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: 6},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]", IsVarlen: true}, 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: 25},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_VF, int16], int32]", 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},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -13411,21 +13508,81 @@ var structDescs_386 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]", 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: 10},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]", 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: 11},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_vf_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]", TypeSize: 12}, 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: 5},
+ &StructType{Key: StructKey{Name: "ifla_vf_link_state"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]", TypeSize: 40}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_mac"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]", IsVarlen: true}, 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: 24},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]", TypeSize: 16}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rss_query_en"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]", TypeSize: 12}, 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: 4},
+ &StructType{Key: StructKey{Name: "ifla_vf_spoofchk"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_trust"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_tx_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]", TypeSize: 16}, 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: 2},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]", 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: 1},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan_info"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]", IsVarlen: true}, 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: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]", 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},
@@ -13474,7 +13631,17 @@ var structDescs_386 = []*KeyedStruct{
{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]", IsVarlen: true}, 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: 43},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_xdp_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]", TypeSize: 76}, 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},
+ &StructType{Key: StructKey{Name: "bpf_prog"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]", 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: "ifla_xdp_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
}, 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{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -40690,7 +40857,12 @@ var consts_386 = []ConstValue{
{Name: "IFLA_OPERSTATE", Value: 16},
{Name: "IFLA_PHYS_PORT_ID", Value: 34},
{Name: "IFLA_PHYS_SWITCH_ID", Value: 36},
+ {Name: "IFLA_PORT_HOST_UUID", Value: 5},
+ {Name: "IFLA_PORT_INSTANCE_UUID", Value: 4},
+ {Name: "IFLA_PORT_PROFILE", Value: 2},
+ {Name: "IFLA_PORT_REQUEST", Value: 6},
{Name: "IFLA_PORT_SELF", Value: 25},
+ {Name: "IFLA_PORT_VF", Value: 1},
{Name: "IFLA_PROMISCUITY", Value: 30},
{Name: "IFLA_PROTO_DOWN", Value: 39},
{Name: "IFLA_STATS_AF_SPEC", Value: 5},
@@ -40701,9 +40873,21 @@ var consts_386 = []ConstValue{
{Name: "IFLA_STATS_UNSPEC"},
{Name: "IFLA_TXQLEN", Value: 13},
{Name: "IFLA_VFINFO_LIST", Value: 22},
+ {Name: "IFLA_VF_IB_NODE_GUID", Value: 10},
+ {Name: "IFLA_VF_IB_PORT_GUID", Value: 11},
{Name: "IFLA_VF_INFO", Value: 1},
+ {Name: "IFLA_VF_LINK_STATE", Value: 5},
+ {Name: "IFLA_VF_MAC", Value: 1},
{Name: "IFLA_VF_PORT", Value: 1},
{Name: "IFLA_VF_PORTS", Value: 24},
+ {Name: "IFLA_VF_RATE", Value: 6},
+ {Name: "IFLA_VF_RSS_QUERY_EN", Value: 7},
+ {Name: "IFLA_VF_SPOOFCHK", Value: 4},
+ {Name: "IFLA_VF_TRUST", Value: 9},
+ {Name: "IFLA_VF_TX_RATE", Value: 3},
+ {Name: "IFLA_VF_VLAN", Value: 2},
+ {Name: "IFLA_VF_VLAN_INFO", Value: 1},
+ {Name: "IFLA_VF_VLAN_LIST", Value: 12},
{Name: "IFLA_VTI_FWMARK", Value: 6},
{Name: "IFLA_VTI_IKEY", Value: 2},
{Name: "IFLA_VTI_LINK", Value: 1},
@@ -40712,6 +40896,8 @@ var consts_386 = []ConstValue{
{Name: "IFLA_VTI_REMOTE", Value: 5},
{Name: "IFLA_WEIGHT", Value: 15},
{Name: "IFLA_XDP", Value: 43},
+ {Name: "IFLA_XDP_FD", Value: 1},
+ {Name: "IFLA_XDP_FLAGS", Value: 3},
{Name: "IFNAMSIZ", Value: 16},
{Name: "IFREQ_SIZE", Value: 32},
{Name: "IGMPV2_HOST_MEMBERSHIP_REPORT", Value: 22},
@@ -45346,6 +45532,10 @@ var consts_386 = []ConstValue{
{Name: "XATTR_CREATE", Value: 1},
{Name: "XATTR_REPLACE", Value: 2},
{Name: "XDP_COPY", Value: 2},
+ {Name: "XDP_FLAGS_DRV_MODE", Value: 4},
+ {Name: "XDP_FLAGS_HW_MODE", Value: 8},
+ {Name: "XDP_FLAGS_SKB_MODE", Value: 2},
+ {Name: "XDP_FLAGS_UPDATE_IF_NOEXIST", Value: 1},
{Name: "XDP_MMAP_OFFSETS", Value: 1},
{Name: "XDP_MMAP_OFFSETS_SIZE", Value: 96},
{Name: "XDP_PGOFF_RX_RING"},
@@ -45962,4 +46152,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_386 = "cad6f0c31499a04dde8618426d5eac7fcf75229e"
+const revision_386 = "12dd9e4b7009eb8c43a4049dad2e4be6efea48a8"
diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go
index b04f30393..aa47f8449 100644
--- a/sys/linux/gen/amd64.go
+++ b/sys/linux/gen/amd64.go
@@ -6503,6 +6503,77 @@ var structDescs_amd64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"},
}}},
+ {Key: StructKey{Name: "ifla_port_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_port_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, FldName: "IFLA_PORT_VF"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, FldName: "IFLA_PORT_PROFILE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_INSTANCE_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_HOST_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, FldName: "IFLA_PORT_REQUEST"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_guid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_guid", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "guid", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_link_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_link_state", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "link_state", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_mac"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_mac", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "mac"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 26}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 26, RangeEnd: 26},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, FldName: "IFLA_VF_MAC"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, FldName: "IFLA_VF_VLAN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, FldName: "IFLA_VF_VLAN_LIST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, FldName: "IFLA_VF_TX_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, FldName: "IFLA_VF_SPOOFCHK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, FldName: "IFLA_VF_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, FldName: "IFLA_VF_LINK_STATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, FldName: "IFLA_VF_RSS_QUERY_EN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, FldName: "IFLA_VF_TRUST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_NODE_GUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_PORT_GUID"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rate", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_tx_rate", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_tx_rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rss_query_en"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rss_query_en", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_spoofchk"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_spoofchk", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_trust"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_trust", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_tx_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_tx_rate", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_info", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "ifla_xdp_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_xdp_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, FldName: "IFLA_XDP_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, FldName: "IFLA_XDP_FLAGS"},
+ }}},
{Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_end", TypeSize: 8, ArgDir: 2}}},
@@ -13704,10 +13775,36 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 36},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 32},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]", 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: 5},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]", 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: 4},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]", IsVarlen: true}, 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: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_REQUEST, int16], 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: 6},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]", IsVarlen: true}, 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: 25},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_VF, int16], int32]", 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},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -13730,21 +13827,81 @@ var structDescs_amd64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]", 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: 10},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]", 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: 11},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_vf_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]", TypeSize: 12}, 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: 5},
+ &StructType{Key: StructKey{Name: "ifla_vf_link_state"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]", TypeSize: 40}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_mac"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]", IsVarlen: true}, 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: 24},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]", TypeSize: 16}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rss_query_en"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]", TypeSize: 12}, 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: 4},
+ &StructType{Key: StructKey{Name: "ifla_vf_spoofchk"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_trust"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_tx_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]", TypeSize: 16}, 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: 2},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]", 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: 1},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan_info"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]", IsVarlen: true}, 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: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]", 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},
@@ -13793,7 +13950,17 @@ var structDescs_amd64 = []*KeyedStruct{
{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]", IsVarlen: true}, 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: 43},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_xdp_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]", TypeSize: 76}, 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},
+ &StructType{Key: StructKey{Name: "bpf_prog"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]", 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: "ifla_xdp_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
}, 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{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -41455,7 +41622,12 @@ var consts_amd64 = []ConstValue{
{Name: "IFLA_OPERSTATE", Value: 16},
{Name: "IFLA_PHYS_PORT_ID", Value: 34},
{Name: "IFLA_PHYS_SWITCH_ID", Value: 36},
+ {Name: "IFLA_PORT_HOST_UUID", Value: 5},
+ {Name: "IFLA_PORT_INSTANCE_UUID", Value: 4},
+ {Name: "IFLA_PORT_PROFILE", Value: 2},
+ {Name: "IFLA_PORT_REQUEST", Value: 6},
{Name: "IFLA_PORT_SELF", Value: 25},
+ {Name: "IFLA_PORT_VF", Value: 1},
{Name: "IFLA_PROMISCUITY", Value: 30},
{Name: "IFLA_PROTO_DOWN", Value: 39},
{Name: "IFLA_STATS_AF_SPEC", Value: 5},
@@ -41466,9 +41638,21 @@ var consts_amd64 = []ConstValue{
{Name: "IFLA_STATS_UNSPEC"},
{Name: "IFLA_TXQLEN", Value: 13},
{Name: "IFLA_VFINFO_LIST", Value: 22},
+ {Name: "IFLA_VF_IB_NODE_GUID", Value: 10},
+ {Name: "IFLA_VF_IB_PORT_GUID", Value: 11},
{Name: "IFLA_VF_INFO", Value: 1},
+ {Name: "IFLA_VF_LINK_STATE", Value: 5},
+ {Name: "IFLA_VF_MAC", Value: 1},
{Name: "IFLA_VF_PORT", Value: 1},
{Name: "IFLA_VF_PORTS", Value: 24},
+ {Name: "IFLA_VF_RATE", Value: 6},
+ {Name: "IFLA_VF_RSS_QUERY_EN", Value: 7},
+ {Name: "IFLA_VF_SPOOFCHK", Value: 4},
+ {Name: "IFLA_VF_TRUST", Value: 9},
+ {Name: "IFLA_VF_TX_RATE", Value: 3},
+ {Name: "IFLA_VF_VLAN", Value: 2},
+ {Name: "IFLA_VF_VLAN_INFO", Value: 1},
+ {Name: "IFLA_VF_VLAN_LIST", Value: 12},
{Name: "IFLA_VTI_FWMARK", Value: 6},
{Name: "IFLA_VTI_IKEY", Value: 2},
{Name: "IFLA_VTI_LINK", Value: 1},
@@ -41477,6 +41661,8 @@ var consts_amd64 = []ConstValue{
{Name: "IFLA_VTI_REMOTE", Value: 5},
{Name: "IFLA_WEIGHT", Value: 15},
{Name: "IFLA_XDP", Value: 43},
+ {Name: "IFLA_XDP_FD", Value: 1},
+ {Name: "IFLA_XDP_FLAGS", Value: 3},
{Name: "IFNAMSIZ", Value: 16},
{Name: "IFREQ_SIZE", Value: 40},
{Name: "IGMPV2_HOST_MEMBERSHIP_REPORT", Value: 22},
@@ -46125,6 +46311,10 @@ var consts_amd64 = []ConstValue{
{Name: "XATTR_CREATE", Value: 1},
{Name: "XATTR_REPLACE", Value: 2},
{Name: "XDP_COPY", Value: 2},
+ {Name: "XDP_FLAGS_DRV_MODE", Value: 4},
+ {Name: "XDP_FLAGS_HW_MODE", Value: 8},
+ {Name: "XDP_FLAGS_SKB_MODE", Value: 2},
+ {Name: "XDP_FLAGS_UPDATE_IF_NOEXIST", Value: 1},
{Name: "XDP_MMAP_OFFSETS", Value: 1},
{Name: "XDP_MMAP_OFFSETS_SIZE", Value: 96},
{Name: "XDP_PGOFF_RX_RING"},
@@ -46752,4 +46942,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_amd64 = "b400283a2f6ddcb1972ebd5dc803010598363005"
+const revision_amd64 = "eff88f7e644b80ac279853925af8c7edfd13ff5b"
diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go
index 3e2e7c64f..d75b8f53e 100644
--- a/sys/linux/gen/arm.go
+++ b/sys/linux/gen/arm.go
@@ -6400,6 +6400,77 @@ var structDescs_arm = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"},
}}},
+ {Key: StructKey{Name: "ifla_port_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_port_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, FldName: "IFLA_PORT_VF"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, FldName: "IFLA_PORT_PROFILE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_INSTANCE_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_HOST_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, FldName: "IFLA_PORT_REQUEST"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_guid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_guid", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "guid", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_link_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_link_state", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "link_state", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_mac"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_mac", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "mac"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 26}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 26, RangeEnd: 26},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, FldName: "IFLA_VF_MAC"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, FldName: "IFLA_VF_VLAN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, FldName: "IFLA_VF_VLAN_LIST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, FldName: "IFLA_VF_TX_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, FldName: "IFLA_VF_SPOOFCHK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, FldName: "IFLA_VF_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, FldName: "IFLA_VF_LINK_STATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, FldName: "IFLA_VF_RSS_QUERY_EN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, FldName: "IFLA_VF_TRUST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_NODE_GUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_PORT_GUID"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rate", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_tx_rate", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_tx_rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rss_query_en"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rss_query_en", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_spoofchk"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_spoofchk", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_trust"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_trust", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_tx_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_tx_rate", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_info", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "ifla_xdp_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_xdp_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, FldName: "IFLA_XDP_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, FldName: "IFLA_XDP_FLAGS"},
+ }}},
{Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 16, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 4, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_end", TypeSize: 4, ArgDir: 2}}},
@@ -13240,10 +13311,36 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 36},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 32},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]", 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: 5},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]", 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: 4},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]", IsVarlen: true}, 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: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_REQUEST, int16], 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: 6},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]", IsVarlen: true}, 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: 25},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_VF, int16], int32]", 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},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -13266,21 +13363,81 @@ var structDescs_arm = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]", 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: 10},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]", 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: 11},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_vf_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]", TypeSize: 12}, 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: 5},
+ &StructType{Key: StructKey{Name: "ifla_vf_link_state"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]", TypeSize: 40}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_mac"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]", IsVarlen: true}, 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: 24},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]", TypeSize: 16}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rss_query_en"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]", TypeSize: 12}, 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: 4},
+ &StructType{Key: StructKey{Name: "ifla_vf_spoofchk"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_trust"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_tx_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]", TypeSize: 16}, 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: 2},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]", 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: 1},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan_info"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]", IsVarlen: true}, 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: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]", 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},
@@ -13329,7 +13486,17 @@ var structDescs_arm = []*KeyedStruct{
{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]", IsVarlen: true}, 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: 43},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_xdp_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]", TypeSize: 76}, 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},
+ &StructType{Key: StructKey{Name: "bpf_prog"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]", 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: "ifla_xdp_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
}, 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{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -40582,7 +40749,12 @@ var consts_arm = []ConstValue{
{Name: "IFLA_OPERSTATE", Value: 16},
{Name: "IFLA_PHYS_PORT_ID", Value: 34},
{Name: "IFLA_PHYS_SWITCH_ID", Value: 36},
+ {Name: "IFLA_PORT_HOST_UUID", Value: 5},
+ {Name: "IFLA_PORT_INSTANCE_UUID", Value: 4},
+ {Name: "IFLA_PORT_PROFILE", Value: 2},
+ {Name: "IFLA_PORT_REQUEST", Value: 6},
{Name: "IFLA_PORT_SELF", Value: 25},
+ {Name: "IFLA_PORT_VF", Value: 1},
{Name: "IFLA_PROMISCUITY", Value: 30},
{Name: "IFLA_PROTO_DOWN", Value: 39},
{Name: "IFLA_STATS_AF_SPEC", Value: 5},
@@ -40593,9 +40765,21 @@ var consts_arm = []ConstValue{
{Name: "IFLA_STATS_UNSPEC"},
{Name: "IFLA_TXQLEN", Value: 13},
{Name: "IFLA_VFINFO_LIST", Value: 22},
+ {Name: "IFLA_VF_IB_NODE_GUID", Value: 10},
+ {Name: "IFLA_VF_IB_PORT_GUID", Value: 11},
{Name: "IFLA_VF_INFO", Value: 1},
+ {Name: "IFLA_VF_LINK_STATE", Value: 5},
+ {Name: "IFLA_VF_MAC", Value: 1},
{Name: "IFLA_VF_PORT", Value: 1},
{Name: "IFLA_VF_PORTS", Value: 24},
+ {Name: "IFLA_VF_RATE", Value: 6},
+ {Name: "IFLA_VF_RSS_QUERY_EN", Value: 7},
+ {Name: "IFLA_VF_SPOOFCHK", Value: 4},
+ {Name: "IFLA_VF_TRUST", Value: 9},
+ {Name: "IFLA_VF_TX_RATE", Value: 3},
+ {Name: "IFLA_VF_VLAN", Value: 2},
+ {Name: "IFLA_VF_VLAN_INFO", Value: 1},
+ {Name: "IFLA_VF_VLAN_LIST", Value: 12},
{Name: "IFLA_VTI_FWMARK", Value: 6},
{Name: "IFLA_VTI_IKEY", Value: 2},
{Name: "IFLA_VTI_LINK", Value: 1},
@@ -40604,6 +40788,8 @@ var consts_arm = []ConstValue{
{Name: "IFLA_VTI_REMOTE", Value: 5},
{Name: "IFLA_WEIGHT", Value: 15},
{Name: "IFLA_XDP", Value: 43},
+ {Name: "IFLA_XDP_FD", Value: 1},
+ {Name: "IFLA_XDP_FLAGS", Value: 3},
{Name: "IFNAMSIZ", Value: 16},
{Name: "IFREQ_SIZE", Value: 32},
{Name: "IGMPV2_HOST_MEMBERSHIP_REPORT", Value: 22},
@@ -45186,6 +45372,10 @@ var consts_arm = []ConstValue{
{Name: "XATTR_CREATE", Value: 1},
{Name: "XATTR_REPLACE", Value: 2},
{Name: "XDP_COPY", Value: 2},
+ {Name: "XDP_FLAGS_DRV_MODE", Value: 4},
+ {Name: "XDP_FLAGS_HW_MODE", Value: 8},
+ {Name: "XDP_FLAGS_SKB_MODE", Value: 2},
+ {Name: "XDP_FLAGS_UPDATE_IF_NOEXIST", Value: 1},
{Name: "XDP_MMAP_OFFSETS", Value: 1},
{Name: "XDP_MMAP_OFFSETS_SIZE", Value: 96},
{Name: "XDP_PGOFF_RX_RING"},
@@ -45801,4 +45991,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm = "fd2173579c7700b77e302e544be08ca549a4a03b"
+const revision_arm = "3a67ca62aecf19057b68c31831080fda1fc6d848"
diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go
index e74f7d115..6b05af1b9 100644
--- a/sys/linux/gen/arm64.go
+++ b/sys/linux/gen/arm64.go
@@ -6503,6 +6503,77 @@ var structDescs_arm64 = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"},
}}},
+ {Key: StructKey{Name: "ifla_port_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_port_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, FldName: "IFLA_PORT_VF"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, FldName: "IFLA_PORT_PROFILE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_INSTANCE_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_HOST_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, FldName: "IFLA_PORT_REQUEST"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_guid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_guid", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "guid", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_link_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_link_state", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "link_state", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_mac"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_mac", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "mac"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 26}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 26, RangeEnd: 26},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, FldName: "IFLA_VF_MAC"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, FldName: "IFLA_VF_VLAN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, FldName: "IFLA_VF_VLAN_LIST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, FldName: "IFLA_VF_TX_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, FldName: "IFLA_VF_SPOOFCHK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, FldName: "IFLA_VF_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, FldName: "IFLA_VF_LINK_STATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, FldName: "IFLA_VF_RSS_QUERY_EN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, FldName: "IFLA_VF_TRUST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_NODE_GUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_PORT_GUID"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rate", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_tx_rate", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_tx_rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rss_query_en"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rss_query_en", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_spoofchk"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_spoofchk", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_trust"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_trust", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_tx_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_tx_rate", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_info", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "ifla_xdp_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_xdp_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, FldName: "IFLA_XDP_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, FldName: "IFLA_XDP_FLAGS"},
+ }}},
{Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_end", TypeSize: 8, ArgDir: 2}}},
@@ -13521,10 +13592,36 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 36},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 32},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]", 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: 5},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]", 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: 4},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]", IsVarlen: true}, 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: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_REQUEST, int16], 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: 6},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]", IsVarlen: true}, 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: 25},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_VF, int16], int32]", 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},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -13547,21 +13644,81 @@ var structDescs_arm64 = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]", 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: 10},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]", 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: 11},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_vf_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]", TypeSize: 12}, 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: 5},
+ &StructType{Key: StructKey{Name: "ifla_vf_link_state"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]", TypeSize: 40}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_mac"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]", IsVarlen: true}, 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: 24},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]", TypeSize: 16}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rss_query_en"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]", TypeSize: 12}, 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: 4},
+ &StructType{Key: StructKey{Name: "ifla_vf_spoofchk"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_trust"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_tx_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]", TypeSize: 16}, 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: 2},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]", 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: 1},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan_info"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]", IsVarlen: true}, 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: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]", 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},
@@ -13610,7 +13767,17 @@ var structDescs_arm64 = []*KeyedStruct{
{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]", IsVarlen: true}, 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: 43},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_xdp_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]", TypeSize: 76}, 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},
+ &StructType{Key: StructKey{Name: "bpf_prog"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]", 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: "ifla_xdp_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
}, 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{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -40901,7 +41068,12 @@ var consts_arm64 = []ConstValue{
{Name: "IFLA_OPERSTATE", Value: 16},
{Name: "IFLA_PHYS_PORT_ID", Value: 34},
{Name: "IFLA_PHYS_SWITCH_ID", Value: 36},
+ {Name: "IFLA_PORT_HOST_UUID", Value: 5},
+ {Name: "IFLA_PORT_INSTANCE_UUID", Value: 4},
+ {Name: "IFLA_PORT_PROFILE", Value: 2},
+ {Name: "IFLA_PORT_REQUEST", Value: 6},
{Name: "IFLA_PORT_SELF", Value: 25},
+ {Name: "IFLA_PORT_VF", Value: 1},
{Name: "IFLA_PROMISCUITY", Value: 30},
{Name: "IFLA_PROTO_DOWN", Value: 39},
{Name: "IFLA_STATS_AF_SPEC", Value: 5},
@@ -40912,9 +41084,21 @@ var consts_arm64 = []ConstValue{
{Name: "IFLA_STATS_UNSPEC"},
{Name: "IFLA_TXQLEN", Value: 13},
{Name: "IFLA_VFINFO_LIST", Value: 22},
+ {Name: "IFLA_VF_IB_NODE_GUID", Value: 10},
+ {Name: "IFLA_VF_IB_PORT_GUID", Value: 11},
{Name: "IFLA_VF_INFO", Value: 1},
+ {Name: "IFLA_VF_LINK_STATE", Value: 5},
+ {Name: "IFLA_VF_MAC", Value: 1},
{Name: "IFLA_VF_PORT", Value: 1},
{Name: "IFLA_VF_PORTS", Value: 24},
+ {Name: "IFLA_VF_RATE", Value: 6},
+ {Name: "IFLA_VF_RSS_QUERY_EN", Value: 7},
+ {Name: "IFLA_VF_SPOOFCHK", Value: 4},
+ {Name: "IFLA_VF_TRUST", Value: 9},
+ {Name: "IFLA_VF_TX_RATE", Value: 3},
+ {Name: "IFLA_VF_VLAN", Value: 2},
+ {Name: "IFLA_VF_VLAN_INFO", Value: 1},
+ {Name: "IFLA_VF_VLAN_LIST", Value: 12},
{Name: "IFLA_VTI_FWMARK", Value: 6},
{Name: "IFLA_VTI_IKEY", Value: 2},
{Name: "IFLA_VTI_LINK", Value: 1},
@@ -40923,6 +41107,8 @@ var consts_arm64 = []ConstValue{
{Name: "IFLA_VTI_REMOTE", Value: 5},
{Name: "IFLA_WEIGHT", Value: 15},
{Name: "IFLA_XDP", Value: 43},
+ {Name: "IFLA_XDP_FD", Value: 1},
+ {Name: "IFLA_XDP_FLAGS", Value: 3},
{Name: "IFNAMSIZ", Value: 16},
{Name: "IFREQ_SIZE", Value: 40},
{Name: "IGMPV2_HOST_MEMBERSHIP_REPORT", Value: 22},
@@ -45524,6 +45710,10 @@ var consts_arm64 = []ConstValue{
{Name: "XATTR_CREATE", Value: 1},
{Name: "XATTR_REPLACE", Value: 2},
{Name: "XDP_COPY", Value: 2},
+ {Name: "XDP_FLAGS_DRV_MODE", Value: 4},
+ {Name: "XDP_FLAGS_HW_MODE", Value: 8},
+ {Name: "XDP_FLAGS_SKB_MODE", Value: 2},
+ {Name: "XDP_FLAGS_UPDATE_IF_NOEXIST", Value: 1},
{Name: "XDP_MMAP_OFFSETS", Value: 1},
{Name: "XDP_MMAP_OFFSETS_SIZE", Value: 96},
{Name: "XDP_PGOFF_RX_RING"},
@@ -46110,4 +46300,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_arm64 = "cb2e1c43fa806c561dabc8e7885a6636bc4bbe0d"
+const revision_arm64 = "24f4f130b90aa6400cba5d7d583eebfe27dfb762"
diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go
index 5c6394794..f235ac247 100644
--- a/sys/linux/gen/ppc64le.go
+++ b/sys/linux/gen/ppc64le.go
@@ -6494,6 +6494,77 @@ var structDescs_ppc64le = []*KeyedStruct{
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_GROUP, int16], int32]"}, FldName: "IFLA_GROUP"},
&StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_IF_NETNSID, int16], netns_id]"}, FldName: "IFLA_IF_NETNSID"},
}}},
+ {Key: StructKey{Name: "ifla_port_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_port_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, FldName: "IFLA_PORT_VF"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, FldName: "IFLA_PORT_PROFILE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_INSTANCE_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, FldName: "IFLA_PORT_HOST_UUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, FldName: "IFLA_PORT_REQUEST"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_guid"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_guid", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 4}}, IsPad: true},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "guid", TypeSize: 8}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_link_state"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_link_state", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "link_state", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_mac"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_mac", TypeSize: 36}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &UnionType{Key: StructKey{Name: "mac_addr"}, FldName: "mac"},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", TypeSize: 26}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 26, RangeEnd: 26},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, FldName: "IFLA_VF_MAC"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, FldName: "IFLA_VF_VLAN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, FldName: "IFLA_VF_VLAN_LIST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, FldName: "IFLA_VF_TX_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, FldName: "IFLA_VF_SPOOFCHK"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, FldName: "IFLA_VF_RATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, FldName: "IFLA_VF_LINK_STATE"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, FldName: "IFLA_VF_RSS_QUERY_EN"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, FldName: "IFLA_VF_TRUST"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_NODE_GUID"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, FldName: "IFLA_VF_IB_PORT_GUID"},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rate", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "min_tx_rate", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "max_tx_rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_rss_query_en"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_rss_query_en", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_spoofchk"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_spoofchk", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_trust"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_trust", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "setting", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_tx_rate"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_tx_rate", TypeSize: 8}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan", TypeSize: 12}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ }}},
+ {Key: StructKey{Name: "ifla_vf_vlan_info"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_info", TypeSize: 16}, Fields: []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vf", TypeSize: 4}}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "vlan", TypeSize: 4}}, Kind: 2, RangeEnd: 4095},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "qos", TypeSize: 4}}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "ifla_vf_vlan_proto", FldName: "vlan_proto", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{33024, 34984}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 2}}, IsPad: true},
+ }}},
+ {Key: StructKey{Name: "ifla_xdp_policy"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifla_xdp_policy", IsVarlen: true}, Fields: []Type{
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, FldName: "IFLA_XDP_FD"},
+ &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, FldName: "IFLA_XDP_FLAGS"},
+ }}},
{Key: StructKey{Name: "ifmap", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "ifmap", TypeSize: 24, ArgDir: 2}, Fields: []Type{
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_start", TypeSize: 8, ArgDir: 2}}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "mem_end", TypeSize: 8, ArgDir: 2}}},
@@ -13431,10 +13502,36 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 36},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 32},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_HOST_UUID, int16], uuid_t]", 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: 5},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_INSTANCE_UUID, int16], uuid_t]", 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: 4},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", TypeSize: 16}, Kind: 1, RangeBegin: 16, RangeEnd: 16},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_PROFILE, int16], string]", IsVarlen: true}, 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: 2},
+ &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "payload", IsVarlen: true}, Kind: 2},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_REQUEST, int16], int8]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_REQUEST, int16], 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: 6},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "payload", TypeSize: 1}}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "pad", TypeSize: 3}}, IsPad: true},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_SELF, int16], array[ifla_port_policy]]", IsVarlen: true}, 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: 25},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_PORT_VF, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PORT_VF, int16], int32]", 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},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "payload", TypeSize: 4}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_PROMISCUITY, int16], int32]", TypeSize: 8}, Fields: []Type{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -13457,21 +13554,81 @@ var structDescs_ppc64le = []*KeyedStruct{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "nla_type", TypeSize: 2}}, Val: 22},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_NODE_GUID, int16], ifla_vf_guid]", 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: 10},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_IB_PORT_GUID, int16], ifla_vf_guid]", 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: 11},
+ &StructType{Key: StructKey{Name: "ifla_vf_guid"}, FldName: "payload"},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_INFO, int16], array[ifla_vf_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_vf_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_LINK_STATE, int16], ifla_vf_link_state]", TypeSize: 12}, 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: 5},
+ &StructType{Key: StructKey{Name: "ifla_vf_link_state"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_MAC, int16], ifla_vf_mac]", TypeSize: 40}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_mac"}, FldName: "payload"},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]", IsVarlen: true}, 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},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_port_policy"}}},
}, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_PORTS, int16], array[nlattr[IFLA_VF_PORT, array[ifla_port_policy]]]]", IsVarlen: true}, 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: 24},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_PORT, int16], array[ifla_port_policy]]"}}},
}, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RATE, int16], ifla_vf_rate]", TypeSize: 16}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_RSS_QUERY_EN, int16], ifla_vf_rss_query_en]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_rss_query_en"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_SPOOFCHK, int16], ifla_vf_spoofchk]", TypeSize: 12}, 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: 4},
+ &StructType{Key: StructKey{Name: "ifla_vf_spoofchk"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TRUST, int16], ifla_vf_trust]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_trust"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_TX_RATE, int16], ifla_vf_tx_rate]", TypeSize: 12}, 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},
+ &StructType{Key: StructKey{Name: "ifla_vf_tx_rate"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN, int16], ifla_vf_vlan]", TypeSize: 16}, 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: 2},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]", 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: 1},
+ &StructType{Key: StructKey{Name: "ifla_vf_vlan_info"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VF_VLAN_LIST, int16], array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]", IsVarlen: true}, 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: 12},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "nlattr_t[const[IFLA_VF_VLAN_INFO, int16], ifla_vf_vlan_info]"}}},
+ }, AlignAttr: 4}},
{Key: StructKey{Name: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_VTI_FWMARK, int16], int32]", 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},
@@ -13520,7 +13677,17 @@ var structDescs_ppc64le = []*KeyedStruct{
{Key: StructKey{Name: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP, int16], array[ifla_xdp_policy]]", IsVarlen: true}, 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: 43},
- &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "nl_generic_attr"}}},
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "ifla_xdp_policy"}}},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FD, int16], bpf_prog]", TypeSize: 76}, 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},
+ &StructType{Key: StructKey{Name: "bpf_prog"}, FldName: "payload"},
+ }, AlignAttr: 4}},
+ {Key: StructKey{Name: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "nlattr_t[const[IFLA_XDP_FLAGS, int16], flags[ifla_xdp_flags, int32]]", 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: "ifla_xdp_flags", FldName: "payload", TypeSize: 4}}, Vals: []uint64{1, 2, 4, 8}, BitMask: true},
}, 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{
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "nla_len", TypeSize: 2}}, Buf: "parent"},
@@ -39296,7 +39463,12 @@ var consts_ppc64le = []ConstValue{
{Name: "IFLA_OPERSTATE", Value: 16},
{Name: "IFLA_PHYS_PORT_ID", Value: 34},
{Name: "IFLA_PHYS_SWITCH_ID", Value: 36},
+ {Name: "IFLA_PORT_HOST_UUID", Value: 5},
+ {Name: "IFLA_PORT_INSTANCE_UUID", Value: 4},
+ {Name: "IFLA_PORT_PROFILE", Value: 2},
+ {Name: "IFLA_PORT_REQUEST", Value: 6},
{Name: "IFLA_PORT_SELF", Value: 25},
+ {Name: "IFLA_PORT_VF", Value: 1},
{Name: "IFLA_PROMISCUITY", Value: 30},
{Name: "IFLA_PROTO_DOWN", Value: 39},
{Name: "IFLA_STATS_AF_SPEC", Value: 5},
@@ -39307,9 +39479,21 @@ var consts_ppc64le = []ConstValue{
{Name: "IFLA_STATS_UNSPEC"},
{Name: "IFLA_TXQLEN", Value: 13},
{Name: "IFLA_VFINFO_LIST", Value: 22},
+ {Name: "IFLA_VF_IB_NODE_GUID", Value: 10},
+ {Name: "IFLA_VF_IB_PORT_GUID", Value: 11},
{Name: "IFLA_VF_INFO", Value: 1},
+ {Name: "IFLA_VF_LINK_STATE", Value: 5},
+ {Name: "IFLA_VF_MAC", Value: 1},
{Name: "IFLA_VF_PORT", Value: 1},
{Name: "IFLA_VF_PORTS", Value: 24},
+ {Name: "IFLA_VF_RATE", Value: 6},
+ {Name: "IFLA_VF_RSS_QUERY_EN", Value: 7},
+ {Name: "IFLA_VF_SPOOFCHK", Value: 4},
+ {Name: "IFLA_VF_TRUST", Value: 9},
+ {Name: "IFLA_VF_TX_RATE", Value: 3},
+ {Name: "IFLA_VF_VLAN", Value: 2},
+ {Name: "IFLA_VF_VLAN_INFO", Value: 1},
+ {Name: "IFLA_VF_VLAN_LIST", Value: 12},
{Name: "IFLA_VTI_FWMARK", Value: 6},
{Name: "IFLA_VTI_IKEY", Value: 2},
{Name: "IFLA_VTI_LINK", Value: 1},
@@ -39318,6 +39502,8 @@ var consts_ppc64le = []ConstValue{
{Name: "IFLA_VTI_REMOTE", Value: 5},
{Name: "IFLA_WEIGHT", Value: 15},
{Name: "IFLA_XDP", Value: 43},
+ {Name: "IFLA_XDP_FD", Value: 1},
+ {Name: "IFLA_XDP_FLAGS", Value: 3},
{Name: "IFNAMSIZ", Value: 16},
{Name: "IFREQ_SIZE", Value: 40},
{Name: "IGMPV2_HOST_MEMBERSHIP_REPORT", Value: 22},
@@ -42857,6 +43043,10 @@ var consts_ppc64le = []ConstValue{
{Name: "XATTR_CREATE", Value: 1},
{Name: "XATTR_REPLACE", Value: 2},
{Name: "XDP_COPY", Value: 2},
+ {Name: "XDP_FLAGS_DRV_MODE", Value: 4},
+ {Name: "XDP_FLAGS_HW_MODE", Value: 8},
+ {Name: "XDP_FLAGS_SKB_MODE", Value: 2},
+ {Name: "XDP_FLAGS_UPDATE_IF_NOEXIST", Value: 1},
{Name: "XDP_MMAP_OFFSETS", Value: 1},
{Name: "XDP_MMAP_OFFSETS_SIZE", Value: 96},
{Name: "XDP_PGOFF_RX_RING"},
@@ -43468,4 +43658,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
-const revision_ppc64le = "7614bd98ea9f0e4ecfcaf79aed0e0f617d39155e"
+const revision_ppc64le = "25cb9525176dffb7fb13394435cf760d3a50fe65"
diff --git a/sys/linux/socket_netlink_route.txt b/sys/linux/socket_netlink_route.txt
index 02b099785..c47adb0fa 100644
--- a/sys/linux/socket_netlink_route.txt
+++ b/sys/linux/socket_netlink_route.txt
@@ -599,10 +599,91 @@ devconf_mpls_policy [
IGNORE_ROUTES_WITH_LINKDOWN nlattr[NETCONFA_IGNORE_ROUTES_WITH_LINKDOWN, int32]
] [varlen]
-# TODO: implement these
-type ifla_vf_policy nl_generic_attr
-type ifla_port_policy nl_generic_attr
-type ifla_xdp_policy nl_generic_attr
+ifla_vf_policy [
+ IFLA_VF_MAC nlattr[IFLA_VF_MAC, ifla_vf_mac]
+ IFLA_VF_VLAN nlattr[IFLA_VF_VLAN, ifla_vf_vlan]
+ IFLA_VF_VLAN_LIST nlattr[IFLA_VF_VLAN_LIST, array[nlattr[IFLA_VF_VLAN_INFO, ifla_vf_vlan_info]]]
+ IFLA_VF_TX_RATE nlattr[IFLA_VF_TX_RATE, ifla_vf_tx_rate]
+ IFLA_VF_SPOOFCHK nlattr[IFLA_VF_SPOOFCHK, ifla_vf_spoofchk]
+ IFLA_VF_RATE nlattr[IFLA_VF_RATE, ifla_vf_rate]
+ IFLA_VF_LINK_STATE nlattr[IFLA_VF_LINK_STATE, ifla_vf_link_state]
+ IFLA_VF_RSS_QUERY_EN nlattr[IFLA_VF_RSS_QUERY_EN, ifla_vf_rss_query_en]
+ IFLA_VF_TRUST nlattr[IFLA_VF_TRUST, ifla_vf_trust]
+ IFLA_VF_IB_NODE_GUID nlattr[IFLA_VF_IB_NODE_GUID, ifla_vf_guid]
+ IFLA_VF_IB_PORT_GUID nlattr[IFLA_VF_IB_PORT_GUID, ifla_vf_guid]
+] [varlen]
+
+ifla_vf_mac {
+ vf int32
+ mac mac_addr
+ pad array[const[0, int8], 26]
+}
+
+ifla_vf_vlan {
+ vf int32
+ vlan int32[0:4095]
+ qos int32
+}
+
+ifla_vf_tx_rate {
+ vf int32
+ rate int32
+}
+
+ifla_vf_rate {
+ vf int32
+ min_tx_rate int32
+ max_tx_rate int32
+}
+
+ifla_vf_spoofchk {
+ vf int32
+ setting int32
+}
+
+ifla_vf_guid {
+ vf int32
+ guid int64
+}
+
+ifla_vf_link_state {
+ vf int32
+ link_state int32
+}
+
+ifla_vf_rss_query_en {
+ vf int32
+ setting int32
+}
+
+ifla_vf_trust {
+ vf int32
+ setting int32
+}
+
+ifla_vf_vlan_info {
+ vf int32
+ vlan int32[0:4095]
+ qos int32
+ vlan_proto flags[ifla_vf_vlan_proto, int16be]
+}
+
+ifla_vf_vlan_proto = ETH_P_8021Q, ETH_P_8021AD
+
+ifla_port_policy [
+ IFLA_PORT_VF nlattr[IFLA_PORT_VF, int32]
+ IFLA_PORT_PROFILE nlattr[IFLA_PORT_PROFILE, string]
+ IFLA_PORT_INSTANCE_UUID nlattr[IFLA_PORT_INSTANCE_UUID, uuid_t]
+ IFLA_PORT_HOST_UUID nlattr[IFLA_PORT_HOST_UUID, uuid_t]
+ IFLA_PORT_REQUEST nlattr[IFLA_PORT_REQUEST, int8]
+] [varlen]
+
+ifla_xdp_policy [
+ IFLA_XDP_FD nlattr[IFLA_XDP_FD, bpf_prog]
+ IFLA_XDP_FLAGS nlattr[IFLA_XDP_FLAGS, flags[ifla_xdp_flags, int32]]
+] [varlen]
+
+ifla_xdp_flags = XDP_FLAGS_UPDATE_IF_NOEXIST, XDP_FLAGS_SKB_MODE, XDP_FLAGS_DRV_MODE, XDP_FLAGS_HW_MODE
rtnl_link_ifmap {
mem_start int64
diff --git a/sys/linux/socket_netlink_route_386.const b/sys/linux/socket_netlink_route_386.const
index ba45fcd63..e95b7c8a2 100644
--- a/sys/linux/socket_netlink_route_386.const
+++ b/sys/linux/socket_netlink_route_386.const
@@ -28,6 +28,8 @@ CGW_MOD_UID = 14
CGW_MOD_XOR = 3
CGW_SRC_IF = 9
CGW_TYPE_CAN_CAN = 1
+ETH_P_8021AD = 34984
+ETH_P_8021Q = 33024
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
@@ -237,7 +239,12 @@ IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
+IFLA_PORT_HOST_UUID = 5
+IFLA_PORT_INSTANCE_UUID = 4
+IFLA_PORT_PROFILE = 2
+IFLA_PORT_REQUEST = 6
IFLA_PORT_SELF = 25
+IFLA_PORT_VF = 1
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
@@ -248,9 +255,21 @@ IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
+IFLA_VF_IB_NODE_GUID = 10
+IFLA_VF_IB_PORT_GUID = 11
IFLA_VF_INFO = 1
+IFLA_VF_LINK_STATE = 5
+IFLA_VF_MAC = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
+IFLA_VF_RATE = 6
+IFLA_VF_RSS_QUERY_EN = 7
+IFLA_VF_SPOOFCHK = 4
+IFLA_VF_TRUST = 9
+IFLA_VF_TX_RATE = 3
+IFLA_VF_VLAN = 2
+IFLA_VF_VLAN_INFO = 1
+IFLA_VF_VLAN_LIST = 12
IFLA_VTI_FWMARK = 6
IFLA_VTI_IKEY = 2
IFLA_VTI_LINK = 1
@@ -259,6 +278,8 @@ IFLA_VTI_OKEY = 3
IFLA_VTI_REMOTE = 5
IFLA_WEIGHT = 15
IFLA_XDP = 43
+IFLA_XDP_FD = 1
+IFLA_XDP_FLAGS = 3
IPPROTO_IPIP = 4
IPPROTO_IPV6 = 41
LWTUNNEL_ENCAP_BPF = 6
@@ -406,5 +427,9 @@ TUNNEL_ENCAP_GUE = 2
TUNNEL_ENCAP_MPLS = 3
TUNNEL_ENCAP_NONE = 0
VETH_INFO_PEER = 1
+XDP_FLAGS_DRV_MODE = 4
+XDP_FLAGS_HW_MODE = 8
+XDP_FLAGS_SKB_MODE = 2
+XDP_FLAGS_UPDATE_IF_NOEXIST = 1
__NR_sendmsg = 370
__NR_socket = 359
diff --git a/sys/linux/socket_netlink_route_amd64.const b/sys/linux/socket_netlink_route_amd64.const
index ff1e012ed..3c504da80 100644
--- a/sys/linux/socket_netlink_route_amd64.const
+++ b/sys/linux/socket_netlink_route_amd64.const
@@ -28,6 +28,8 @@ CGW_MOD_UID = 14
CGW_MOD_XOR = 3
CGW_SRC_IF = 9
CGW_TYPE_CAN_CAN = 1
+ETH_P_8021AD = 34984
+ETH_P_8021Q = 33024
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
@@ -237,7 +239,12 @@ IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
+IFLA_PORT_HOST_UUID = 5
+IFLA_PORT_INSTANCE_UUID = 4
+IFLA_PORT_PROFILE = 2
+IFLA_PORT_REQUEST = 6
IFLA_PORT_SELF = 25
+IFLA_PORT_VF = 1
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
@@ -248,9 +255,21 @@ IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
+IFLA_VF_IB_NODE_GUID = 10
+IFLA_VF_IB_PORT_GUID = 11
IFLA_VF_INFO = 1
+IFLA_VF_LINK_STATE = 5
+IFLA_VF_MAC = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
+IFLA_VF_RATE = 6
+IFLA_VF_RSS_QUERY_EN = 7
+IFLA_VF_SPOOFCHK = 4
+IFLA_VF_TRUST = 9
+IFLA_VF_TX_RATE = 3
+IFLA_VF_VLAN = 2
+IFLA_VF_VLAN_INFO = 1
+IFLA_VF_VLAN_LIST = 12
IFLA_VTI_FWMARK = 6
IFLA_VTI_IKEY = 2
IFLA_VTI_LINK = 1
@@ -259,6 +278,8 @@ IFLA_VTI_OKEY = 3
IFLA_VTI_REMOTE = 5
IFLA_WEIGHT = 15
IFLA_XDP = 43
+IFLA_XDP_FD = 1
+IFLA_XDP_FLAGS = 3
IPPROTO_IPIP = 4
IPPROTO_IPV6 = 41
LWTUNNEL_ENCAP_BPF = 6
@@ -406,5 +427,9 @@ TUNNEL_ENCAP_GUE = 2
TUNNEL_ENCAP_MPLS = 3
TUNNEL_ENCAP_NONE = 0
VETH_INFO_PEER = 1
+XDP_FLAGS_DRV_MODE = 4
+XDP_FLAGS_HW_MODE = 8
+XDP_FLAGS_SKB_MODE = 2
+XDP_FLAGS_UPDATE_IF_NOEXIST = 1
__NR_sendmsg = 46
__NR_socket = 41
diff --git a/sys/linux/socket_netlink_route_arm.const b/sys/linux/socket_netlink_route_arm.const
index e02ee7214..d983c545a 100644
--- a/sys/linux/socket_netlink_route_arm.const
+++ b/sys/linux/socket_netlink_route_arm.const
@@ -28,6 +28,8 @@ CGW_MOD_UID = 14
CGW_MOD_XOR = 3
CGW_SRC_IF = 9
CGW_TYPE_CAN_CAN = 1
+ETH_P_8021AD = 34984
+ETH_P_8021Q = 33024
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
@@ -237,7 +239,12 @@ IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
+IFLA_PORT_HOST_UUID = 5
+IFLA_PORT_INSTANCE_UUID = 4
+IFLA_PORT_PROFILE = 2
+IFLA_PORT_REQUEST = 6
IFLA_PORT_SELF = 25
+IFLA_PORT_VF = 1
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
@@ -248,9 +255,21 @@ IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
+IFLA_VF_IB_NODE_GUID = 10
+IFLA_VF_IB_PORT_GUID = 11
IFLA_VF_INFO = 1
+IFLA_VF_LINK_STATE = 5
+IFLA_VF_MAC = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
+IFLA_VF_RATE = 6
+IFLA_VF_RSS_QUERY_EN = 7
+IFLA_VF_SPOOFCHK = 4
+IFLA_VF_TRUST = 9
+IFLA_VF_TX_RATE = 3
+IFLA_VF_VLAN = 2
+IFLA_VF_VLAN_INFO = 1
+IFLA_VF_VLAN_LIST = 12
IFLA_VTI_FWMARK = 6
IFLA_VTI_IKEY = 2
IFLA_VTI_LINK = 1
@@ -259,6 +278,8 @@ IFLA_VTI_OKEY = 3
IFLA_VTI_REMOTE = 5
IFLA_WEIGHT = 15
IFLA_XDP = 43
+IFLA_XDP_FD = 1
+IFLA_XDP_FLAGS = 3
IPPROTO_IPIP = 4
IPPROTO_IPV6 = 41
LWTUNNEL_ENCAP_BPF = 6
@@ -406,5 +427,9 @@ TUNNEL_ENCAP_GUE = 2
TUNNEL_ENCAP_MPLS = 3
TUNNEL_ENCAP_NONE = 0
VETH_INFO_PEER = 1
+XDP_FLAGS_DRV_MODE = 4
+XDP_FLAGS_HW_MODE = 8
+XDP_FLAGS_SKB_MODE = 2
+XDP_FLAGS_UPDATE_IF_NOEXIST = 1
__NR_sendmsg = 296
__NR_socket = 281
diff --git a/sys/linux/socket_netlink_route_arm64.const b/sys/linux/socket_netlink_route_arm64.const
index 809661f9a..39206e9ac 100644
--- a/sys/linux/socket_netlink_route_arm64.const
+++ b/sys/linux/socket_netlink_route_arm64.const
@@ -28,6 +28,8 @@ CGW_MOD_UID = 14
CGW_MOD_XOR = 3
CGW_SRC_IF = 9
CGW_TYPE_CAN_CAN = 1
+ETH_P_8021AD = 34984
+ETH_P_8021Q = 33024
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
@@ -237,7 +239,12 @@ IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
+IFLA_PORT_HOST_UUID = 5
+IFLA_PORT_INSTANCE_UUID = 4
+IFLA_PORT_PROFILE = 2
+IFLA_PORT_REQUEST = 6
IFLA_PORT_SELF = 25
+IFLA_PORT_VF = 1
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
@@ -248,9 +255,21 @@ IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
+IFLA_VF_IB_NODE_GUID = 10
+IFLA_VF_IB_PORT_GUID = 11
IFLA_VF_INFO = 1
+IFLA_VF_LINK_STATE = 5
+IFLA_VF_MAC = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
+IFLA_VF_RATE = 6
+IFLA_VF_RSS_QUERY_EN = 7
+IFLA_VF_SPOOFCHK = 4
+IFLA_VF_TRUST = 9
+IFLA_VF_TX_RATE = 3
+IFLA_VF_VLAN = 2
+IFLA_VF_VLAN_INFO = 1
+IFLA_VF_VLAN_LIST = 12
IFLA_VTI_FWMARK = 6
IFLA_VTI_IKEY = 2
IFLA_VTI_LINK = 1
@@ -259,6 +278,8 @@ IFLA_VTI_OKEY = 3
IFLA_VTI_REMOTE = 5
IFLA_WEIGHT = 15
IFLA_XDP = 43
+IFLA_XDP_FD = 1
+IFLA_XDP_FLAGS = 3
IPPROTO_IPIP = 4
IPPROTO_IPV6 = 41
LWTUNNEL_ENCAP_BPF = 6
@@ -406,5 +427,9 @@ TUNNEL_ENCAP_GUE = 2
TUNNEL_ENCAP_MPLS = 3
TUNNEL_ENCAP_NONE = 0
VETH_INFO_PEER = 1
+XDP_FLAGS_DRV_MODE = 4
+XDP_FLAGS_HW_MODE = 8
+XDP_FLAGS_SKB_MODE = 2
+XDP_FLAGS_UPDATE_IF_NOEXIST = 1
__NR_sendmsg = 211
__NR_socket = 198
diff --git a/sys/linux/socket_netlink_route_ppc64le.const b/sys/linux/socket_netlink_route_ppc64le.const
index 47d3bb722..2ab6aa6d9 100644
--- a/sys/linux/socket_netlink_route_ppc64le.const
+++ b/sys/linux/socket_netlink_route_ppc64le.const
@@ -28,6 +28,8 @@ CGW_MOD_UID = 14
CGW_MOD_XOR = 3
CGW_SRC_IF = 9
CGW_TYPE_CAN_CAN = 1
+ETH_P_8021AD = 34984
+ETH_P_8021Q = 33024
FIB_RULE_FIND_SADDR = 65536
FIB_RULE_IIF_DETACHED = 8
FIB_RULE_INVERT = 2
@@ -237,7 +239,12 @@ IFLA_NUM_TX_QUEUES = 31
IFLA_OPERSTATE = 16
IFLA_PHYS_PORT_ID = 34
IFLA_PHYS_SWITCH_ID = 36
+IFLA_PORT_HOST_UUID = 5
+IFLA_PORT_INSTANCE_UUID = 4
+IFLA_PORT_PROFILE = 2
+IFLA_PORT_REQUEST = 6
IFLA_PORT_SELF = 25
+IFLA_PORT_VF = 1
IFLA_PROMISCUITY = 30
IFLA_PROTO_DOWN = 39
IFLA_STATS_AF_SPEC = 5
@@ -248,9 +255,21 @@ IFLA_STATS_LINK_XSTATS_SLAVE = 3
IFLA_STATS_UNSPEC = 0
IFLA_TXQLEN = 13
IFLA_VFINFO_LIST = 22
+IFLA_VF_IB_NODE_GUID = 10
+IFLA_VF_IB_PORT_GUID = 11
IFLA_VF_INFO = 1
+IFLA_VF_LINK_STATE = 5
+IFLA_VF_MAC = 1
IFLA_VF_PORT = 1
IFLA_VF_PORTS = 24
+IFLA_VF_RATE = 6
+IFLA_VF_RSS_QUERY_EN = 7
+IFLA_VF_SPOOFCHK = 4
+IFLA_VF_TRUST = 9
+IFLA_VF_TX_RATE = 3
+IFLA_VF_VLAN = 2
+IFLA_VF_VLAN_INFO = 1
+IFLA_VF_VLAN_LIST = 12
IFLA_VTI_FWMARK = 6
IFLA_VTI_IKEY = 2
IFLA_VTI_LINK = 1
@@ -259,6 +278,8 @@ IFLA_VTI_OKEY = 3
IFLA_VTI_REMOTE = 5
IFLA_WEIGHT = 15
IFLA_XDP = 43
+IFLA_XDP_FD = 1
+IFLA_XDP_FLAGS = 3
IPPROTO_IPIP = 4
IPPROTO_IPV6 = 41
LWTUNNEL_ENCAP_BPF = 6
@@ -406,5 +427,9 @@ TUNNEL_ENCAP_GUE = 2
TUNNEL_ENCAP_MPLS = 3
TUNNEL_ENCAP_NONE = 0
VETH_INFO_PEER = 1
+XDP_FLAGS_DRV_MODE = 4
+XDP_FLAGS_HW_MODE = 8
+XDP_FLAGS_SKB_MODE = 2
+XDP_FLAGS_UPDATE_IF_NOEXIST = 1
__NR_sendmsg = 341
__NR_socket = 326