patch-2.1.27 linux/drivers/isdn/isdn_ppp.h
Next file: linux/drivers/isdn/isdn_syms.c
Previous file: linux/drivers/isdn/isdn_ppp.c
Back to the patch index
Back to the overall index
- Lines: 86
- Date:
Tue Feb 25 17:12:50 1997
- Orig file:
v2.1.26/linux/drivers/isdn/isdn_ppp.h
- Orig date:
Sat Aug 31 09:13:03 1996
diff -u --recursive --new-file v2.1.26/linux/drivers/isdn/isdn_ppp.h linux/drivers/isdn/isdn_ppp.h
@@ -1,9 +1,9 @@
-/* $Id: isdn_ppp.h,v 1.4 1996/05/06 11:34:56 hipp Exp $
- *
+/* $Id: isdn_ppp.h,v 1.9 1997/02/11 18:32:59 fritz Exp $
+
* header for Linux ISDN subsystem, functions for synchronous PPP (linklevel).
*
* Copyright 1995,96 by Michael Hipp (Michael.Hipp@student.uni-tuebingen.de)
- *
+ *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
@@ -16,9 +16,26 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log: isdn_ppp.h,v $
+ * Revision 1.9 1997/02/11 18:32:59 fritz
+ * Bugfix in isdn_ppp_free_mpqueue().
+ *
+ * Revision 1.8 1997/02/10 10:11:33 fritz
+ * More changes for Kernel 2.1.X compatibility.
+ *
+ * Revision 1.7 1997/02/03 23:18:57 fritz
+ * Removed isdn_ppp_free_sqqueue prototype
+ * and ippp_table (both static in isdn_ppp.c).
+ *
+ * Revision 1.6 1996/09/23 01:58:11 fritz
+ * Fix: With syncPPP encapsulation, discard LCP packets
+ * when calculating hangup timeout.
+ *
+ * Revision 1.5 1996/09/07 12:51:34 hipp
+ * *** empty log message ***
+ *
* Revision 1.4 1996/05/06 11:34:56 hipp
* fixed a few bugs
*
@@ -34,23 +51,30 @@
*
*/
+#include <linux/ppp_defs.h> /* for PPP_PROTOCOL */
extern void isdn_ppp_timer_timeout(void);
-extern int isdn_ppp_read(int , struct file *, char *, int);
-extern int isdn_ppp_write(int , struct file *, const char *, int);
-extern int isdn_ppp_open(int , struct file *);
-extern int isdn_ppp_init(void);
+extern int isdn_ppp_read(int, struct file *, char *, int);
+extern int isdn_ppp_write(int, struct file *, const char *, int);
+extern int isdn_ppp_open(int, struct file *);
+extern int isdn_ppp_init(void);
extern void isdn_ppp_cleanup(void);
-extern int isdn_ppp_free(isdn_net_local *);
-extern int isdn_ppp_bind(isdn_net_local *);
-extern int isdn_ppp_xmit(struct sk_buff *, struct device *);
+extern int isdn_ppp_free(isdn_net_local *);
+extern int isdn_ppp_bind(isdn_net_local *);
+extern int isdn_ppp_xmit(struct sk_buff *, struct device *);
extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *);
-extern int isdn_ppp_dev_ioctl(struct device *, struct ifreq *, int);
-extern void isdn_ppp_free_mpqueue(isdn_net_dev *);
-extern void isdn_ppp_free_sqqueue(isdn_net_dev *);
-extern int isdn_ppp_select(int, struct file *, int, select_table *);
-extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long);
+extern int isdn_ppp_dev_ioctl(struct device *, struct ifreq *, int);
+#if (LINUX_VERSION_CODE < 0x020117)
+extern int isdn_ppp_select(int, struct file *, int, select_table *);
+#else
+extern unsigned int isdn_ppp_poll(struct file *, poll_table *);
+#endif
+extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long);
extern void isdn_ppp_release(int, struct file *);
-extern int isdn_ppp_dial_slave(char *);
+extern int isdn_ppp_dial_slave(char *);
extern void isdn_ppp_wakeup_daemon(isdn_net_local *);
-extern struct ippp_struct *ippp_table[ISDN_MAX_CHANNELS];
+#define IPPP_OPEN 0x01
+#define IPPP_CONNECT 0x02
+#define IPPP_CLOSEWAIT 0x04
+#define IPPP_NOBLOCK 0x08
+#define IPPP_ASSIGNED 0x10
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov