mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
monitor: Dump some additional ROUTE attributes
This commit is contained in:
parent
7c5fb5aad4
commit
8d76cae6b1
@ -6744,6 +6744,11 @@ static struct attr_entry addr_entry[] = {
|
||||
{ },
|
||||
};
|
||||
|
||||
static const struct attr_entry metrics_table[] = {
|
||||
{ RTAX_MTU, "MTU", ATTR_U32 },
|
||||
{ }
|
||||
};
|
||||
|
||||
static struct attr_entry route_entry[] = {
|
||||
{ RTA_DST, "Destination Address", ATTR_CUSTOM,
|
||||
{ .function = print_inet_addr } },
|
||||
@ -6754,10 +6759,13 @@ static struct attr_entry route_entry[] = {
|
||||
{ RTA_GATEWAY, "Gateway", ATTR_CUSTOM,
|
||||
{ .function = print_inet_addr } },
|
||||
{ RTA_PRIORITY, "Priority of the route", ATTR_S32 },
|
||||
{ RTA_METRICS, "Metric of the route", ATTR_S32 },
|
||||
{ RTA_TABLE, "Routing Table", ATTR_U32 },
|
||||
{ RTA_EXPIRES, "Route lifetime", ATTR_U32 },
|
||||
{ RTA_PREF, "Route Preference", ATTR_U8 },
|
||||
{ RTA_PREFSRC, "Preferred Source", ATTR_CUSTOM,
|
||||
{ .function = print_inet_addr } },
|
||||
{ RTA_METRICS, "Metrics",
|
||||
ATTR_NESTED, { metrics_table } },
|
||||
{ },
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user