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

Go to the source code of this file.

Macros

#define BOF   0xc0 /* Beginning of frame */
 
#define XBOF   0xff
 
#define EOF   0xc1 /* End of frame */
 
#define CE   0x7d /* Control escape */
 
#define STA   BOF /* Start flag */
 
#define STO   EOF /* End flag */
 
#define IRDA_TRANS   0x20 /* Asynchronous transparency modifier */
 

Enumerations

enum  { OUTSIDE_FRAME, BEGIN_FRAME, LINK_ESCAPE, INSIDE_FRAME }
 

Functions

int async_wrap_skb (struct sk_buff *skb, __u8 *tx_buff, int buffsize)
 
void async_unwrap_char (struct net_device *dev, struct net_device_stats *stats, iobuff_t *buf, __u8 byte)
 

Macro Definition Documentation

#define BOF   0xc0 /* Beginning of frame */

Definition at line 35 of file wrapper.h.

#define CE   0x7d /* Control escape */

Definition at line 38 of file wrapper.h.

#define EOF   0xc1 /* End of frame */

Definition at line 37 of file wrapper.h.

#define IRDA_TRANS   0x20 /* Asynchronous transparency modifier */

Definition at line 43 of file wrapper.h.

#define STA   BOF /* Start flag */

Definition at line 40 of file wrapper.h.

#define STO   EOF /* End flag */

Definition at line 41 of file wrapper.h.

#define XBOF   0xff

Definition at line 36 of file wrapper.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
OUTSIDE_FRAME 
BEGIN_FRAME 
LINK_ESCAPE 
INSIDE_FRAME 

Definition at line 46 of file wrapper.h.

Function Documentation

void async_unwrap_char ( struct net_device dev,
struct net_device_stats stats,
iobuff_t buf,
__u8  byte 
)

Definition at line 472 of file wrapper.c.

int async_wrap_skb ( struct sk_buff skb,
__u8 tx_buff,
int  buffsize 
)

Definition at line 83 of file wrapper.c.