Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/fcntl.h>
#include <linux/skbuff.h>
#include <linux/socket.h>
#include <linux/ioctl.h>
#include <linux/file.h>
#include <linux/wait.h>
#include <linux/kthread.h>
#include <net/sock.h>
#include <linux/isdn/capilli.h>
#include <linux/isdn/capicmd.h>
#include <linux/isdn/capiutil.h>
#include "cmtp.h"
Go to the source code of this file.
Macros | |
#define | CAPI_INTEROPERABILITY 0x20 |
#define | CAPI_INTEROPERABILITY_REQ CAPICMD(CAPI_INTEROPERABILITY, CAPI_REQ) |
#define | CAPI_INTEROPERABILITY_CONF CAPICMD(CAPI_INTEROPERABILITY, CAPI_CONF) |
#define | CAPI_INTEROPERABILITY_IND CAPICMD(CAPI_INTEROPERABILITY, CAPI_IND) |
#define | CAPI_INTEROPERABILITY_RESP CAPICMD(CAPI_INTEROPERABILITY, CAPI_RESP) |
#define | CAPI_INTEROPERABILITY_REQ_LEN (CAPI_MSG_BASELEN + 2) |
#define | CAPI_INTEROPERABILITY_CONF_LEN (CAPI_MSG_BASELEN + 4) |
#define | CAPI_INTEROPERABILITY_IND_LEN (CAPI_MSG_BASELEN + 2) |
#define | CAPI_INTEROPERABILITY_RESP_LEN (CAPI_MSG_BASELEN + 2) |
#define | CAPI_FUNCTION_REGISTER 0 |
#define | CAPI_FUNCTION_RELEASE 1 |
#define | CAPI_FUNCTION_GET_PROFILE 2 |
#define | CAPI_FUNCTION_GET_MANUFACTURER 3 |
#define | CAPI_FUNCTION_GET_VERSION 4 |
#define | CAPI_FUNCTION_GET_SERIAL_NUMBER 5 |
#define | CAPI_FUNCTION_MANUFACTURER 6 |
#define | CAPI_FUNCTION_LOOPBACK 7 |
#define | CMTP_MSGNUM 1 |
#define | CMTP_APPLID 2 |
#define | CMTP_MAPPING 3 |
Functions | |
void | cmtp_recv_capimsg (struct cmtp_session *session, struct sk_buff *skb) |
int | cmtp_attach_device (struct cmtp_session *session) |
void | cmtp_detach_device (struct cmtp_session *session) |
#define CAPI_INTEROPERABILITY_CONF CAPICMD(CAPI_INTEROPERABILITY, CAPI_CONF) |
#define CAPI_INTEROPERABILITY_CONF_LEN (CAPI_MSG_BASELEN + 4) |
#define CAPI_INTEROPERABILITY_IND CAPICMD(CAPI_INTEROPERABILITY, CAPI_IND) |
#define CAPI_INTEROPERABILITY_IND_LEN (CAPI_MSG_BASELEN + 2) |
#define CAPI_INTEROPERABILITY_REQ CAPICMD(CAPI_INTEROPERABILITY, CAPI_REQ) |
#define CAPI_INTEROPERABILITY_REQ_LEN (CAPI_MSG_BASELEN + 2) |
#define CAPI_INTEROPERABILITY_RESP CAPICMD(CAPI_INTEROPERABILITY, CAPI_RESP) |
#define CAPI_INTEROPERABILITY_RESP_LEN (CAPI_MSG_BASELEN + 2) |
int cmtp_attach_device | ( | struct cmtp_session * | session | ) |
void cmtp_detach_device | ( | struct cmtp_session * | session | ) |