#ifndef _LAPB_H
#define _LAPB_H
#include <linux/lapb.h>
#include <linux/refcount.h>
#define LAPB_HEADER_LEN …
#define LAPB_ACK_PENDING_CONDITION …
#define LAPB_REJECT_CONDITION …
#define LAPB_PEER_RX_BUSY_CONDITION …
#define LAPB_I …
#define LAPB_S …
#define LAPB_U …
#define LAPB_RR …
#define LAPB_RNR …
#define LAPB_REJ …
#define LAPB_SABM …
#define LAPB_SABME …
#define LAPB_DISC …
#define LAPB_DM …
#define LAPB_UA …
#define LAPB_FRMR …
#define LAPB_ILLEGAL …
#define LAPB_SPF …
#define LAPB_EPF …
#define LAPB_FRMR_W …
#define LAPB_FRMR_X …
#define LAPB_FRMR_Y …
#define LAPB_FRMR_Z …
#define LAPB_POLLOFF …
#define LAPB_POLLON …
#define LAPB_COMMAND …
#define LAPB_RESPONSE …
#define LAPB_ADDR_A …
#define LAPB_ADDR_B …
#define LAPB_ADDR_C …
#define LAPB_ADDR_D …
enum { … };
#define LAPB_DEFAULT_MODE …
#define LAPB_DEFAULT_WINDOW …
#define LAPB_DEFAULT_T1 …
#define LAPB_DEFAULT_T2 …
#define LAPB_DEFAULT_N2 …
#define LAPB_SMODULUS …
#define LAPB_EMODULUS …
struct lapb_frame { … };
struct lapb_cb { … };
void lapb_connect_confirmation(struct lapb_cb *lapb, int);
void lapb_connect_indication(struct lapb_cb *lapb, int);
void lapb_disconnect_confirmation(struct lapb_cb *lapb, int);
void lapb_disconnect_indication(struct lapb_cb *lapb, int);
int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *);
int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *);
void lapb_data_input(struct lapb_cb *lapb, struct sk_buff *);
void lapb_kick(struct lapb_cb *lapb);
void lapb_transmit_buffer(struct lapb_cb *lapb, struct sk_buff *, int);
void lapb_establish_data_link(struct lapb_cb *lapb);
void lapb_enquiry_response(struct lapb_cb *lapb);
void lapb_timeout_response(struct lapb_cb *lapb);
void lapb_check_iframes_acked(struct lapb_cb *lapb, unsigned short);
void lapb_check_need_response(struct lapb_cb *lapb, int, int);
void lapb_clear_queues(struct lapb_cb *lapb);
void lapb_frames_acked(struct lapb_cb *lapb, unsigned short);
void lapb_requeue_frames(struct lapb_cb *lapb);
int lapb_validate_nr(struct lapb_cb *lapb, unsigned short);
int lapb_decode(struct lapb_cb *lapb, struct sk_buff *, struct lapb_frame *);
void lapb_send_control(struct lapb_cb *lapb, int, int, int);
void lapb_transmit_frmr(struct lapb_cb *lapb);
void lapb_start_t1timer(struct lapb_cb *lapb);
void lapb_start_t2timer(struct lapb_cb *lapb);
void lapb_stop_t1timer(struct lapb_cb *lapb);
void lapb_stop_t2timer(struct lapb_cb *lapb);
int lapb_t1timer_running(struct lapb_cb *lapb);
#define LAPB_DEBUG …
#define lapb_dbg(level, fmt, ...) …
#endif