xref: /aosp_15_r20/bionic/libc/kernel/uapi/linux/stm.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker /*
2*8d67ca89SAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*8d67ca89SAndroid Build Coastguard Worker  *
4*8d67ca89SAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*8d67ca89SAndroid Build Coastguard Worker  * for more information.
6*8d67ca89SAndroid Build Coastguard Worker  */
7*8d67ca89SAndroid Build Coastguard Worker #ifndef _UAPI_LINUX_STM_H
8*8d67ca89SAndroid Build Coastguard Worker #define _UAPI_LINUX_STM_H
9*8d67ca89SAndroid Build Coastguard Worker #include <linux/types.h>
10*8d67ca89SAndroid Build Coastguard Worker #define STP_MASTER_MAX 0xffff
11*8d67ca89SAndroid Build Coastguard Worker #define STP_CHANNEL_MAX 0xffff
12*8d67ca89SAndroid Build Coastguard Worker struct stp_policy_id {
13*8d67ca89SAndroid Build Coastguard Worker   __u32 size;
14*8d67ca89SAndroid Build Coastguard Worker   __u16 master;
15*8d67ca89SAndroid Build Coastguard Worker   __u16 channel;
16*8d67ca89SAndroid Build Coastguard Worker   __u16 width;
17*8d67ca89SAndroid Build Coastguard Worker   __u16 __reserved_0;
18*8d67ca89SAndroid Build Coastguard Worker   __u32 __reserved_1;
19*8d67ca89SAndroid Build Coastguard Worker   char id[];
20*8d67ca89SAndroid Build Coastguard Worker };
21*8d67ca89SAndroid Build Coastguard Worker #define STP_POLICY_ID_SET _IOWR('%', 0, struct stp_policy_id)
22*8d67ca89SAndroid Build Coastguard Worker #define STP_POLICY_ID_GET _IOR('%', 1, struct stp_policy_id)
23*8d67ca89SAndroid Build Coastguard Worker #define STP_SET_OPTIONS _IOW('%', 2, __u64)
24*8d67ca89SAndroid Build Coastguard Worker #endif
25