Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
isocdata.c File Reference
#include "gigaset.h"
#include <linux/crc-ccitt.h>
#include <linux/bitrev.h>

Go to the source code of this file.

Functions

void gigaset_isowbuf_init (struct isowbuf_t *iwb, unsigned char idle)
 
int gigaset_isowbuf_getbytes (struct isowbuf_t *iwb, int size)
 
int gigaset_isoc_buildframe (struct bc_state *bcs, unsigned char *in, int len)
 
void gigaset_isoc_receive (unsigned char *src, unsigned count, struct bc_state *bcs)
 
void gigaset_isoc_input (struct inbuf_t *inbuf)
 
int gigaset_isoc_send_skb (struct bc_state *bcs, struct sk_buff *skb)
 

Function Documentation

int gigaset_isoc_buildframe ( struct bc_state bcs,
unsigned char in,
int  len 
)

Definition at line 480 of file isocdata.c.

void gigaset_isoc_input ( struct inbuf_t inbuf)

Definition at line 941 of file isocdata.c.

void gigaset_isoc_receive ( unsigned char src,
unsigned  count,
struct bc_state bcs 
)

Definition at line 874 of file isocdata.c.

int gigaset_isoc_send_skb ( struct bc_state bcs,
struct sk_buff skb 
)

gigaset_isoc_send_skb() - queue an skb for sending : B channel descriptor structure. : data to send.

Called by LL to queue an skb for sending, and start transmission if necessary. Once the payload data has been transmitted completely, gigaset_skb_sent() will be called with the skb's link layer header preserved.

Return value: number of bytes accepted for sending (skb->len) if ok, error code < 0 (eg. -ENODEV) on error

Definition at line 989 of file isocdata.c.

int gigaset_isowbuf_getbytes ( struct isowbuf_t iwb,
int  size 
)

Definition at line 134 of file isocdata.c.

void gigaset_isowbuf_init ( struct isowbuf_t iwb,
unsigned char  idle 
)

Definition at line 24 of file isocdata.c.