]>
Commit | Line | Data |
---|---|---|
457eb9af PJ |
1 | #include <zebra.h> |
2 | #include "zebra/rib.h" | |
3 | #include "zebra/zserv.h" | |
4 | ||
5 | #include "zebra/redistribute.h" | |
6 | ||
7076bb2f FL |
7 | void zebra_redistribute_add (int a, struct zserv *b, int c, |
8 | vrf_id_t vrf_id) | |
457eb9af | 9 | { return; } |
327c4cdf | 10 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af PJ |
11 | #pragma weak zebra_redistribute_delete = zebra_redistribute_add |
12 | #pragma weak zebra_redistribute_default_add = zebra_redistribute_add | |
13 | #pragma weak zebra_redistribute_default_delete = zebra_redistribute_add | |
327c4cdf | 14 | #else |
7076bb2f FL |
15 | void zebra_redistribute_delete (int a, struct zserv *b, int c, |
16 | vrf_id_t vrf_id) | |
327c4cdf | 17 | { return; } |
7076bb2f FL |
18 | void zebra_redistribute_default_add (int a, struct zserv *b, int c, |
19 | vrf_id_t vrf_id) | |
327c4cdf | 20 | { return; } |
7076bb2f FL |
21 | void zebra_redistribute_default_delete (int a, struct zserv *b, int c, |
22 | vrf_id_t vrf_id) | |
327c4cdf DV |
23 | { return; } |
24 | #endif | |
457eb9af | 25 | |
c41fc67b | 26 | void redistribute_update (struct prefix *a, struct rib *b, struct rib *c) |
457eb9af | 27 | { return; } |
327c4cdf | 28 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
c41fc67b | 29 | #pragma weak redistribute_delete = redistribute_update |
327c4cdf DV |
30 | #else |
31 | void redistribute_delete (struct prefix *a, struct rib *b) | |
32 | { return; } | |
33 | #endif | |
457eb9af PJ |
34 | |
35 | void zebra_interface_up_update (struct interface *a) | |
36 | { return; } | |
327c4cdf | 37 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af PJ |
38 | #pragma weak zebra_interface_down_update = zebra_interface_up_update |
39 | #pragma weak zebra_interface_add_update = zebra_interface_up_update | |
40 | #pragma weak zebra_interface_delete_update = zebra_interface_up_update | |
327c4cdf DV |
41 | #else |
42 | void zebra_interface_down_update (struct interface *a) | |
43 | { return; } | |
44 | void zebra_interface_add_update (struct interface *a) | |
45 | { return; } | |
46 | void zebra_interface_delete_update (struct interface *a) | |
47 | { return; } | |
48 | #endif | |
457eb9af | 49 | |
12f6fb97 DS |
50 | void zebra_vrf_add_update (struct vrf *a) |
51 | { return; } | |
52 | void zebra_vrf_delete_update (struct vrf *a) | |
53 | { return; } | |
54 | ||
457eb9af PJ |
55 | void zebra_interface_address_add_update (struct interface *a, |
56 | struct connected *b) | |
57 | { return; } | |
327c4cdf | 58 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af | 59 | #pragma weak zebra_interface_address_delete_update = zebra_interface_address_add_update |
327c4cdf DV |
60 | #else |
61 | void zebra_interface_address_delete_update (struct interface *a, | |
62 | struct connected *b) | |
63 | { return; } | |
64 | #endif | |
7a4bb9c5 | 65 | |
c8e264b6 | 66 | void zebra_interface_vrf_update_del (struct interface *a, vrf_id_t new_vrf_id) |
67 | { return; } | |
68 | ||
69 | void zebra_interface_vrf_update_add (struct interface *a, vrf_id_t old_vrf_id) | |
70 | { return; } | |
71 | ||
7a4bb9c5 DS |
72 | int zebra_import_table (afi_t afi, u_int32_t table_id, u_int32_t metric, |
73 | int add) | |
74 | { return 0; } | |
75 | ||
76 | int zebra_add_import_table_entry (struct route_node *rn, struct rib *rib) | |
77 | { return 0; } | |
78 | ||
79 | int zebra_del_import_table_entry (struct route_node *rn, struct rib *rib) | |
80 | { return 0; } | |
81 | ||
82 | int is_zebra_import_table_enabled(afi_t afi, u_int32_t table_id) | |
83 | { return 0; } | |
84 | ||
85 | int zebra_import_table_config(struct vty *vty) | |
86 | { return 0; } |