X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net%2Fatm%2Fcommon.h;h=a422da7788fbd44852fadba2261c5c5f1cdd1c0e;hb=refs%2Fheads%2Fvserver;hp=fe634abeb457d299e4f1e9d968649d29e642dd97;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/net/atm/common.h b/net/atm/common.h index fe634abeb..a422da778 100644 --- a/net/atm/common.h +++ b/net/atm/common.h @@ -19,20 +19,17 @@ int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t total_len); unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait); int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); -int vcc_setsockopt(struct socket *sock, int level, int optname, char *optval, - int optlen); -int vcc_getsockopt(struct socket *sock, int level, int optname, char *optval, - int *optlen); - -void atm_shutdown_dev(struct atm_dev *dev); - -void pppoatm_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long)); -void br2684_ioctl_set(int (*hook)(struct atm_vcc *, unsigned int, unsigned long)); +int vcc_setsockopt(struct socket *sock, int level, int optname, + char __user *optval, int optlen); +int vcc_getsockopt(struct socket *sock, int level, int optname, + char __user *optval, int __user *optlen); int atmpvc_init(void); void atmpvc_exit(void); int atmsvc_init(void); void atmsvc_exit(void); +int atm_sysfs_init(void); +void atm_sysfs_exit(void); #ifdef CONFIG_PROC_FS int atm_proc_init(void); @@ -50,12 +47,8 @@ static inline void atm_proc_exit(void) #endif /* CONFIG_PROC_FS */ /* SVC */ - -void svc_callback(struct atm_vcc *vcc); int svc_change_qos(struct atm_vcc *vcc,struct atm_qos *qos); -/* p2mp */ - -int create_leaf(struct socket *leaf,struct socket *session); +void atm_dev_release_vccs(struct atm_dev *dev); #endif