]> git.proxmox.com Git - mirror_frr.git/blame - zebra/redistribute_null.c
Merge pull request #263 from opensourcerouting/assorted-20170308
[mirror_frr.git] / zebra / redistribute_null.c
CommitLineData
46f4a4d2
PJ
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
457eb9af 22#include <zebra.h>
82f97584 23#include "vty.h"
457eb9af
PJ
24#include "zebra/rib.h"
25#include "zebra/zserv.h"
26
27#include "zebra/redistribute.h"
28
7076bb2f 29void zebra_redistribute_add (int a, struct zserv *b, int c,
d651649e 30 struct zebra_vrf *zvrf)
457eb9af 31{ return; }
7076bb2f 32void zebra_redistribute_delete (int a, struct zserv *b, int c,
d651649e 33 struct zebra_vrf *zvrf)
327c4cdf 34{ return; }
7076bb2f 35void zebra_redistribute_default_add (int a, struct zserv *b, int c,
d651649e 36 struct zebra_vrf *zvrf)
327c4cdf 37{ return; }
7076bb2f 38void zebra_redistribute_default_delete (int a, struct zserv *b, int c,
d651649e 39 struct zebra_vrf *zvrf)
327c4cdf 40{ return; }
457eb9af 41
05737783
CF
42void redistribute_update (struct prefix *a, struct prefix *b,
43 struct rib *c, struct rib *d)
457eb9af 44{ return; }
05737783 45void redistribute_delete (struct prefix *a, struct prefix *b, struct rib *c)
327c4cdf 46{ return; }
457eb9af
PJ
47
48void zebra_interface_up_update (struct interface *a)
49{ return; }
327c4cdf
DV
50void zebra_interface_down_update (struct interface *a)
51{ return; }
52void zebra_interface_add_update (struct interface *a)
53{ return; }
54void zebra_interface_delete_update (struct interface *a)
55{ return; }
457eb9af 56
12f6fb97 57
457eb9af
PJ
58void zebra_interface_address_add_update (struct interface *a,
59 struct connected *b)
60{ return; }
327c4cdf
DV
61void zebra_interface_address_delete_update (struct interface *a,
62 struct connected *b)
63{ return; }
7a4bb9c5 64
16f1b9ee
OD
65/* Interface parameters update */
66void zebra_interface_parameters_update (struct interface *ifp)
67{ return; };
68
c8e264b6 69void zebra_interface_vrf_update_del (struct interface *a, vrf_id_t new_vrf_id)
70{ return; }
71
72void zebra_interface_vrf_update_add (struct interface *a, vrf_id_t old_vrf_id)
73{ return; }
74
8902474b
DS
75int zebra_import_table (afi_t afi, u_int32_t table_id, u_int32_t distance,
76 const char *rmap_name, int add)
7a4bb9c5
DS
77{ return 0; }
78
8902474b 79int zebra_add_import_table_entry (struct route_node *rn, struct rib *rib, const char *rmap_name)
7a4bb9c5
DS
80{ return 0; }
81
82int zebra_del_import_table_entry (struct route_node *rn, struct rib *rib)
83{ return 0; }
84
85int is_zebra_import_table_enabled(afi_t afi, u_int32_t table_id)
86{ return 0; }
87
88int zebra_import_table_config(struct vty *vty)
89{ return 0; }
8902474b
DS
90
91void zebra_import_table_rm_update()
92{ return; }