122851890Sopenharmony_ci/*
222851890Sopenharmony_ci * This header was generated from the Linux kernel headers by update_headers.py,
322851890Sopenharmony_ci * to provide necessary information from kernel to userspace, such as constants,
422851890Sopenharmony_ci * structures, and macros, and thus, contains no copyrightable information.
522851890Sopenharmony_ci */
622851890Sopenharmony_ci#ifndef _UAPI_LINUX_STM_H
722851890Sopenharmony_ci#define _UAPI_LINUX_STM_H
822851890Sopenharmony_ci#include <linux/types.h>
922851890Sopenharmony_ci#define STP_MASTER_MAX	0xffff
1022851890Sopenharmony_ci#define STP_CHANNEL_MAX	0xffff
1122851890Sopenharmony_cistruct stp_policy_id {
1222851890Sopenharmony_ci	__u32		size;
1322851890Sopenharmony_ci	__u16		master;
1422851890Sopenharmony_ci	__u16		channel;
1522851890Sopenharmony_ci	__u16		width;
1622851890Sopenharmony_ci
1722851890Sopenharmony_ci	__u16		__reserved_0;
1822851890Sopenharmony_ci	__u32		__reserved_1;
1922851890Sopenharmony_ci	char		id[0];
2022851890Sopenharmony_ci};
2122851890Sopenharmony_ci#define STP_POLICY_ID_SET	_IOWR('%', 0, struct stp_policy_id)
2222851890Sopenharmony_ci#define STP_POLICY_ID_GET	_IOR('%', 1, struct stp_policy_id)
2322851890Sopenharmony_ci#define STP_SET_OPTIONS		_IOW('%', 2, __u64)
2422851890Sopenharmony_ci#endif
25