patch-2.3.99-pre1 linux/drivers/net/wan/syncppp.h
Next file: linux/drivers/net/wan/z85230.c
Previous file: linux/drivers/net/wan/syncppp.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Mar 13 09:43:37 2000
-  Orig file: 
v2.3.51/linux/drivers/net/wan/syncppp.h
-  Orig date: 
Mon Dec 20 18:48:21 1999
diff -u --recursive --new-file v2.3.51/linux/drivers/net/wan/syncppp.h linux/drivers/net/wan/syncppp.h
@@ -47,6 +47,7 @@
 	u32		ipkts,opkts;	/* Packets in/out */
 	struct timer_list	pp_timer;
 	struct net_device	*pp_if;
+	char		pp_link_state;	/* Link status */
 };
 
 struct ppp_device
@@ -74,6 +75,9 @@
 #define IPCP_STATE_ACK_RCVD     1       /* IPCP state: conf-ack received */
 #define IPCP_STATE_ACK_SENT     2       /* IPCP state: conf-ack sent */
 #define IPCP_STATE_OPENED       3       /* IPCP state: opened */
+
+#define SPPP_LINK_DOWN		0	/* link down - no keepalive */
+#define SPPP_LINK_UP		1	/* link is up - keepalive ok */
 
 void sppp_attach (struct ppp_device *pd);
 void sppp_detach (struct net_device *dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)