Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
x25_asy.h File Reference

Go to the source code of this file.

Data Structures

struct  x25_asy
 

Macros

#define SL_NRUNIT
 
#define SL_MTU   256
 
#define X25_END   0x7E /* indicates end of frame */
 
#define X25_ESC   0x7D /* indicates byte stuffing */
 
#define X25_ESCAPE(x)   ((x)^0x20)
 
#define X25_UNESCAPE(x)   ((x)^0x20)
 
#define SLF_INUSE   0 /* Channel in use */
 
#define SLF_ESCAPE   1 /* ESC received */
 
#define SLF_ERROR   2 /* Parity, etc. error */
 
#define SLF_OUTWAIT   4 /* Waiting for output */
 
#define X25_ASY_MAGIC   0x5303
 

Functions

int x25_asy_init (struct net_device *dev)
 

Macro Definition Documentation

#define SL_MTU   256

Definition at line 6 of file x25_asy.h.

#define SL_NRUNIT
Value:
256 /* MAX number of X.25 channels;
This can be overridden with
insmod -ox25_asy_maxdev=nnn */

Definition at line 5 of file x25_asy.h.

#define SLF_ERROR   2 /* Parity, etc. error */

Definition at line 34 of file x25_asy.h.

#define SLF_ESCAPE   1 /* ESC received */

Definition at line 33 of file x25_asy.h.

#define SLF_INUSE   0 /* Channel in use */

Definition at line 32 of file x25_asy.h.

#define SLF_OUTWAIT   4 /* Waiting for output */

Definition at line 35 of file x25_asy.h.

#define X25_ASY_MAGIC   0x5303

Definition at line 40 of file x25_asy.h.

#define X25_END   0x7E /* indicates end of frame */

Definition at line 9 of file x25_asy.h.

#define X25_ESC   0x7D /* indicates byte stuffing */

Definition at line 10 of file x25_asy.h.

#define X25_ESCAPE (   x)    ((x)^0x20)

Definition at line 11 of file x25_asy.h.

#define X25_UNESCAPE (   x)    ((x)^0x20)

Definition at line 12 of file x25_asy.h.

Function Documentation

int x25_asy_init ( struct net_device dev)