patch-1.3.60 linux/drivers/net/ppp.c
Next file: linux/drivers/net/slhc.c
Previous file: linux/drivers/net/net_init.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Wed Feb 7 08:55:37 1996
- Orig file:
v1.3.59/linux/drivers/net/ppp.c
- Orig date:
Mon Dec 11 15:42:03 1995
diff -u --recursive --new-file v1.3.59/linux/drivers/net/ppp.c linux/drivers/net/ppp.c
@@ -126,8 +126,8 @@
#define PPP_LQR 0xc025 /* Link Quality Reporting Protocol */
#endif
-static int ppp_register_compressor (struct compressor *cp);
-static void ppp_unregister_compressor (struct compressor *cp);
+int ppp_register_compressor (struct compressor *cp);
+void ppp_unregister_compressor (struct compressor *cp);
/*
* Local functions
@@ -480,7 +480,8 @@
dev->do_ioctl = ppp_dev_ioctl;
dev->addr_len = 0;
dev->type = ARPHRD_PPP;
-
+ dev->tx_queue_len = 10;
+
for (indx = 0; indx < DEV_NUMBUFFS; indx++)
skb_queue_head_init (&dev->buffs[indx]);
@@ -3465,7 +3466,7 @@
return (struct compressor *) 0;
}
-static int ppp_register_compressor (struct compressor *cp)
+int ppp_register_compressor (struct compressor *cp)
{
struct compressor_link *new;
unsigned long flags;
@@ -3492,7 +3493,7 @@
return 0;
}
-static void ppp_unregister_compressor (struct compressor *cp)
+void ppp_unregister_compressor (struct compressor *cp)
{
struct compressor_link *prev = (struct compressor_link *) 0;
struct compressor_link *lnk;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this