]> git.ozlabs.org Git - ppp.git/commitdiff
mods from Christos; net/ -> include/net/
authorPaul Mackerras <paulus@samba.org>
Mon, 4 May 1998 06:09:29 +0000 (06:09 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 4 May 1998 06:09:29 +0000 (06:09 +0000)
netbsd-1.2/bsd-comp.c
netbsd-1.2/if_ppp.c
netbsd-1.2/if_pppvar.h
netbsd-1.2/kinstall.sh
netbsd-1.2/ppp-deflate.c
netbsd-1.2/ppp_tty.c
netbsd-1.2/slcompress.h

index 4ebf606866365b5aa499837ad18d994daedec38e..f010763507ab4f64e45906c84122127c7d0de570 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: bsd-comp.c,v 1.6 1996/10/13 02:10:58 christos Exp $    */
+/*     $NetBSD: bsd-comp.c,v 1.7 1997/03/12 20:26:46 christos Exp $    */
 /*     Id: bsd-comp.c,v 1.6 1996/08/28 06:31:58 paulus Exp     */
 
 /* Because this code is derived from the 4.3BSD compress source:
 /*     Id: bsd-comp.c,v 1.6 1996/08/28 06:31:58 paulus Exp     */
 
 /* Because this code is derived from the 4.3BSD compress source:
index 84d94c01c90968560592f1d2f52f493231fc0b99..cede49b4b4ba18688eb09e9626237a2ee26ff2fe 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $     */
+/*     $NetBSD: if_ppp.c,v 1.41 1998/05/02 14:34:24 christos Exp $     */
 /*     Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp       */
 
 /*
 /*     Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp       */
 
 /*
index 88a2801e4df0e96aa943d61997e4665ae75b6a36..a5c8e4bf96b81ac686925ad2283f204dc8febcb7 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_pppvar.h,v 1.5 1997/01/03 07:23:29 mikel Exp $      */
+/*     $NetBSD: if_pppvar.h,v 1.8 1998/02/09 17:43:52 perry Exp $      */
 /*     Id: if_pppvar.h,v 1.3 1996/07/01 01:04:37 paulus Exp     */
 
 /*
 /*     Id: if_pppvar.h,v 1.3 1996/07/01 01:04:37 paulus Exp     */
 
 /*
@@ -43,6 +43,9 @@
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef _NET_IF_PPPVAR_H_
+#define _NET_IF_PPPVAR_H_
+
 /*
  * Supported network protocols.  These values are used for
  * indexing sc_npmode.
 /*
  * Supported network protocols.  These values are used for
  * indexing sc_npmode.
@@ -113,3 +116,5 @@ struct      mbuf *ppp_dequeue __P((struct ppp_softc *sc));
 int    pppoutput __P((struct ifnet *, struct mbuf *,
                       struct sockaddr *, struct rtentry *));
 #endif /* _KERNEL */
 int    pppoutput __P((struct ifnet *, struct mbuf *,
                       struct sockaddr *, struct rtentry *));
 #endif /* _KERNEL */
+
+#endif /* _NET_IF_PPPVAR_H_ */
index a227d36fc5f7232cd21f4f6d1786480024732286..f407c3f0dc98615fc9047d87bd6cff37dbd0b609 100755 (executable)
@@ -17,9 +17,10 @@ CONFIG=config
 
 # Copy new versions of files into /sys/net
 
 
 # Copy new versions of files into /sys/net
 
-for f in net/if_ppp.h net/ppp-comp.h net/ppp_defs.h $SRC/bsd-comp.c \
-        $SRC/ppp-deflate.c $SRC/if_ppp.c $SRC/if_pppvar.h $SRC/ppp_tty.c \
-        $SRC/slcompress.c $SRC/slcompress.h common/zlib.c common/zlib.h; do
+for f in include/net/if_ppp.h include/net/ppp-comp.h include/net/ppp_defs.h \
+        $SRC/bsd-comp.c $SRC/ppp-deflate.c $SRC/if_ppp.c $SRC/if_pppvar.h \
+         $SRC/ppp_tty.c $SRC/slcompress.c $SRC/slcompress.h \
+         common/zlib.c common/zlib.h; do
   dest=$SYS/net/$(basename $f)
   if [ -f $dest ]; then
     if ! diff -qBI '[  ]\$[IN][de].*:.*\$' $f $dest >/dev/null; then
   dest=$SYS/net/$(basename $f)
   if [ -f $dest ]; then
     if ! diff -qBI '[  ]\$[IN][de].*:.*\$' $f $dest >/dev/null; then
index 4a2ff6426843e7cf4c19ae9965b49273e35ed746..fc4e29f7f7257baa48b3950dcbdc3fe36bc32ef5 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: ppp-deflate.c,v 1.3 1996/10/13 02:11:08 christos Exp $ */
+/*     $NetBSD: ppp-deflate.c,v 1.6 1998/05/02 14:34:25 christos Exp $ */
 /*     Id: ppp-deflate.c,v 1.5 1997/03/04 03:33:28 paulus Exp  */
 
 /*
 /*     Id: ppp-deflate.c,v 1.5 1997/03/04 03:33:28 paulus Exp  */
 
 /*
@@ -99,7 +99,7 @@ struct compressor ppp_deflate = {
     z_comp_stats,              /* decomp_stat */
 };
 
     z_comp_stats,              /* decomp_stat */
 };
 
-struct compressor ppp_deflate = {
+struct compressor ppp_deflate_draft = {
     CI_DEFLATE_DRAFT,          /* compress_proto */
     z_comp_alloc,              /* comp_alloc */
     z_comp_free,               /* comp_free */
     CI_DEFLATE_DRAFT,          /* compress_proto */
     z_comp_alloc,              /* comp_alloc */
     z_comp_free,               /* comp_free */
@@ -115,7 +115,6 @@ struct compressor ppp_deflate = {
     z_incomp,                  /* incomp */
     z_comp_stats,              /* decomp_stat */
 };
     z_incomp,                  /* incomp */
     z_comp_stats,              /* decomp_stat */
 };
-
 /*
  * Space allocation and freeing routines for use by zlib routines.
  */
 /*
  * Space allocation and freeing routines for use by zlib routines.
  */
index 5596a4c0b9060215eae31284a8bf808e1b9cdfe4..3ddbf468f7a08323ac94bcc7b9e2d3900862bb84 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $    */
+/*     $NetBSD: ppp_tty.c,v 1.13 1997/03/25 22:33:25 christos Exp $    */
 /*     Id: ppp_tty.c,v 1.3 1996/07/01 01:04:11 paulus Exp      */
 
 /*
 /*     Id: ppp_tty.c,v 1.3 1996/07/01 01:04:11 paulus Exp      */
 
 /*
index ca430c401d2a05634f6428fdb412672177b87121..196fc1e1b282c2f4eb8eba0612006ecea77dd88e 100644 (file)
@@ -1,4 +1,4 @@
-/*     $NetBSD: slcompress.h,v 1.11 1997/05/17 21:12:11 christos Exp $ */
+/*     $NetBSD: slcompress.h,v 1.12 1998/02/09 17:43:56 perry Exp $    */
 /*     Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp   */
 
 /*
 /*     Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp   */
 
 /*
@@ -43,8 +43,8 @@
  *     - Initial distribution.
  */
 
  *     - Initial distribution.
  */
 
-#ifndef _SLCOMPRESS_H_
-#define _SLCOMPRESS_H_
+#ifndef _NET_SLCOMPRESS_H_
+#define _NET_SLCOMPRESS_H_
 
 #define MAX_STATES 16          /* must be > 2 and < 256 */
 #define MAX_HDR MLEN           /* XXX 4bsd-ism: should really be 128 */
 
 #define MAX_STATES 16          /* must be > 2 and < 256 */
 #define MAX_HDR MLEN           /* XXX 4bsd-ism: should really be 128 */
@@ -166,4 +166,4 @@ int sl_uncompress_tcp __P((u_char **, int, u_int, struct slcompress *));
 int    sl_uncompress_tcp_core __P((u_char *, int, int, u_int,
            struct slcompress *, u_char **, u_int *));
 
 int    sl_uncompress_tcp_core __P((u_char *, int, int, u_int,
            struct slcompress *, u_char **, u_int *));
 
-#endif /* _SLCOMPRESS_H_ */
+#endif /* _NET_SLCOMPRESS_H_ */