]> git.proxmox.com Git - mirror_frr.git/blob - zebra/redistribute_null.c
7f40c21782216310653ad203668b0b89691fbd4c
[mirror_frr.git] / zebra / redistribute_null.c
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 along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #include <zebra.h>
22 #include "vty.h"
23 #include "zebra/rib.h"
24 #include "zebra/zserv.h"
25
26 #include "zebra/redistribute.h"
27
28 void zebra_redistribute_add (int a, struct zserv *b, int c,
29 struct zebra_vrf *zvrf)
30 { return; }
31 void zebra_redistribute_delete (int a, struct zserv *b, int c,
32 struct zebra_vrf *zvrf)
33 { return; }
34 void zebra_redistribute_default_add (int a, struct zserv *b, int c,
35 struct zebra_vrf *zvrf)
36 { return; }
37 void zebra_redistribute_default_delete (int a, struct zserv *b, int c,
38 struct zebra_vrf *zvrf)
39 { return; }
40
41 void redistribute_update (struct prefix *a, struct prefix *b,
42 struct rib *c, struct rib *d)
43 { return; }
44 void redistribute_delete (struct prefix *a, struct prefix *b, struct rib *c)
45 { return; }
46
47 void zebra_interface_up_update (struct interface *a)
48 { return; }
49 void zebra_interface_down_update (struct interface *a)
50 { return; }
51 void zebra_interface_add_update (struct interface *a)
52 { return; }
53 void zebra_interface_delete_update (struct interface *a)
54 { return; }
55
56
57 void zebra_interface_address_add_update (struct interface *a,
58 struct connected *b)
59 { return; }
60 void zebra_interface_address_delete_update (struct interface *a,
61 struct connected *b)
62 { return; }
63
64 /* Interface parameters update */
65 void zebra_interface_parameters_update (struct interface *ifp)
66 { return; };
67
68 void zebra_interface_vrf_update_del (struct interface *a, vrf_id_t new_vrf_id)
69 { return; }
70
71 void zebra_interface_vrf_update_add (struct interface *a, vrf_id_t old_vrf_id)
72 { return; }
73
74 int zebra_import_table (afi_t afi, u_int32_t table_id, u_int32_t distance,
75 const char *rmap_name, int add)
76 { return 0; }
77
78 int zebra_add_import_table_entry (struct route_node *rn, struct rib *rib, const char *rmap_name)
79 { return 0; }
80
81 int zebra_del_import_table_entry (struct route_node *rn, struct rib *rib)
82 { return 0; }
83
84 int is_zebra_import_table_enabled(afi_t afi, u_int32_t table_id)
85 { return 0; }
86
87 int zebra_import_table_config(struct vty *vty)
88 { return 0; }
89
90 void zebra_import_table_rm_update()
91 { return; }