1/* 2 * This header was generated from the Linux kernel headers by update_headers.py, 3 * to provide necessary information from kernel to userspace, such as constants, 4 * structures, and macros, and thus, contains no copyrightable information. 5 */ 6#ifndef _UAPI_LINUX_STM_H 7#define _UAPI_LINUX_STM_H 8#include <linux/types.h> 9#define STP_MASTER_MAX 0xffff 10#define STP_CHANNEL_MAX 0xffff 11struct stp_policy_id { 12 __u32 size; 13 __u16 master; 14 __u16 channel; 15 __u16 width; 16 17 __u16 __reserved_0; 18 __u32 __reserved_1; 19 char id[0]; 20}; 21#define STP_POLICY_ID_SET _IOWR('%', 0, struct stp_policy_id) 22#define STP_POLICY_ID_GET _IOR('%', 1, struct stp_policy_id) 23#define STP_SET_OPTIONS _IOW('%', 2, __u64) 24#endif 25