Paul Jakma | 010ebbb | 2014-09-16 11:53:49 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2006 Sun Microsystems, Inc. |
| 3 | * |
| 4 | * This file is part of Quagga. |
| 5 | * |
| 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 |
| 9 | * later version. |
| 10 | * |
| 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. |
| 15 | * |
| 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 |
| 19 | * 02111-1307, USA. |
| 20 | */ |
| 21 | |
Andrew J. Schorr | a6974fe | 2006-08-02 16:47:03 +0000 | [diff] [blame] | 22 | #include <zebra.h> |
| 23 | |
| 24 | #include "prefix.h" |
| 25 | #include "zebra/rtadv.h" |
| 26 | #include "zebra/irdp.h" |
Paul Jakma | 7e4bcdc | 2006-08-04 06:14:13 +0000 | [diff] [blame] | 27 | #include "zebra/interface.h" |
Avneesh Sachdev | 5adc252 | 2012-11-13 22:48:59 +0000 | [diff] [blame] | 28 | #include "zebra/zebra_fpm.h" |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 29 | |
| 30 | void ifstat_update_proc (void) { return; } |
Doug VanLeuven | 327c4cd | 2012-12-14 14:58:30 +0200 | [diff] [blame] | 31 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 32 | #pragma weak rtadv_config_write = ifstat_update_proc |
| 33 | #pragma weak irdp_config_write = ifstat_update_proc |
Paul Jakma | 7e4bcdc | 2006-08-04 06:14:13 +0000 | [diff] [blame] | 34 | #pragma weak ifstat_update_sysctl = ifstat_update_proc |
Doug VanLeuven | 327c4cd | 2012-12-14 14:58:30 +0200 | [diff] [blame] | 35 | #else |
| 36 | void rtadv_config_write (struct vty *vty, struct interface *ifp) { return; } |
| 37 | void irdp_config_write (struct vty *vty, struct interface *ifp) { return; } |
| 38 | void ifstat_update_sysctl (void) { return; } |
| 39 | #endif |
Avneesh Sachdev | 5adc252 | 2012-11-13 22:48:59 +0000 | [diff] [blame] | 40 | |
| 41 | void |
| 42 | zfpm_trigger_update (struct route_node *rn, const char *reason) |
| 43 | { |
| 44 | return; |
| 45 | } |