aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/isdnl3.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/isdn/hisax/isdnl3.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/isdn/hisax/isdnl3.h')
-rw-r--r--drivers/isdn/hisax/isdnl3.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/isdn/hisax/isdnl3.h b/drivers/isdn/hisax/isdnl3.h
new file mode 100644
index 000000000000..1dbe0297a506
--- /dev/null
+++ b/drivers/isdn/hisax/isdnl3.h
@@ -0,0 +1,37 @@
1/* $Id: isdnl3.h,v 2.6.6.2 2001/09/23 22:24:49 kai Exp $
2 *
3 * This software may be used and distributed according to the terms
4 * of the GNU General Public License, incorporated herein by reference.
5 *
6 */
7
8#define SBIT(state) (1<<state)
9#define ALL_STATES 0x03ffffff
10
11#define PROTO_DIS_EURO 0x08
12
13#define L3_DEB_WARN 0x01
14#define L3_DEB_PROTERR 0x02
15#define L3_DEB_STATE 0x04
16#define L3_DEB_CHARGE 0x08
17#define L3_DEB_CHECK 0x10
18#define L3_DEB_SI 0x20
19
20struct stateentry {
21 int state;
22 int primitive;
23 void (*rout) (struct l3_process *, u8, void *);
24};
25
26#define l3_debug(st, fmt, args...) HiSax_putstatus(st->l1.hardware, "l3 ", fmt, ## args)
27
28extern void newl3state(struct l3_process *pc, int state);
29extern void L3InitTimer(struct l3_process *pc, struct L3Timer *t);
30extern void L3DelTimer(struct L3Timer *t);
31extern int L3AddTimer(struct L3Timer *t, int millisec, int event);
32extern void StopAllL3Timer(struct l3_process *pc);
33extern struct sk_buff *l3_alloc_skb(int len);
34extern struct l3_process *new_l3_process(struct PStack *st, int cr);
35extern void release_l3_process(struct l3_process *p);
36extern struct l3_process *getl3proc(struct PStack *st, int cr);
37extern void l3_msg(struct PStack *st, int pr, void *arg);