summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_mroute.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
committerphk <phk@FreeBSD.org>1995-12-14 09:55:16 +0000
commit9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e (patch)
tree9887f4bf5939f3591e9b3a4f6e1865f9a1f810d8 /sys/netinet/ip_mroute.c
parent63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (diff)
downloadFreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.zip
FreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.tar.gz
Another mega commit to staticize things.
Diffstat (limited to 'sys/netinet/ip_mroute.c')
-rw-r--r--sys/netinet/ip_mroute.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c
index d68e283..8d8742da 100644
--- a/sys/netinet/ip_mroute.c
+++ b/sys/netinet/ip_mroute.c
@@ -9,7 +9,7 @@
* Modified by Bill Fenner, PARC, April 1995
*
* MROUTING Revision: 3.5
- * $Id: ip_mroute.c,v 1.25 1995/11/14 20:34:16 phk Exp $
+ * $Id: ip_mroute.c,v 1.26 1995/12/02 19:38:03 bde Exp $
*/
@@ -72,7 +72,7 @@ extern int _mrt_ioctl __P((int req, caddr_t data, struct proc *p));
struct socket *ip_mrouter = NULL;
static u_int ip_mrtproto = 0;
-struct mrtstat mrtstat;
+static struct mrtstat mrtstat;
u_int rsvpdebug = 0;
int
@@ -219,9 +219,9 @@ static int ip_mrtproto;
#define NO_RTE_FOUND 0x1
#define RTE_FOUND 0x2
-struct mbuf *mfctable[MFCTBLSIZ];
-u_char nexpire[MFCTBLSIZ];
-struct vif viftable[MAXVIFS];
+static struct mbuf *mfctable[MFCTBLSIZ];
+static u_char nexpire[MFCTBLSIZ];
+static struct vif viftable[MAXVIFS];
static u_int mrtdebug = 0; /* debug level */
#define DEBUG_MFC 0x02
#define DEBUG_FORWARD 0x04
@@ -238,7 +238,7 @@ static u_int rsvpdebug = 0; /* rsvp debug level */
* tbftable -> each vif has one of these for storing info
*/
-struct tbf tbftable[MAXVIFS];
+static struct tbf tbftable[MAXVIFS];
#define TBF_REPROCESS (hz / 100) /* 100x / second */
/*
@@ -249,7 +249,7 @@ struct tbf tbftable[MAXVIFS];
* can't be sent this way. They only exist as a placeholder for
* multicast source verification.
*/
-struct ifnet multicast_decap_if[MAXVIFS];
+static struct ifnet multicast_decap_if[MAXVIFS];
#define ENCAP_TTL 64
#define ENCAP_PROTO IPPROTO_IPIP /* 4 */
OpenPOWER on IntegriCloud