[PATCH 1/7] monitor: Decode RMNet Mux Identifier

Denis Kenzior
2024-08-05T14:07:24Z

---
monitor/nlmon.c | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c
index e5cd545173ce..941992595412 100644
--- a/monitor/nlmon.c
+++ b/monitor/nlmon.c
@@ -7597,8 +7597,15 @@ static void flags_str(const struct flag_names *table,
pos += sprintf(str + pos, "]");
}

+static struct attr_entry link_info_data_entry[] = {
+ { IFLA_RMNET_MUX_ID, "RMNet Mux Id", ATTR_U16 },
+ { },
+};
+
static struct attr_entry link_info_entry[] = {
{ IFLA_INFO_KIND, "Kind", ATTR_STRING },
+ { IFLA_INFO_DATA, "Info Data",
+ ATTR_NESTED, { link_info_data_entry } },
{ },
};

--
2.45.2