]> git.ozlabs.org Git - ppp.git/commitdiff
make pppoutput global
authorPaul Mackerras <paulus@samba.org>
Wed, 4 Feb 1998 01:36:40 +0000 (01:36 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 4 Feb 1998 01:36:40 +0000 (01:36 +0000)
freebsd-2.0/if_ppp.c
freebsd-2.0/if_pppvar.h

index d9369d62c46c3a758aa793972817bd6ac37217c4..fc0fd69b4624c21f2218aa27c3c8d3d6d98097cf 100644 (file)
@@ -69,7 +69,7 @@
  * Paul Mackerras (paulus@cs.anu.edu.au).
  */
 
-/* $Id: if_ppp.c,v 1.12 1997/04/30 05:42:07 paulus Exp $ */
+/* $Id: if_ppp.c,v 1.13 1998/02/04 01:36:39 paulus Exp $ */
 /* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
 /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
 
 #endif
 
 static int     pppsioctl __P((struct ifnet *, int, caddr_t));
-static int     pppoutput __P((struct ifnet *, struct mbuf *,
-                              struct sockaddr *, struct rtentry *));
 static void    ppp_requeue __P((struct ppp_softc *));
 static void    ppp_ccp __P((struct ppp_softc *, struct mbuf *m, int rcvd));
 static void    ppp_ccp_closed __P((struct ppp_softc *));
index 91e8e4e758638a1f994a81452205c3a117175093..7c3b97e29ac5a83bd7384c75277cf9c3ccb9b059 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: if_pppvar.h,v 1.5 1997/04/30 05:42:08 paulus Exp $ */
+/*     $Id: if_pppvar.h,v 1.6 1998/02/04 01:36:40 paulus Exp $ */
 /*
  * if_pppvar.h - private structures and declarations for PPP.
  *
@@ -101,6 +101,8 @@ struct      ppp_softc ppp_softc[NPPP];
 
 struct ppp_softc *pppalloc __P((pid_t pid));
 void   pppdealloc __P((struct ppp_softc *sc));
+int    pppoutput __P((struct ifnet *, struct mbuf *,
+                      struct sockaddr *, struct rtentry *));
 int    pppioctl __P((struct ppp_softc *sc, int cmd, caddr_t data,
                      int flag, struct proc *p));
 void   ppp_restart __P((struct ppp_softc *sc));