1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2#ifndef _LINUX_TERMIOS_H 3#define _LINUX_TERMIOS_H 4 5#include <linux/types.h> 6#include <asm/termios.h> 7 8#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 23#endif 24