summaryrefslogtreecommitdiffstats
path: root/sys/net/route.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/net/route.c
parent63ec2c0ae9b44c5394bae5d6ee7fea5be9659585 (diff)
downloadFreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.zip
FreeBSD-src-9cb413a93c0c68c45292e4086ffc7cc2f6d36d3e.tar.gz
Another mega commit to staticize things.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 1164fbf..d6b2d38c 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)route.c 8.2 (Berkeley) 11/15/93
- * $Id: route.c,v 1.27 1995/10/29 15:32:14 phk Exp $
+ * $Id: route.c,v 1.28 1995/12/02 19:28:24 bde Exp $
*/
#include <sys/param.h>
@@ -56,13 +56,16 @@
#define SA(p) ((struct sockaddr *)(p))
struct route_cb route_cb;
-struct rtstat rtstat;
+static struct rtstat rtstat;
struct radix_node_head *rt_tables[AF_MAX+1];
-int rttrash; /* routes not in table but not freed */
-struct sockaddr wildcard; /* zero valued cookie for wildcard searches */
+static int rttrash; /* routes not in table but not freed */
-void
+static void rt_maskedcopy __P((struct sockaddr *,
+ struct sockaddr *, struct sockaddr *));
+static void rtable_init __P((void **));
+
+static void
rtable_init(table)
void **table;
{
@@ -700,7 +703,7 @@ rt_setgate(rt0, dst, gate)
return 0;
}
-void
+static void
rt_maskedcopy(src, dst, netmask)
struct sockaddr *src, *dst, *netmask;
{
OpenPOWER on IntegriCloud