diff options
Diffstat (limited to 'sys/netipx')
-rw-r--r-- | sys/netipx/ipx_input.c | 8 | ||||
-rw-r--r-- | sys/netipx/ipx_ip.c | 16 | ||||
-rw-r--r-- | sys/netipx/ipx_outputfl.c | 4 | ||||
-rw-r--r-- | sys/netipx/ipx_pcb.c | 4 | ||||
-rw-r--r-- | sys/netipx/ipx_proto.c | 4 | ||||
-rw-r--r-- | sys/netipx/ipx_usrreq.c | 6 | ||||
-rw-r--r-- | sys/netipx/spx_usrreq.c | 22 |
7 files changed, 33 insertions, 31 deletions
diff --git a/sys/netipx/ipx_input.c b/sys/netipx/ipx_input.c index 42cd9b4..c04b420 100644 --- a/sys/netipx/ipx_input.c +++ b/sys/netipx/ipx_input.c @@ -33,7 +33,7 @@ * * @(#)ipx_input.c * - * $Id: ipx_input.c,v 1.13 1997/05/10 09:58:52 jhay Exp $ + * $Id: ipx_input.c,v 1.14 1997/06/26 19:35:46 jhay Exp $ */ #include <sys/param.h> @@ -85,7 +85,7 @@ struct ipxpcb ipxpcb; struct ipxpcb ipxrawpcb; struct ifqueue ipxintrq; -int ipxqmaxlen = IFQ_MAXLEN; +static int ipxqmaxlen = IFQ_MAXLEN; long ipx_pexseq; @@ -328,8 +328,8 @@ ipx_ctlinput(cmd, arg_as_sa, dummy) * have a way to return errors to the sender. */ -struct route ipx_droute; -struct route ipx_sroute; +static struct route ipx_droute; +static struct route ipx_sroute; static void ipx_forward(m) diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c index 73330a2..c5d9bf7 100644 --- a/sys/netipx/ipx_ip.c +++ b/sys/netipx/ipx_ip.c @@ -33,7 +33,7 @@ * * @(#)ipx_ip.c * - * $Id: ipx_ip.c,v 1.18 1997/12/21 16:35:12 bde Exp $ + * $Id: ipx_ip.c,v 1.19 1998/01/08 23:41:56 eivind Exp $ */ /* @@ -72,8 +72,10 @@ #include <netipx/ipx_ip.h> #include <netipx/ipx_var.h> -struct ifnet ipxipif; -struct ifnet_en *ipxip_list; /* list of all hosts and gateways or broadcast addrs */ +static struct ifnet ipxipif; + +/* list of all hosts and gateways or broadcast addrs */ +static struct ifnet_en *ipxip_list; static struct ifnet_en *ipxipattach(void); static int ipxip_free(struct ifnet *ifp); @@ -156,9 +158,9 @@ ipxipioctl(ifp, cmd, data) return (error); } -struct mbuf *ipxip_badlen; -struct mbuf *ipxip_lastin; -int ipxip_hold_input; +static struct mbuf *ipxip_badlen; +static struct mbuf *ipxip_lastin; +static int ipxip_hold_input; void ipxip_input(m, hlen) @@ -311,7 +313,7 @@ struct ifnet *ifp; panic("ipxip_start called\n"); } -struct ifreq ifr_ipxip = {"ipxip0"}; +static struct ifreq ifr_ipxip = {"ipxip0"}; int ipxip_route(so, m, p) diff --git a/sys/netipx/ipx_outputfl.c b/sys/netipx/ipx_outputfl.c index 004a6de..c540aa7 100644 --- a/sys/netipx/ipx_outputfl.c +++ b/sys/netipx/ipx_outputfl.c @@ -33,7 +33,7 @@ * * @(#)ipx_outputfl.c * - * $Id: ipx_outputfl.c,v 1.8 1997/06/26 19:35:51 jhay Exp $ + * $Id: ipx_outputfl.c,v 1.9 1997/07/01 00:22:49 bde Exp $ */ #include <sys/param.h> @@ -52,7 +52,7 @@ #include <machine/mtpr.h> #endif -int ipx_copy_output = 0; +static int ipx_copy_output = 0; int ipx_outputfl(m0, ro, flags) diff --git a/sys/netipx/ipx_pcb.c b/sys/netipx/ipx_pcb.c index e375f3b..f7e00a0 100644 --- a/sys/netipx/ipx_pcb.c +++ b/sys/netipx/ipx_pcb.c @@ -33,7 +33,7 @@ * * @(#)ipx_pcb.c * - * $Id: ipx_pcb.c,v 1.12 1997/09/02 01:19:10 bde Exp $ + * $Id: ipx_pcb.c,v 1.13 1997/10/28 15:58:56 bde Exp $ */ #include <sys/param.h> @@ -51,7 +51,7 @@ #include <netipx/ipx_pcb.h> #include <netipx/ipx_var.h> -struct ipx_addr zeroipx_addr; +static struct ipx_addr zeroipx_addr; int ipx_pcballoc(so, head, p) diff --git a/sys/netipx/ipx_proto.c b/sys/netipx/ipx_proto.c index ce20687..bbb6b93 100644 --- a/sys/netipx/ipx_proto.c +++ b/sys/netipx/ipx_proto.c @@ -33,7 +33,7 @@ * * @(#)ipx_proto.c * - * $Id: ipx_proto.c,v 1.11 1997/06/26 19:35:55 jhay Exp $ + * $Id: ipx_proto.c,v 1.12 1997/12/15 20:31:14 eivind Exp $ */ #include "opt_ipx.h" @@ -101,7 +101,7 @@ static struct protosw ipxsw[] = { #endif }; -struct domain ipxdomain = +static struct domain ipxdomain = { AF_IPX, "network systems", 0, 0, 0, ipxsw, &ipxsw[sizeof(ipxsw)/sizeof(ipxsw[0])], 0, rn_inithead, 16, sizeof(struct sockaddr_ipx)}; diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index e65548a..3c15319 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -33,7 +33,7 @@ * * @(#)ipx_usrreq.c * - * $Id: ipx_usrreq.c,v 1.17 1997/09/14 03:10:41 peter Exp $ + * $Id: ipx_usrreq.c,v 1.18 1997/12/15 20:31:15 eivind Exp $ */ #include "opt_ipx.h" @@ -63,10 +63,10 @@ * IPX protocol implementation. */ -int ipxsendspace = IPXSNDQ; +static int ipxsendspace = IPXSNDQ; SYSCTL_INT(_net_ipx_ipx, OID_AUTO, ipxsendspace, CTLFLAG_RW, &ipxsendspace, 0, ""); -int ipxrecvspace = IPXRCVQ; +static int ipxrecvspace = IPXRCVQ; SYSCTL_INT(_net_ipx_ipx, OID_AUTO, ipxrecvspace, CTLFLAG_RW, &ipxrecvspace, 0, ""); diff --git a/sys/netipx/spx_usrreq.c b/sys/netipx/spx_usrreq.c index 2d87df0..cd8149b 100644 --- a/sys/netipx/spx_usrreq.c +++ b/sys/netipx/spx_usrreq.c @@ -33,7 +33,7 @@ * * @(#)spx_usrreq.h * - * $Id: spx_usrreq.c,v 1.16 1997/09/02 01:19:15 bde Exp $ + * $Id: spx_usrreq.c,v 1.17 1997/09/14 03:10:41 peter Exp $ */ #include <sys/param.h> @@ -59,20 +59,20 @@ /* * SPX protocol implementation. */ -u_short spx_iss; -u_short spx_newchecks[50]; -int spx_hardnosed; -int spx_use_delack = 0; -int traceallspxs = 0; -struct spx spx_savesi; -struct spx_istat spx_istat; +static u_short spx_iss; +static u_short spx_newchecks[50]; +static int spx_hardnosed; +static int spx_use_delack = 0; +static int traceallspxs = 0; +static struct spx spx_savesi; +static struct spx_istat spx_istat; /* Following was struct spxstat spxstat; */ #ifndef spxstat #define spxstat spx_istat.newstats #endif -int spx_backoff[SPX_MAXRXTSHIFT+1] = +static int spx_backoff[SPX_MAXRXTSHIFT+1] = { 1, 2, 4, 8, 16, 32, 64, 64, 64, 64, 64, 64, 64 }; static void spx_abort(struct ipxpcb *ipxp); @@ -329,7 +329,7 @@ bad: m_freem(m); } -int spxrexmtthresh = 3; +static int spxrexmtthresh = 3; /* * This is structurally similar to the tcp reassembly routine @@ -1133,7 +1133,7 @@ send: return (0); } -int spx_do_persist_panics = 0; +static int spx_do_persist_panics = 0; static void spx_setpersist(cb) |