Nut/OS  5.0.5
API Reference
ahdlc.h File Reference

Asynchronous HDLC device definitions. More...

#include <dev/netbuf.h>
#include <net/if_var.h>
Include dependency graph for ahdlc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _AHDLCDCB
 Asynchronous HDLC device information structure. More...

Defines

#define AHDLC_ALLSTATIONS   0xff
 All-Stations broadcast address.
#define AHDLC_UI   0x03
 Unnumbered Information.
#define AHDLC_FLAG   0x7e
 Flag Sequence.
#define AHDLC_ESCAPE   0x7d
 Asynchronous Control Escape.
#define AHDLC_TRANS   0x20
 Asynchronous transparency modifier.
#define AHDLC_INITFCS   0xffff
 Initial FCS value.
#define AHDLC_GOODFCS   0xf0b8
 Good final FCS value.

Typedefs

typedef struct _AHDLCDCB AHDLCDCB
 Asynchronous HDLC device information type.

Detailed Description

Asynchronous HDLC device definitions.


Define Documentation

#define AHDLC_ALLSTATIONS   0xff

All-Stations broadcast address.

Referenced by NutDumpPpp(), NutPppInput(), and NutPppOutput().

#define AHDLC_UI   0x03

Unnumbered Information.

Referenced by NutPppOutput().

#define AHDLC_FLAG   0x7e

Flag Sequence.

Referenced by AhdlcOutput(), and AhdlcRx().

#define AHDLC_ESCAPE   0x7d

Asynchronous Control Escape.

Referenced by AhdlcRx().

#define AHDLC_TRANS   0x20

Asynchronous transparency modifier.

Referenced by AhdlcRx().

#define AHDLC_INITFCS   0xffff

Initial FCS value.

Referenced by AhdlcOutput(), and AhdlcRx().

#define AHDLC_GOODFCS   0xf0b8

Good final FCS value.

Referenced by AhdlcRx().


Typedef Documentation

typedef struct _AHDLCDCB AHDLCDCB

Asynchronous HDLC device information type.