2017-11-01 21:08:43 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2005-04-17 05:20:36 +07:00
|
|
|
#ifndef _LINUX_TERMIOS_H
|
|
|
|
#define _LINUX_TERMIOS_H
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include <asm/termios.h>
|
|
|
|
|
2008-10-13 16:38:18 +07:00
|
|
|
#define NFF 5
|
|
|
|
|
|
|
|
struct termiox
|
|
|
|
{
|
|
|
|
__u16 x_hflag;
|
|
|
|
__u16 x_cflag;
|
|
|
|
__u16 x_rflag[NFF];
|
|
|
|
__u16 x_sflag;
|
|
|
|
};
|
|
|
|
|
|
|
|
#define RTSXOFF 0x0001 /* RTS flow control on input */
|
|
|
|
#define CTSXON 0x0002 /* CTS flow control on output */
|
|
|
|
#define DTRXOFF 0x0004 /* DTR flow control on input */
|
|
|
|
#define DSRXON 0x0008 /* DCD flow control on output */
|
|
|
|
|
2005-04-17 05:20:36 +07:00
|
|
|
#endif
|