Linux Kernel
3.7.1
|
#include "gigaset.h"
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/ratelimit.h>
#include <linux/isdn/capilli.h>
#include <linux/isdn/capicmd.h>
#include <linux/isdn/capiutil.h>
#include <linux/export.h>
Go to the source code of this file.
Data Structures | |
struct | gigaset_capi_appl |
struct | gigaset_capi_ctr |
Typedefs | |
typedef void(* | capi_send_handler_t )(struct gigaset_capi_ctr *, struct gigaset_capi_appl *, struct sk_buff *) |
Functions | |
void | gigaset_skb_sent (struct bc_state *bcs, struct sk_buff *dskb) |
EXPORT_SYMBOL_GPL (gigaset_skb_sent) | |
void | gigaset_skb_rcvd (struct bc_state *bcs, struct sk_buff *skb) |
EXPORT_SYMBOL_GPL (gigaset_skb_rcvd) | |
void | gigaset_isdn_rcv_err (struct bc_state *bcs) |
EXPORT_SYMBOL_GPL (gigaset_isdn_rcv_err) | |
int | gigaset_isdn_icall (struct at_state_t *at_state) |
void | gigaset_isdn_connD (struct bc_state *bcs) |
void | gigaset_isdn_hupD (struct bc_state *bcs) |
void | gigaset_isdn_connB (struct bc_state *bcs) |
void | gigaset_isdn_hupB (struct bc_state *bcs) |
void | gigaset_isdn_start (struct cardstate *cs) |
void | gigaset_isdn_stop (struct cardstate *cs) |
int | gigaset_isdn_regdev (struct cardstate *cs, const char *isdnid) |
void | gigaset_isdn_unregdev (struct cardstate *cs) |
void | gigaset_isdn_regdrv (void) |
void | gigaset_isdn_unregdrv (void) |
#define CAPI_CONNECT_ACTIVE_IND_BASELEN (CAPI_MSG_BASELEN + 4 + 3 * 1) |
#define CAPI_CONNECT_B3_ACTIVE_IND_BASELEN (CAPI_MSG_BASELEN + 4 + 1) |
#define CAPI_CONNECT_B3_IND_BASELEN (CAPI_MSG_BASELEN + 4 + 1) |
#define CAPI_CONNECT_IND_BASELEN (CAPI_MSG_BASELEN + 4 + 2 + 8 * 1) |
#define CAPI_DATA_B3_CONF_LEN (CAPI_MSG_BASELEN + 4 + 2 + 2) |
#define CAPI_DATA_B3_REQ_LEN64 (CAPI_MSG_BASELEN + 4 + 4 + 2 + 2 + 2 + 8) |
#define CAPI_DISCONNECT_B3_IND_BASELEN (CAPI_MSG_BASELEN + 4 + 2 + 1) |
#define CAPI_DISCONNECT_IND_LEN (CAPI_MSG_BASELEN + 4 + 2) |
#define CAPI_FACILITY_CONF_BASELEN (CAPI_MSG_BASELEN + 4 + 2 + 2 + 1) |
#define CAPI_STDCONF_LEN (CAPI_MSG_BASELEN + 4 + 2) |
#define CAPIMSG_FLAGS | ( | m | ) | CAPIMSG_U16(m, 20) |
#define CAPIMSG_HANDLE_REQ | ( | m | ) | CAPIMSG_U16(m, 18) /* DATA_B3_REQ/_IND only! */ |
#define CAPIMSG_NCCI_PART | ( | m | ) | CAPIMSG_U16(m, 10) |
#define CAPIMSG_PLCI_PART | ( | m | ) | CAPIMSG_U8(m, 9) |
typedef void(* capi_send_handler_t)(struct gigaset_capi_ctr *, struct gigaset_capi_appl *, struct sk_buff *) |
EXPORT_SYMBOL_GPL | ( | gigaset_skb_sent | ) |
EXPORT_SYMBOL_GPL | ( | gigaset_skb_rcvd | ) |
EXPORT_SYMBOL_GPL | ( | gigaset_isdn_rcv_err | ) |
gigaset_isdn_connB() - signal B channel connect : B channel descriptor structure.
Called by main module at tasklet level to notify the LL that the B channel connection has been established.
gigaset_isdn_connD() - signal D channel connect : B channel descriptor structure.
Called by main module at tasklet level to notify the LL that the D channel connection has been established.
gigaset_isdn_hupB() - signal B channel hangup : B channel descriptor structure.
Called by main module to notify the LL that the B channel connection has been shut down.
gigaset_isdn_hupD() - signal D channel hangup : B channel descriptor structure.
Called by main module at tasklet level to notify the LL that the D channel connection has been shut down.
int gigaset_isdn_icall | ( | struct at_state_t * | at_state | ) |
gigaset_isdn_rcv_err() - signal receive error : B channel descriptor structure.
Called by hardware module {bas,ser,usb}_gigaset when a receive error has occurred, for signalling to the LL.
gigaset_isdn_regdev() - register device to LL : device descriptor structure. : device name.
Return value: 0 on success, error code < 0 on failure
gigaset_isdn_regdrv() - register driver to LL
gigaset_isdn_start() - signal device availability : device descriptor structure.
Called by main module to notify the LL that the device is available for use.
gigaset_isdn_stop() - signal device unavailability : device descriptor structure.
Called by main module to notify the LL that the device is no longer available for use.
gigaset_isdn_unregdev() - unregister device from LL : device descriptor structure.
gigaset_isdn_unregdrv() - unregister driver from LL
gigaset_skb_rcvd() - pass received skb to LL : B channel descriptor structure. : received data.
Called by hardware module {bas,ser,usb}_gigaset when user data has been successfully received, for passing to the LL. Warning: skb must not be accessed anymore!
gigaset_skb_sent() - acknowledge transmission of outgoing skb : B channel descriptor structure. : sent data.
Called by hardware module {bas,ser,usb}_gigaset when the data in a skb has been successfully sent, for signalling completion to the LL.
capi_send_handler_t handler |