Linux Kernel
3.7.1
|
#include <linux/lapb.h>
Go to the source code of this file.
Data Structures | |
struct | lapb_frame |
struct | lapb_cb |
Macros | |
#define | LAPB_HEADER_LEN 20 /* LAPB over Ethernet + a bit more */ |
#define | LAPB_ACK_PENDING_CONDITION 0x01 |
#define | LAPB_REJECT_CONDITION 0x02 |
#define | LAPB_PEER_RX_BUSY_CONDITION 0x04 |
#define | LAPB_I 0x00 /* Information frames */ |
#define | LAPB_S 0x01 /* Supervisory frames */ |
#define | LAPB_U 0x03 /* Unnumbered frames */ |
#define | LAPB_RR 0x01 /* Receiver ready */ |
#define | LAPB_RNR 0x05 /* Receiver not ready */ |
#define | LAPB_REJ 0x09 /* Reject */ |
#define | LAPB_SABM 0x2F /* Set Asynchronous Balanced Mode */ |
#define | LAPB_SABME 0x6F /* Set Asynchronous Balanced Mode Extended */ |
#define | LAPB_DISC 0x43 /* Disconnect */ |
#define | LAPB_DM 0x0F /* Disconnected mode */ |
#define | LAPB_UA 0x63 /* Unnumbered acknowledge */ |
#define | LAPB_FRMR 0x87 /* Frame reject */ |
#define | LAPB_ILLEGAL 0x100 /* Impossible to be a real frame type */ |
#define | LAPB_SPF 0x10 /* Poll/final bit for standard LAPB */ |
#define | LAPB_EPF 0x01 /* Poll/final bit for extended LAPB */ |
#define | LAPB_FRMR_W 0x01 /* Control field invalid */ |
#define | LAPB_FRMR_X 0x02 /* I field invalid */ |
#define | LAPB_FRMR_Y 0x04 /* I field too long */ |
#define | LAPB_FRMR_Z 0x08 /* Invalid N(R) */ |
#define | LAPB_POLLOFF 0 |
#define | LAPB_POLLON 1 |
#define | LAPB_COMMAND 1 |
#define | LAPB_RESPONSE 2 |
#define | LAPB_ADDR_A 0x03 |
#define | LAPB_ADDR_B 0x01 |
#define | LAPB_ADDR_C 0x0F |
#define | LAPB_ADDR_D 0x07 |
#define | LAPB_DEFAULT_MODE (LAPB_STANDARD | LAPB_SLP | LAPB_DTE) |
#define | LAPB_DEFAULT_WINDOW 7 /* Window=7 */ |
#define | LAPB_DEFAULT_T1 (5 * HZ) /* T1=5s */ |
#define | LAPB_DEFAULT_T2 (1 * HZ) /* T2=1s */ |
#define | LAPB_DEFAULT_N2 20 /* N2=20 */ |
#define | LAPB_SMODULUS 8 |
#define | LAPB_EMODULUS 128 |
#define | LAPB_DEBUG 0 |
#define | lapb_dbg(level, fmt,...) |
Enumerations | |
enum | { LAPB_STATE_0, LAPB_STATE_1, LAPB_STATE_2, LAPB_STATE_3, LAPB_STATE_4 } |
#define LAPB_DEFAULT_MODE (LAPB_STANDARD | LAPB_SLP | LAPB_DTE) |
#define LAPB_ILLEGAL 0x100 /* Impossible to be a real frame type */ |
#define LAPB_SABME 0x6F /* Set Asynchronous Balanced Mode Extended */ |
anonymous enum |
Definition at line 195 of file lapb_out.c.
Definition at line 207 of file lapb_out.c.
Definition at line 40 of file lapb_subr.c.
Definition at line 373 of file lapb_iface.c.
Definition at line 379 of file lapb_iface.c.
Definition at line 397 of file lapb_iface.c.
Definition at line 406 of file lapb_iface.c.
Definition at line 111 of file lapb_subr.c.
Definition at line 385 of file lapb_iface.c.
Definition at line 391 of file lapb_iface.c.
Definition at line 176 of file lapb_out.c.
Definition at line 159 of file lapb_out.c.
Definition at line 51 of file lapb_subr.c.
Definition at line 71 of file lapb_out.c.
Definition at line 69 of file lapb_subr.c.
Definition at line 228 of file lapb_subr.c.
Definition at line 41 of file lapb_timer.c.
Definition at line 52 of file lapb_timer.c.
Definition at line 63 of file lapb_timer.c.
Definition at line 68 of file lapb_timer.c.
Definition at line 73 of file lapb_timer.c.
Definition at line 186 of file lapb_out.c.
Definition at line 119 of file lapb_out.c.
Definition at line 265 of file lapb_subr.c.
Definition at line 91 of file lapb_subr.c.