OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [hisax/] [isdnl3.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/* $Id: isdnl3.h,v 1.1 2005-12-20 10:17:01 jcastillo Exp $
2
 
3
 * $Log: not supported by cvs2svn $
4
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
5
 * Initial import
6
 *
7
 * Revision 1.1.1.1  2001/07/02 17:58:32  simons
8
 * Initial revision
9
 *
10
 * Revision 1.3.2.3  1998/11/03 00:07:08  keil
11
 * certification related changes
12
 * fixed logging for smaller stack use
13
 *
14
 * Revision 1.3.2.2  1998/05/27 18:06:02  keil
15
 * HiSax 3.0
16
 *
17
 * Revision 1.3.2.1  1997/10/17 22:14:08  keil
18
 * update to last hisax version
19
 *
20
 * Revision 2.0  1997/07/27 21:15:42  keil
21
 * New Callref based layer3
22
 *
23
 * Revision 1.4  1997/06/26 11:20:57  keil
24
 * ?
25
 *
26
 * Revision 1.3  1997/04/06 22:54:17  keil
27
 * Using SKB's
28
 *
29
 * Revision 1.2  1997/01/21 22:31:28  keil
30
 * new statemachine; L3 timers
31
 *
32
 * Revision 1.1  1996/10/13 20:03:47  keil
33
 * Initial revision
34
 *
35
 *
36
 */
37
 
38
#define SBIT(state) (1<<state)
39
#define ALL_STATES  0x00ffffff
40
 
41
#define PROTO_DIS_EURO  0x08
42
 
43
#define L3_DEB_WARN     0x01
44
#define L3_DEB_PROTERR  0x02
45
#define L3_DEB_STATE    0x04
46
#define L3_DEB_CHARGE   0x08
47
 
48
struct stateentry {
49
        int state;
50
        int primitive;
51
        void (*rout) (struct l3_process *, u_char, void *);
52
};
53
 
54
#define l3_debug(st, fmt, args...) HiSax_putstatus(st->l1.hardware, "l3 ", fmt, ## args)
55
 
56
extern void newl3state(struct l3_process *pc, int state);
57
extern void L3InitTimer(struct l3_process *pc, struct L3Timer *t);
58
extern void L3DelTimer(struct L3Timer *t);
59
extern int L3AddTimer(struct L3Timer *t, int millisec, int event);
60
extern void StopAllL3Timer(struct l3_process *pc);
61
extern struct sk_buff *l3_alloc_skb(int len);
62
extern struct l3_process *new_l3_process(struct PStack *st, int cr);
63
extern void release_l3_process(struct l3_process *p);
64
extern struct l3_process *getl3proc(struct PStack *st, int cr);
65
extern void l3_msg(struct PStack *st, int pr, void *arg);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.