Nut/OS  4.10.3
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.

Definition in file ahdlc.h.


Define Documentation

#define AHDLC_ALLSTATIONS   0xff

All-Stations broadcast address.

Definition at line 64 of file ahdlc.h.

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

#define AHDLC_UI   0x03

Unnumbered Information.

Definition at line 65 of file ahdlc.h.

Referenced by NutPppOutput().

#define AHDLC_FLAG   0x7e

Flag Sequence.

Definition at line 66 of file ahdlc.h.

Referenced by AhdlcOutput(), and AhdlcRx().

#define AHDLC_ESCAPE   0x7d

Asynchronous Control Escape.

Definition at line 67 of file ahdlc.h.

Referenced by AhdlcRx().

#define AHDLC_TRANS   0x20

Asynchronous transparency modifier.

Definition at line 68 of file ahdlc.h.

Referenced by AhdlcRx().

#define AHDLC_INITFCS   0xffff

Initial FCS value.

Definition at line 73 of file ahdlc.h.

Referenced by AhdlcOutput(), and AhdlcRx().

#define AHDLC_GOODFCS   0xf0b8

Good final FCS value.

Definition at line 74 of file ahdlc.h.

Referenced by AhdlcRx().


Typedef Documentation

typedef struct _AHDLCDCB AHDLCDCB

Asynchronous HDLC device information type.

Definition at line 180 of file ahdlc.h.