]>
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 | ||
7 | void zebra_redistribute_add (int a, struct zserv *b, int c) | |
8 | { return; } | |
327c4cdf | 9 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af PJ |
10 | #pragma weak zebra_redistribute_delete = zebra_redistribute_add |
11 | #pragma weak zebra_redistribute_default_add = zebra_redistribute_add | |
12 | #pragma weak zebra_redistribute_default_delete = zebra_redistribute_add | |
327c4cdf DV |
13 | #else |
14 | void zebra_redistribute_delete (int a, struct zserv *b, int c) | |
15 | { return; } | |
16 | void zebra_redistribute_default_add (int a, struct zserv *b, int c) | |
17 | { return; } | |
18 | void zebra_redistribute_default_delete (int a, struct zserv *b, int c) | |
19 | { return; } | |
20 | #endif | |
457eb9af | 21 | |
c41fc67b | 22 | void redistribute_update (struct prefix *a, struct rib *b, struct rib *c) |
457eb9af | 23 | { return; } |
327c4cdf | 24 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
c41fc67b | 25 | #pragma weak redistribute_delete = redistribute_update |
327c4cdf DV |
26 | #else |
27 | void redistribute_delete (struct prefix *a, struct rib *b) | |
28 | { return; } | |
29 | #endif | |
457eb9af PJ |
30 | |
31 | void zebra_interface_up_update (struct interface *a) | |
32 | { return; } | |
327c4cdf | 33 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af PJ |
34 | #pragma weak zebra_interface_down_update = zebra_interface_up_update |
35 | #pragma weak zebra_interface_add_update = zebra_interface_up_update | |
36 | #pragma weak zebra_interface_delete_update = zebra_interface_up_update | |
327c4cdf DV |
37 | #else |
38 | void zebra_interface_down_update (struct interface *a) | |
39 | { return; } | |
40 | void zebra_interface_add_update (struct interface *a) | |
41 | { return; } | |
42 | void zebra_interface_delete_update (struct interface *a) | |
43 | { return; } | |
44 | #endif | |
457eb9af PJ |
45 | |
46 | void zebra_interface_address_add_update (struct interface *a, | |
47 | struct connected *b) | |
48 | { return; } | |
327c4cdf | 49 | #ifdef HAVE_SYS_WEAK_ALIAS_PRAGMA |
457eb9af | 50 | #pragma weak zebra_interface_address_delete_update = zebra_interface_address_add_update |
327c4cdf DV |
51 | #else |
52 | void zebra_interface_address_delete_update (struct interface *a, | |
53 | struct connected *b) | |
54 | { return; } | |
55 | #endif | |
7a4bb9c5 DS |
56 | |
57 | int zebra_import_table (afi_t afi, u_int32_t table_id, u_int32_t metric, | |
58 | int add) | |
59 | { return 0; } | |
60 | ||
61 | int zebra_add_import_table_entry (struct route_node *rn, struct rib *rib) | |
62 | { return 0; } | |
63 | ||
64 | int zebra_del_import_table_entry (struct route_node *rn, struct rib *rib) | |
65 | { return 0; } | |
66 | ||
67 | int is_zebra_import_table_enabled(afi_t afi, u_int32_t table_id) | |
68 | { return 0; } | |
69 | ||
70 | int zebra_import_table_config(struct vty *vty) | |
71 | { return 0; } |