1 /* net/atm/common.h - ATM sockets (common part for PVC and SVC) */
2
3 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
4
5
6 #ifndef NET_ATM_COMMON_H
7 #define NET_ATM_COMMON_H
8
9 #include <linux/net.h>
10 #include <linux/poll.h> /* for poll_table */
11
12
13 int atm_create(struct socket *sock,int protocol,int family);
14 int atm_release(struct socket *sock);
15 int atm_connect(struct socket *sock,int itf,short vpi,int vci);
16 int atm_recvmsg(struct socket *sock,struct msghdr *m,int total_len,
17 int flags,struct scm_cookie *scm);
18 int atm_sendmsg(struct socket *sock,struct msghdr *m,int total_len,
19 struct scm_cookie *scm);
20 unsigned int atm_poll(struct file *file,struct socket *sock,poll_table *wait);
21 int atm_ioctl(struct socket *sock,unsigned int cmd,unsigned long arg);
22 int atm_setsockopt(struct socket *sock,int level,int optname,char *optval,
23 int optlen);
24 int atm_getsockopt(struct socket *sock,int level,int optname,char *optval,
25 int *optlen);
26
27 int atm_connect_vcc(struct atm_vcc *vcc,int itf,short vpi,int vci);
28 void atm_release_vcc_sk(struct sock *sk,int free_sk);
29 void atm_shutdown_dev(struct atm_dev *dev);
30
31 int atm_proc_init(void);
32
33 /* SVC */
34
35 void svc_callback(struct atm_vcc *vcc);
36 int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos);
37
38 /* p2mp */
39
40 int create_leaf(struct socket *leaf,struct socket *session);
41
42 #endif
43
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.