2 * Copyright (C) 2006 Sun Microsystems, Inc.
4 * This file is part of Quagga.
6 * Quagga is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
11 * Quagga is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with Quagga; see the file COPYING. If not, write to the Free
18 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23 #include "zebra/rib.h"
24 #include "zebra/zserv.h"
26 #include "zebra/redistribute.h"
28 void zebra_redistribute_add (int a, struct zserv *b, int c,
31 #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
32 #pragma weak zebra_redistribute_delete = zebra_redistribute_add
33 #pragma weak zebra_redistribute_default_add = zebra_redistribute_add
34 #pragma weak zebra_redistribute_default_delete = zebra_redistribute_add
36 void zebra_redistribute_delete (int a, struct zserv *b, int c,
39 void zebra_redistribute_default_add (int a, struct zserv *b, int c,
42 void zebra_redistribute_default_delete (int a, struct zserv *b, int c,
47 void redistribute_add (struct prefix *a, struct rib *b, struct rib *c)
49 #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
50 #pragma weak redistribute_delete = redistribute_add
52 void redistribute_delete (struct prefix *a, struct rib *b)
56 void zebra_interface_up_update (struct interface *a)
58 #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
59 #pragma weak zebra_interface_down_update = zebra_interface_up_update
60 #pragma weak zebra_interface_add_update = zebra_interface_up_update
61 #pragma weak zebra_interface_delete_update = zebra_interface_up_update
63 void zebra_interface_down_update (struct interface *a)
65 void zebra_interface_add_update (struct interface *a)
67 void zebra_interface_delete_update (struct interface *a)
71 void zebra_interface_address_add_update (struct interface *a,
74 #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA
75 #pragma weak zebra_interface_address_delete_update = zebra_interface_address_add_update
77 void zebra_interface_address_delete_update (struct interface *a,
82 /* Interface parameters update */
83 void zebra_interface_parameters_update (struct interface *ifp)