patch-2.1.126 linux/drivers/net/syncppp.h

Next file: linux/drivers/net/via-rhine.c
Previous file: linux/drivers/net/syncppp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.125/linux/drivers/net/syncppp.h linux/drivers/net/syncppp.h
@@ -20,6 +20,7 @@
 #ifndef _SYNCPPP_H_
 #define _SYNCPPP_H_ 1
 
+#ifdef __KERNEL__
 struct slcp {
 	u16	state;          /* state machine */
 	u32	magic;          /* local magic number */
@@ -71,7 +72,6 @@
 #define IPCP_STATE_ACK_SENT     2       /* IPCP state: conf-ack sent */
 #define IPCP_STATE_OPENED       3       /* IPCP state: opened */
 
-#ifdef __KERNEL__
 void sppp_attach (struct ppp_device *pd);
 void sppp_detach (struct device *dev);
 void sppp_input (struct device *dev, struct sk_buff *m);
@@ -85,5 +85,6 @@
 
 #define SPPPIOCCISCO	(SIOCDEVPRIVATE)
 #define SPPPIOCPPP	(SIOCDEVPRIVATE+1)
+#define SPPPIOCDEBUG	(SIOCDEVPRIVATE+2)
 
 #endif /* _SYNCPPP_H_ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov