diff options
Diffstat (limited to 'zebra/kernel_null.c')
| -rw-r--r-- | zebra/kernel_null.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/zebra/kernel_null.c b/zebra/kernel_null.c index d02939882c..5f1a054bdc 100644 --- a/zebra/kernel_null.c +++ b/zebra/kernel_null.c @@ -1,6 +1,5 @@ -/* NULL kernel methods for testing. */ - -/* +/* + * NULL kernel methods for testing. * Copyright (C) 2006 Sun Microsystems, Inc. * * This file is part of Quagga. @@ -15,15 +14,15 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with Quagga; see the file COPYING. If not, write to the Free - * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - * 02111-1307, USA. + * You should have received a copy of the GNU General Public License along + * with this program; see the file COPYING; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include <zebra.h> #include <log.h> +#include "vty.h" #include "zebra/zserv.h" #include "zebra/rt.h" #include "zebra/redistribute.h" @@ -31,7 +30,8 @@ #include "zebra/rt_netlink.h" #include "zebra/rib.h" -int kernel_route_rib (struct prefix *a, struct rib *old, struct rib *new) { return 0; } +int kernel_route_rib (struct prefix *a, struct prefix *b, + struct route_entry *old, struct route_entry *new) { return 0; } int kernel_address_add_ipv4 (struct interface *a, struct connected *b) { @@ -59,3 +59,5 @@ int kernel_neigh_update (int a, int b, uint32_t c, char *d, int e) void kernel_init (struct zebra_ns *zns) { return; } void kernel_terminate (struct zebra_ns *zns) { return; } void route_read (struct zebra_ns *zns) { return; } + +int kernel_get_ipmr_sg_stats (void *m) { return 0; } |
