patch-2.3.14 linux/drivers/net/syncppp.h
Next file: linux/drivers/net/tlan.c
Previous file: linux/drivers/net/syncppp.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
Wed Aug 18 11:36:45 1999
- Orig file:
v2.3.13/linux/drivers/net/syncppp.h
- Orig date:
Sat Feb 6 12:46:21 1999
diff -u --recursive --new-file v2.3.13/linux/drivers/net/syncppp.h linux/drivers/net/syncppp.h
@@ -46,12 +46,12 @@
u32 ibytes,obytes; /* Bytes in/out */
u32 ipkts,opkts; /* Packets in/out */
struct timer_list pp_timer;
- struct device *pp_if;
+ struct net_device *pp_if;
};
struct ppp_device
{
- struct device dev; /* Network device */
+ struct net_device dev; /* Network device */
struct sppp sppp; /* Synchronous PPP */
};
@@ -73,15 +73,15 @@
#define IPCP_STATE_OPENED 3 /* IPCP state: opened */
void sppp_attach (struct ppp_device *pd);
-void sppp_detach (struct device *dev);
-void sppp_input (struct device *dev, struct sk_buff *m);
-int sppp_do_ioctl (struct device *dev, struct ifreq *ifr, int cmd);
-struct sk_buff *sppp_dequeue (struct device *dev);
-int sppp_isempty (struct device *dev);
-void sppp_flush (struct device *dev);
-int sppp_open (struct device *dev);
-int sppp_reopen (struct device *dev);
-int sppp_close (struct device *dev);
+void sppp_detach (struct net_device *dev);
+void sppp_input (struct net_device *dev, struct sk_buff *m);
+int sppp_do_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd);
+struct sk_buff *sppp_dequeue (struct net_device *dev);
+int sppp_isempty (struct net_device *dev);
+void sppp_flush (struct net_device *dev);
+int sppp_open (struct net_device *dev);
+int sppp_reopen (struct net_device *dev);
+int sppp_close (struct net_device *dev);
#endif
#define SPPPIOCCISCO (SIOCDEVPRIVATE)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)