@@ -341,6 +341,12 @@ enum {
IFLA_ALT_IFNAME, /* Alternative ifname */
IFLA_PERM_ADDRESS,
IFLA_PROTO_DOWN_REASON,
+
+ /* device (sysfs) name as parent, used instead
+ * of IFLA_LINK where there's no parent netdev
+ */
+ IFLA_PARENT_DEV_NAME,
+
__IFLA_MAX
};
new file mode 100644
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
+/*
+ * Copyright (C) 2021 Intel Corporation.
+ */
+#ifndef _UAPI_WWAN_H_
+#define _UAPI_WWAN_H_
+
+enum {
+ IFLA_WWAN_UNSPEC,
+ IFLA_WWAN_LINK_ID, /* u32 */
+
+ __IFLA_WWAN_MAX
+};
+#define IFLA_WWAN_MAX (__IFLA_WWAN_MAX - 1)
+
+#endif /* _UAPI_WWAN_H_ */
A partial headers update that brings WWAN-related attributes. Included in the series mainly to make it possible to quickly compile and test the utility. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> --- include/uapi/linux/if_link.h | 6 ++++++ include/uapi/linux/wwan.h | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 include/uapi/linux/wwan.h