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@xxxxxxxxx> --- 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 diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 50193377..1cf48416 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -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 }; diff --git a/include/uapi/linux/wwan.h b/include/uapi/linux/wwan.h new file mode 100644 index 00000000..32a2720b --- /dev/null +++ b/include/uapi/linux/wwan.h @@ -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_ */ -- 2.26.3