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

Go to the source code of this file.

Data Structures

struct  slip
 

Macros

#define SL_MODE_DEFAULT   SL_MODE_SLIP
 
#define SL_NRUNIT
 
#define SL_MTU   296 /* 296; I am used to 600- FvK */
 
#define END   0300 /* indicates end of frame */
 
#define ESC   0333 /* indicates byte stuffing */
 
#define ESC_END   0334 /* ESC ESC_END means END 'data' */
 
#define ESC_ESC   0335 /* ESC ESC_ESC means ESC 'data' */
 
#define SLF_INUSE   0 /* Channel in use */
 
#define SLF_ESCAPE   1 /* ESC received */
 
#define SLF_ERROR   2 /* Parity, etc. error */
 
#define SLF_KEEPTEST   3 /* Keepalive test flag */
 
#define SLF_OUTWAIT   4 /* is outpacket was flag */
 
#define SL_MODE_SLIP   0
 
#define SL_MODE_CSLIP   1
 
#define SL_MODE_SLIP6   2 /* Matt Dillon's printable slip */
 
#define SL_MODE_CSLIP6   (SL_MODE_SLIP6|SL_MODE_CSLIP)
 
#define SL_MODE_AX25   4
 
#define SL_MODE_ADAPTIVE   8
 
#define SLIP_MAGIC   0x5302
 

Macro Definition Documentation

#define END   0300 /* indicates end of frame */

Definition at line 41 of file slip.h.

#define ESC   0333 /* indicates byte stuffing */

Definition at line 42 of file slip.h.

#define ESC_END   0334 /* ESC ESC_END means END 'data' */

Definition at line 43 of file slip.h.

#define ESC_ESC   0335 /* ESC ESC_ESC means ESC 'data' */

Definition at line 44 of file slip.h.

#define SL_MODE_ADAPTIVE   8

Definition at line 88 of file slip.h.

#define SL_MODE_AX25   4

Definition at line 87 of file slip.h.

#define SL_MODE_CSLIP   1

Definition at line 84 of file slip.h.

#define SL_MODE_CSLIP6   (SL_MODE_SLIP6|SL_MODE_CSLIP)

Definition at line 86 of file slip.h.

#define SL_MODE_DEFAULT   SL_MODE_SLIP

Definition at line 33 of file slip.h.

#define SL_MODE_SLIP   0

Definition at line 83 of file slip.h.

#define SL_MODE_SLIP6   2 /* Matt Dillon's printable slip */

Definition at line 85 of file slip.h.

#define SL_MTU   296 /* 296; I am used to 600- FvK */

Definition at line 38 of file slip.h.

#define SL_NRUNIT
Value:
256 /* MAX number of SLIP channels;
This can be overridden with
insmod -oslip_maxdev=nnn */

Definition at line 37 of file slip.h.

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

Definition at line 76 of file slip.h.

#define SLF_ESCAPE   1 /* ESC received */

Definition at line 75 of file slip.h.

#define SLF_INUSE   0 /* Channel in use */

Definition at line 74 of file slip.h.

#define SLF_KEEPTEST   3 /* Keepalive test flag */

Definition at line 77 of file slip.h.

#define SLF_OUTWAIT   4 /* is outpacket was flag */

Definition at line 78 of file slip.h.

#define SLIP_MAGIC   0x5302

Definition at line 97 of file slip.h.