84: /* 15 unused */
85: #define TIOCFLUSH _IOW('t', 16, int) /* flush buffers */
86: /* 17-18 compat */
87: #define TIOCGETA _IOR('t', 19, struct termios) /* get termios struct */
88: #define TIOCSETA _IOW('t', 20, struct termios) /* set termios struct */
89: #define TIOCSETAW _IOW('t', 21, struct termios) /* drain output, set */
90: #define TIOCSETAF _IOW('t', 22, struct termios) /* drn out, fls in, set */
91: #define TIOCGETD _IOR('t', 26, int) /* get line discipline (deprecated) */
92: #define TIOCSETD _IOW('t', 27, int) /* set line discipline (deprecated) */
93:
99: #define TIOCGLINED _IOR('t', 66, linedn_t) /* get line discipline (new) */
100: #define TIOCSLINED _IOW('t', 67, linedn_t) /* set line discipline (new) */
101: /* 127-124 compat */
106: #define TIOCGPGRP _IOR('t', 119, int) /* get pgrp of tty */
107: #define TIOCSPGRP _IOW('t', 118, int) /* set pgrp of tty */
108: /* 117-116 compat */
109: #define TIOCOUTQ _IOR('t', 115, int) /* output queue size */
110: #define TIOCSTI _IOW('t', 114, char) /* simulate terminal input */
111: #define TIOCNOTTY _IO('t', 113) /* void tty association */
112: #define TIOCPKT _IOW('t', 112, int) /* pty: set/clear packet mode */
113: #define TIOCPKT_DATA 0x00 /* data packet */
122: #define TIOCSTART _IO('t', 110) /* start output, like ^Q */
123: #define TIOCMSET _IOW('t', 109, int) /* set all modem bits */
124: #define TIOCMBIS _IOW('t', 108, int) /* bis modem bits */
125: #define TIOCMBIC _IOW('t', 107, int) /* bic modem bits */
126: #define TIOCMGET _IOR('t', 106, int) /* get all modem bits */
127: #define TIOCREMOTE _IOW('t', 105, int) /* remote input editing */
128: #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
129: #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
130: #define TIOCUCNTL _IOW('t', 102, int) /* pty: set/clr usr cntl mode */
131: #define TIOCSTAT _IOW('t', 101, int) /* generate status message */
132: #define UIOCCMD(n) _IO('u', n) /* usr cntl op "n" */
133: #define TIOCGSID _IOR('t', 99, int) /* get session id */
134: #define TIOCCONS _IOW('t', 98, int) /* become virtual console */
135: #define TIOCSCTTY _IO('t', 97) /* become controlling tty */
136: #define TIOCEXT _IOW('t', 96, int) /* pty: external processing */
137: #define TIOCSIG _IO('t', 95) /* pty: generate signal */
139: #define TIOCGFLAGS _IOR('t', 93, int) /* get device flags */
140: #define TIOCSFLAGS _IOW('t', 92, int) /* set device flags */
141: #define TIOCFLAG_SOFTCAR 0x01 /* ignore hardware carrier */
148:
149: #define TIOCRCVFRAME _IOW('t', 69, struct mbuf *)/* data frame received */
150: #define TIOCXMTFRAME _IOW('t', 68, struct mbuf *)/* data frame transmit */
151: