xref: /aosp_15_r20/bionic/libc/kernel/uapi/linux/if_eql.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_IF_EQL_H
8*8d67ca89SAndroid Build Coastguard Worker #define _UAPI_LINUX_IF_EQL_H
9*8d67ca89SAndroid Build Coastguard Worker #define EQL_DEFAULT_SLAVE_PRIORITY 28800
10*8d67ca89SAndroid Build Coastguard Worker #define EQL_DEFAULT_MAX_SLAVES 4
11*8d67ca89SAndroid Build Coastguard Worker #define EQL_DEFAULT_MTU 576
12*8d67ca89SAndroid Build Coastguard Worker #define EQL_DEFAULT_RESCHED_IVAL HZ
13*8d67ca89SAndroid Build Coastguard Worker #define EQL_ENSLAVE (SIOCDEVPRIVATE)
14*8d67ca89SAndroid Build Coastguard Worker #define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1)
15*8d67ca89SAndroid Build Coastguard Worker #define EQL_GETSLAVECFG (SIOCDEVPRIVATE + 2)
16*8d67ca89SAndroid Build Coastguard Worker #define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3)
17*8d67ca89SAndroid Build Coastguard Worker #define EQL_GETMASTRCFG (SIOCDEVPRIVATE + 4)
18*8d67ca89SAndroid Build Coastguard Worker #define EQL_SETMASTRCFG (SIOCDEVPRIVATE + 5)
19*8d67ca89SAndroid Build Coastguard Worker typedef struct master_config {
20*8d67ca89SAndroid Build Coastguard Worker   char master_name[16];
21*8d67ca89SAndroid Build Coastguard Worker   int max_slaves;
22*8d67ca89SAndroid Build Coastguard Worker   int min_slaves;
23*8d67ca89SAndroid Build Coastguard Worker } master_config_t;
24*8d67ca89SAndroid Build Coastguard Worker typedef struct slave_config {
25*8d67ca89SAndroid Build Coastguard Worker   char slave_name[16];
26*8d67ca89SAndroid Build Coastguard Worker   long priority;
27*8d67ca89SAndroid Build Coastguard Worker } slave_config_t;
28*8d67ca89SAndroid Build Coastguard Worker typedef struct slaving_request {
29*8d67ca89SAndroid Build Coastguard Worker   char slave_name[16];
30*8d67ca89SAndroid Build Coastguard Worker   long priority;
31*8d67ca89SAndroid Build Coastguard Worker } slaving_request_t;
32*8d67ca89SAndroid Build Coastguard Worker #endif
33