|
FreeBSD kernel kern code
|
#include <sys/cdefs.h>#include "opt_compat.h"#include <sys/param.h>#include <sys/systm.h>#include <sys/ioctl_compat.h>#include <sys/tty.h>#include <sys/kernel.h>#include <sys/sysctl.h>
Go to the source code of this file.
Data Structures | |
| struct | speedtab |
Macros | |
| #define | MAX_SPEED 17 |
Functions | |
| __FBSDID ("$BSDSUniX$") | |
| static int | ttcompatgetflags (struct tty *tp) |
| static void | ttcompatsetflags (struct tty *tp, struct termios *t) |
| static void | ttcompatsetlflags (struct tty *tp, struct termios *t) |
| static int | ttcompatspeedtab (int speed, struct speedtab *table) |
| SYSCTL_INT (_debug, OID_AUTO, ttydebug, CTLFLAG_RW,&ttydebug, 0,"") | |
| static int | ttsetcompat (struct tty *tp, u_long *com, caddr_t data, struct termios *term) |
| int | tty_ioctl_compat (struct tty *tp, u_long com, caddr_t data, int fflag, struct thread *td) |
Variables | |
| static int | ttydebug = 0 |
| static struct speedtab | compatspeeds [] |
| static int | compatspcodes [] |
| #define MAX_SPEED 17 |
Referenced by ttsetcompat().
| __FBSDID | ( | "$BSDSUniX$" | ) |
| SYSCTL_INT | ( | _debug | , |
| OID_AUTO | , | ||
| ttydebug | , | ||
| CTLFLAG_RW | , | ||
| & | ttydebug, | ||
| 0 | , | ||
| "" | |||
| ) |
|
static |
Definition at line 274 of file tty_compat.c.
References printf(), and ttydebug.
Referenced by ttsetcompat(), and tty_ioctl_compat().


|
static |
Definition at line 334 of file tty_compat.c.
Referenced by ttsetcompat().

|
static |
Definition at line 411 of file tty_compat.c.
Referenced by ttsetcompat().

|
static |
Definition at line 89 of file tty_compat.c.
References speedtab::sp_code, and speedtab::sp_speed.
Referenced by ttsetcompat(), and tty_ioctl_compat().

|
static |
Definition at line 100 of file tty_compat.c.
References compatspcodes, MAX_SPEED, ttcompatgetflags(), ttcompatsetflags(), ttcompatsetlflags(), and ttcompatspeedtab().
Referenced by tty_ioctl_compat().


| int tty_ioctl_compat | ( | struct tty * | tp, |
| u_long | com, | ||
| caddr_t | data, | ||
| int | fflag, | ||
| struct thread * | td | ||
| ) |
Definition at line 183 of file tty_compat.c.
References printf(), ttcompatgetflags(), ttcompatspeedtab(), ttsetcompat(), tty_ioctl(), and ttydebug.
Referenced by tty_generic_ioctl().


|
static |
Definition at line 83 of file tty_compat.c.
Referenced by ttsetcompat().
|
static |
Definition at line 61 of file tty_compat.c.
|
static |
Definition at line 58 of file tty_compat.c.
Referenced by ttcompatgetflags(), and tty_ioctl_compat().