/* Called when new interface is added. */
-int
+static int
if_zebra_new_hook (struct interface *ifp)
{
struct zebra_if *zebra_if;
}
/* Called when interface is deleted. */
-int
+static int
if_zebra_delete_hook (struct interface *ifp)
{
struct zebra_if *zebra_if;
/* Wake up configured address if it is not in current kernel
address. */
-void
+static void
if_addr_wakeup (struct interface *ifp)
{
struct listnode *node, *nnode;
}
/* Printout flag information into vty */
-void
+static void
if_flag_dump_vty (struct vty *vty, unsigned long flag)
{
int separator = 0;
}
/* Output prefix string to vty. */
-int
+static int
prefix_vty_out (struct vty *vty, struct prefix *p)
{
char str[INET6_ADDRSTRLEN];
}
/* Dump if address information to vty. */
-void
+static void
connected_dump_vty (struct vty *vty, struct connected *connected)
{
struct prefix *p;
#ifdef RTADV
/* Dump interface ND information to vty. */
-void
+static void
nd_dump_vty (struct vty *vty, struct interface *ifp)
{
struct zebra_if *zif;
#endif /* RTADV */
/* Interface's information print out to vty interface. */
-void
+static void
if_dump_vty (struct vty *vty, struct interface *ifp)
{
#ifdef HAVE_SOCKADDR_DL
}
/* Check supported address family. */
-int
+static int
if_supported_family (int family)
{
if (family == AF_INET)
"Set bandwidth informational parameter\n"
"Bandwidth in kilobits\n")
\f
-int
+static int
ip_address_install (struct vty *vty, struct interface *ifp,
const char *addr_str, const char *peer_str,
const char *label)
return CMD_SUCCESS;
}
-int
+static int
ip_address_uninstall (struct vty *vty, struct interface *ifp,
const char *addr_str, const char *peer_str,
const char *label)
#endif /* HAVE_NETLINK */
#ifdef HAVE_IPV6
-int
+static int
ipv6_address_install (struct vty *vty, struct interface *ifp,
const char *addr_str, const char *peer_str,
const char *label, int secondary)
return CMD_SUCCESS;
}
-int
+static int
ipv6_address_uninstall (struct vty *vty, struct interface *ifp,
const char *addr_str, const char *peer_str,
const char *label, int secondry)
}
#endif /* HAVE_IPV6 */
-int
+static int
if_config_write (struct vty *vty)
{
struct listnode *node;
/* Allocate and initialize interface vector. */
void
-zebra_if_init ()
+zebra_if_init (void)
{
/* Initialize interface and new hook. */
if_init ();