linux/drivers/isdn/i4l/isdn_ppp.h
<<
>>
Prefs
   1/* $Id: isdn_ppp.h,v 1.1.2.2 2004/01/12 22:37:19 keil 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 software may be used and distributed according to the terms
   8 * of the GNU General Public License, incorporated herein by reference.
   9 *
  10 */
  11
  12#include <linux/ppp_defs.h>     /* for PPP_PROTOCOL */
  13#include <linux/isdn_ppp.h>     /* for isdn_ppp info */
  14
  15extern int isdn_ppp_read(int, struct file *, char __user *, int);
  16extern int isdn_ppp_write(int, struct file *, const char __user *, int);
  17extern int isdn_ppp_open(int, struct file *);
  18extern int isdn_ppp_init(void);
  19extern void isdn_ppp_cleanup(void);
  20extern int isdn_ppp_free(isdn_net_local *);
  21extern int isdn_ppp_bind(isdn_net_local *);
  22extern int isdn_ppp_autodial_filter(struct sk_buff *, isdn_net_local *);
  23extern int isdn_ppp_xmit(struct sk_buff *, struct net_device *);
  24extern void isdn_ppp_receive(isdn_net_dev *, isdn_net_local *, struct sk_buff *);
  25extern int isdn_ppp_dev_ioctl(struct net_device *, struct ifreq *, int);
  26extern unsigned int isdn_ppp_poll(struct file *, struct poll_table_struct *);
  27extern int isdn_ppp_ioctl(int, struct file *, unsigned int, unsigned long);
  28extern void isdn_ppp_release(int, struct file *);
  29extern int isdn_ppp_dial_slave(char *);
  30extern void isdn_ppp_wakeup_daemon(isdn_net_local *);
  31
  32extern int isdn_ppp_register_compressor(struct isdn_ppp_compressor *ipc);
  33extern int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc);
  34
  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
  40
  41#define IPPP_MAX_HEADER 10
  42