include upstream ip1000a driver version 2.09f
[linux-2.4.git] / net / atm / signaling.h
1 /* net/atm/signaling.h - ATM signaling */
2  
3 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
4  
5
6 #ifndef NET_ATM_SIGNALING_H
7 #define NET_ATM_SIGNALING_H
8
9 #include <linux/atm.h>
10 #include <linux/atmdev.h>
11 #include <linux/atmsvc.h>
12
13
14 #define WAITING 1 /* for reply: 0: no error, < 0: error, ... */
15
16
17 extern struct atm_vcc *sigd; /* needed in svc_release */
18
19
20 /*
21  * sigd_enq is a wrapper for sigd_enq2, covering the more common cases, and
22  * avoiding huge lists of null values.
23  */
24
25 void sigd_enq2(struct atm_vcc *vcc,enum atmsvc_msg_type type,
26     struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
27     const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
28 void sigd_enq(struct atm_vcc *vcc,enum atmsvc_msg_type type,
29     struct atm_vcc *listen_vcc,const struct sockaddr_atmpvc *pvc,
30     const struct sockaddr_atmsvc *svc);
31 int sigd_attach(struct atm_vcc *vcc);
32
33 #endif