Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tty.c File Reference
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci_core.h>
#include <net/bluetooth/rfcomm.h>

Go to the source code of this file.

Data Structures

struct  rfcomm_dev
 

Macros

#define RFCOMM_TTY_MAGIC   0x6d02 /* magic number for rfcomm struct */
 
#define RFCOMM_TTY_PORTS   RFCOMM_MAX_DEV /* whole lotta rfcomm devices */
 
#define RFCOMM_TTY_MAJOR   216 /* device node major id of the usb/bluetooth.c driver */
 
#define RFCOMM_TTY_MINOR   0
 
#define NOCAP_FLAGS   ((1 << RFCOMM_REUSE_DLC) | (1 << RFCOMM_RELEASE_ONHUP))
 

Functions

int rfcomm_dev_ioctl (struct sock *sk, unsigned int cmd, void __user *arg)
 
int __init rfcomm_init_ttys (void)
 
void rfcomm_cleanup_ttys (void)
 

Macro Definition Documentation

#define NOCAP_FLAGS   ((1 << RFCOMM_REUSE_DLC) | (1 << RFCOMM_RELEASE_ONHUP))

Definition at line 365 of file tty.c.

#define RFCOMM_TTY_MAGIC   0x6d02 /* magic number for rfcomm struct */

Definition at line 38 of file tty.c.

#define RFCOMM_TTY_MAJOR   216 /* device node major id of the usb/bluetooth.c driver */

Definition at line 40 of file tty.c.

#define RFCOMM_TTY_MINOR   0

Definition at line 41 of file tty.c.

#define RFCOMM_TTY_PORTS   RFCOMM_MAX_DEV /* whole lotta rfcomm devices */

Definition at line 39 of file tty.c.

Function Documentation

void rfcomm_cleanup_ttys ( void  )

Definition at line 1170 of file tty.c.

int rfcomm_dev_ioctl ( struct sock sk,
unsigned int  cmd,
void __user arg 
)

Definition at line 519 of file tty.c.

int __init rfcomm_init_ttys ( void  )

Definition at line 1138 of file tty.c.