Commit | Line | Data |
---|---|---|
6f52b16c | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
1da177e4 LT |
2 | #ifndef _LINUX_TERMIOS_H |
3 | #define _LINUX_TERMIOS_H | |
4 | ||
5 | #include <linux/types.h> | |
6 | #include <asm/termios.h> | |
7 | ||
1d65b4a0 AC |
8 | #define NFF 5 |
9 | ||
10 | struct termiox | |
11 | { | |
12 | __u16 x_hflag; | |
13 | __u16 x_cflag; | |
14 | __u16 x_rflag[NFF]; | |
15 | __u16 x_sflag; | |
16 | }; | |
17 | ||
18 | #define RTSXOFF 0x0001 /* RTS flow control on input */ | |
19 | #define CTSXON 0x0002 /* CTS flow control on output */ | |
20 | #define DTRXOFF 0x0004 /* DTR flow control on input */ | |
21 | #define DSRXON 0x0008 /* DCD flow control on output */ | |
22 | ||
1da177e4 | 23 | #endif |