i2c-viapro: Add support for the VT8237A and VT8251
[linux/fpc-iii.git] / drivers / isdn / i4l / isdn_ppp.h
blob8cc05c7ccf78adc0e197d17523a91f8cc1eb7dc3
1 /* $Id: isdn_ppp.h,v 1.1.2.2 2004/01/12 22:37:19 keil Exp $
3 * header for Linux ISDN subsystem, functions for synchronous PPP (linklevel).
5 * Copyright 1995,96 by Michael Hipp (Michael.Hipp@student.uni-tuebingen.de)
7 * This software may be used and distributed according to the terms
8 * of the GNU General Public License, incorporated herein by reference.
12 #include <linux/ppp_defs.h> /* for PPP_PROTOCOL */
13 #include <linux/isdn_ppp.h> /* for isdn_ppp info */
15 extern int isdn_ppp_read(int, struct file *, char __user *, int);
16 extern int isdn_ppp_write(int, struct file *, const char __user *, int);
17 extern int isdn_ppp_open(int, struct file *);
18 extern int isdn_ppp_init(void);
19 extern void isdn_ppp_cleanup(void);
20 extern int isdn_ppp_free(isdn_net_local *);
21 extern int isdn_ppp_bind(isdn_net_local *);
22 extern int isdn_ppp_autodial_filter(struct sk_buff *, isdn_net_local *);
23 extern int isdn_ppp_xmit(struct sk_buff *, struct net_device *);
24 extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *);
25 extern int isdn_ppp_dev_ioctl(struct net_device *, struct ifreq *, int);
26 extern unsigned int isdn_ppp_poll(struct file *, struct poll_table_struct *);
27 extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long);
28 extern void isdn_ppp_release(int, struct file *);
29 extern int isdn_ppp_dial_slave(char *);
30 extern void isdn_ppp_wakeup_daemon(isdn_net_local *);
32 extern int isdn_ppp_register_compressor(struct isdn_ppp_compressor *ipc);
33 extern int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc);
35 #define IPPP_OPEN 0x01
36 #define IPPP_CONNECT 0x02
37 #define IPPP_CLOSEWAIT 0x04
38 #define IPPP_NOBLOCK 0x08
39 #define IPPP_ASSIGNED 0x10
41 #define IPPP_MAX_HEADER 10