Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cmtp.h File Reference
#include <linux/types.h>
#include <net/bluetooth/bluetooth.h>

Go to the source code of this file.

Data Structures

struct  cmtp_connadd_req
 
struct  cmtp_conndel_req
 
struct  cmtp_conninfo
 
struct  cmtp_connlist_req
 
struct  cmtp_session
 
struct  cmtp_application
 
struct  cmtp_scb
 

Macros

#define BTNAMSIZ   18
 
#define CMTPCONNADD   _IOW('C', 200, int)
 
#define CMTPCONNDEL   _IOW('C', 201, int)
 
#define CMTPGETCONNLIST   _IOR('C', 210, int)
 
#define CMTPGETCONNINFO   _IOR('C', 211, int)
 
#define CMTP_LOOPBACK   0
 
#define CMTP_INTEROP_TIMEOUT   (HZ * 5)
 
#define CMTP_INITIAL_MSGNUM   0xff00
 

Functions

int cmtp_add_connection (struct cmtp_connadd_req *req, struct socket *sock)
 
int cmtp_del_connection (struct cmtp_conndel_req *req)
 
int cmtp_get_connlist (struct cmtp_connlist_req *req)
 
int cmtp_get_conninfo (struct cmtp_conninfo *ci)
 
int cmtp_attach_device (struct cmtp_session *session)
 
void cmtp_detach_device (struct cmtp_session *session)
 
void cmtp_recv_capimsg (struct cmtp_session *session, struct sk_buff *skb)
 
int cmtp_init_sockets (void)
 
void cmtp_cleanup_sockets (void)
 

Macro Definition Documentation

#define BTNAMSIZ   18

Definition at line 29 of file cmtp.h.

#define CMTP_INITIAL_MSGNUM   0xff00

Definition at line 68 of file cmtp.h.

#define CMTP_INTEROP_TIMEOUT   (HZ * 5)

Definition at line 67 of file cmtp.h.

#define CMTP_LOOPBACK   0

Definition at line 37 of file cmtp.h.

#define CMTPCONNADD   _IOW('C', 200, int)

Definition at line 32 of file cmtp.h.

#define CMTPCONNDEL   _IOW('C', 201, int)

Definition at line 33 of file cmtp.h.

#define CMTPGETCONNINFO   _IOR('C', 211, int)

Definition at line 35 of file cmtp.h.

#define CMTPGETCONNLIST   _IOR('C', 210, int)

Definition at line 34 of file cmtp.h.

Function Documentation

int cmtp_add_connection ( struct cmtp_connadd_req req,
struct socket sock 
)

Definition at line 330 of file core.c.

int cmtp_attach_device ( struct cmtp_session session)

Definition at line 553 of file capi.c.

void cmtp_cleanup_sockets ( void  )

Definition at line 264 of file sock.c.

int cmtp_del_connection ( struct cmtp_conndel_req req)

Definition at line 407 of file core.c.

void cmtp_detach_device ( struct cmtp_session session)

Definition at line 619 of file capi.c.

int cmtp_get_conninfo ( struct cmtp_conninfo ci)

Definition at line 461 of file core.c.

int cmtp_get_connlist ( struct cmtp_connlist_req req)

Definition at line 431 of file core.c.

int cmtp_init_sockets ( void  )

Definition at line 234 of file sock.c.

void cmtp_recv_capimsg ( struct cmtp_session session,
struct sk_buff skb 
)

Definition at line 325 of file capi.c.