lkml.org 
[lkml]   [1999]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
SubjectPATCH: pppd daemon.
Hello people, 
some time ago several people at linux-admin mailing list complained that
'make kernel' with pppd daemon (2.2 and higher), would break kernel
compilation. Here I've done some patch, which should be applied to
header files in pppd-2.X.Y/linux/ which probably should fix the mess. (at
least it did that for me). This worked with kernel 2.0.35 (know, old :-)),
and pppd 2.3.4 (the version downloaded from
metalab.unc.edu/pub/Linux/network/serial/ppp/).

--- if_pppvar.h.orig Wed Oct 1 10:32:22 1997
+++ if_pppvar.h Tue Feb 2 17:37:34 1999
@@ -143,6 +143,7 @@

/* Statistic information */
struct pppstat stats; /* statistic information */
+ struct ppp_idle ddinfo; /* demand dial information */

/* PPP compression protocol information */
__u32 sc_bytessent; /* count of octets sent */
@@ -154,6 +155,6 @@
void *sc_rc_state; /* receive decompressor state */
__s32 sc_xfer; /* PID of reserved PPP table */
char name[8];
- struct device dev; /* net device structure */
+ struct device *dev; /* net device structure */
struct enet_statistics estats; /* more detailed stats */
};
--- ppp-comp.h.orig Thu Mar 19 09:56:45 1998
+++ ppp-comp.h Tue Feb 2 17:37:36 1999
@@ -120,6 +120,7 @@
* Don't you just lurve software patents.
*/

+#define DECOMP_OK 0 /* everything went OK */
#define DECOMP_ERROR -1 /* error detected before decomp. */
#define DECOMP_FATALERROR -2 /* error detected after decomp. */
--- if_pppvar.h.orig Wed Oct 1 10:32:22 1997
+++ if_pppvar.h Tue Feb 2 17:37:34 1999
@@ -143,6 +143,7 @@

/* Statistic information */
struct pppstat stats; /* statistic information */
+ struct ppp_idle ddinfo; /* demand dial information */

/* PPP compression protocol information */
__u32 sc_bytessent; /* count of octets sent */
@@ -154,6 +155,6 @@
void *sc_rc_state; /* receive decompressor state */
__s32 sc_xfer; /* PID of reserved PPP table */
char name[8];
- struct device dev; /* net device structure */
+ struct device *dev; /* net device structure */
struct enet_statistics estats; /* more detailed stats */
};
--- ppp-comp.h.orig Thu Mar 19 09:56:45 1998
+++ ppp-comp.h Tue Feb 2 17:37:36 1999
@@ -120,6 +120,7 @@
* Don't you just lurve software patents.
*/

+#define DECOMP_OK 0 /* everything went OK */
#define DECOMP_ERROR -1 /* error detected before decomp. */
#define DECOMP_FATALERROR -2 /* error detected after decomp. */
\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.628 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site