blob: 4d65e4fb94b996fb0fb14fb9feed5188af7f42a9 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris05d08e92016-02-04 13:16:38 -08007#ifndef _UAPI_LINUX_STM_H
8#define _UAPI_LINUX_STM_H
9#include <linux/types.h>
Christopher Ferris76a1d452018-06-27 14:12:29 -070010#define STP_MASTER_MAX 0xffff
11#define STP_CHANNEL_MAX 0xffff
Christopher Ferris05d08e92016-02-04 13:16:38 -080012struct stp_policy_id {
Christopher Ferris05d08e92016-02-04 13:16:38 -080013 __u32 size;
14 __u16 master;
15 __u16 channel;
16 __u16 width;
Christopher Ferris05d08e92016-02-04 13:16:38 -080017 __u16 __reserved_0;
18 __u32 __reserved_1;
Christopher Ferris7447a1c2022-10-04 18:24:44 -070019 char id[];
Christopher Ferris05d08e92016-02-04 13:16:38 -080020};
Christopher Ferris05d08e92016-02-04 13:16:38 -080021#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