// vim: sw=8 ts=8
char const *cvs_name = "$Name: $";
-char const *cvs_id_cli = "$Id: cli.c,v 1.52 2005/01/25 04:19:05 bodea Exp $";
+char const *cvs_id_cli = "$Id: cli.c,v 1.53 2005/02/08 01:20:38 bodea Exp $";
#include <stdio.h>
#include <stdarg.h>
return buf;
}
-ip_filter_rulet *access_list_rule_ext(struct cli_def *cli, char *command, char **argv, int argc)
+static ip_filter_rulet *access_list_rule_ext(struct cli_def *cli, char *command, char **argv, int argc)
{
static ip_filter_rulet rule;
struct in_addr addr;
return &rule;
}
-ip_filter_rulet *access_list_rule_std(struct cli_def *cli, char *command, char **argv, int argc)
+static ip_filter_rulet *access_list_rule_std(struct cli_def *cli, char *command, char **argv, int argc)
{
static ip_filter_rulet rule;
struct in_addr addr;
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
// vim: sw=8 ts=8
-char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.80 2005/01/25 04:19:05 bodea Exp $";
+char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.81 2005/02/08 01:20:38 bodea Exp $";
#include <arpa/inet.h>
#include <assert.h>
return (int) (intptr_t) d[(size_t) *a];
}
-int lookup_ipv6map(struct in6_addr ip)
+static int lookup_ipv6map(struct in6_addr ip)
{
struct ipv6radix *curnode;
int i;
// process outgoing (to tunnel) IPv6
//
-void processipv6out(uint8_t * buf, int len)
+static void processipv6out(uint8_t * buf, int len)
{
sessionidt s;
sessiont *sp;
}
// add/remove filters from session (-1 = no change)
-void filter_session(sessionidt s, int filter_in, int filter_out)
+static void filter_session(sessionidt s, int filter_in, int filter_out)
{
if (!session[s].tunnel)
return; // No-one home.