blob: 33961d4e4de0d8642f4a145e379ca8e7925d8b04 [file] [log] [blame]
Greg Kroah-Hartman6f52b162017-11-01 15:08:43 +01001/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#ifndef _LINUX_TERMIOS_H
3#define _LINUX_TERMIOS_H
4
5#include <linux/types.h>
6#include <asm/termios.h>
7
Greg Kroah-Hartman8a365a22021-09-12 10:59:38 +02008#define NFF 5
9
10struct 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif