1 /* $Id: isdn_ppp.h,v 1.2 1996/04/20 16:35:11 fritz Exp $ 2 * 3 * header for Linux ISDN subsystem, functions for synchronous PPP (linklevel). 4 * 5 * Copyright 1995,96 by Michael Hipp (Michael.Hipp@student.uni-tuebingen.de) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2, or (at your option) 10 * any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 20 * 21 * $Log: isdn_ppp.h,v $ 22 * Revision 1.2 1996/04/20 16:35:11 fritz 23 * Changed isdn_ppp_receive to use sk_buff as parameter. 24 * Added definition of isdn_ppp_dial_slave and ippp_table. 25 * 26 * Revision 1.1 1996/01/10 21:39:10 fritz 27 * Initial revision 28 * 29 */ 30 31 extern void isdn_ppp_timer_timeout(void); 32 extern int isdn_ppp_read(int , struct file *, char *, int); 33 extern int isdn_ppp_write(int , struct file *, const char *, int); 34 extern int isdn_ppp_open(int , struct file *); 35 extern int isdn_ppp_init(void); 36 extern void isdn_ppp_cleanup(void); 37 extern int isdn_ppp_free(isdn_net_local *); 38 extern int isdn_ppp_bind(isdn_net_local *); 39 extern int isdn_ppp_xmit(struct sk_buff *, struct device *); 40 extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *); 41 extern int isdn_ppp_dev_ioctl(struct device *, struct ifreq *, int); 42 extern void isdn_ppp_free_mpqueue(isdn_net_dev *); 43 extern int isdn_ppp_select(int, struct file *, int, select_table *); 44 extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long); 45 extern void isdn_ppp_release(int, struct file *); 46 extern int isdn_ppp_dial_slave(char *); 47 48 extern struct ippp_struct *ippp_table[ISDN_MAX_CHANNELS];