termios.h 506 B

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