]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_vxlan_null.c
*: use C99 standard fixed-width integer types
[mirror_frr.git] / zebra / zebra_vxlan_null.c
1 /*
2 * Zebra VxLAN (EVPN)
3 * Copyright (C) 2016, 2017 Cumulus Networks, Inc.
4 *
5 * This file is part of FRR.
6 *
7 * FRR is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2, or (at your option) any
10 * later version.
11 *
12 * FRR is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with FRR; see the file COPYING. If not, write to the Free
19 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20 * 02111-1307, USA.
21 */
22
23 #include <zebra.h>
24
25 #include "if.h"
26 #include "zebra/debug.h"
27 #include "zebra/zserv.h"
28 #include "zebra/rib.h"
29 #include "zebra/zebra_vrf.h"
30 #include "zebra/zebra_l2.h"
31 #include "zebra/zebra_vxlan.h"
32
33 void zebra_vxlan_print_macs_vni(struct vty *vty, struct zebra_vrf *zvrf,
34 vni_t vni)
35 {
36 }
37
38 void zebra_vxlan_print_macs_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
39 {
40 }
41
42 void zebra_vxlan_print_macs_all_vni_vtep(struct vty *vty,
43 struct zebra_vrf *zvrf,
44 struct in_addr vtep_ip)
45 {
46 }
47
48 void zebra_vxlan_print_specific_mac_vni(struct vty *vty, struct zebra_vrf *zvrf,
49 vni_t vni, struct ethaddr *mac)
50 {
51 }
52
53 void zebra_vxlan_print_macs_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
54 vni_t vni, struct in_addr vtep_ip)
55 {
56 }
57
58 void zebra_vxlan_print_neigh_vni(struct vty *vty, struct zebra_vrf *zvrf,
59 vni_t vni)
60 {
61 }
62
63 void zebra_vxlan_print_neigh_all_vni(struct vty *vty, struct zebra_vrf *zvrf)
64 {
65 }
66
67 void zebra_vxlan_print_specific_neigh_vni(struct vty *vty,
68 struct zebra_vrf *zvrf, vni_t vni,
69 struct ipaddr *ip)
70 {
71 }
72
73 void zebra_vxlan_print_neigh_vni_vtep(struct vty *vty, struct zebra_vrf *zvrf,
74 vni_t vni, struct in_addr vtep_ip)
75 {
76 }
77
78 void zebra_vxlan_print_vni(struct vty *vty, struct zebra_vrf *zvrf, vni_t vni)
79 {
80 }
81
82 void zebra_vxlan_print_vnis(struct vty *vty, struct zebra_vrf *zvrf)
83 {
84 }
85
86 void zebra_vxlan_print_evpn(struct vty *vty, uint8_t uj)
87 {
88 }
89
90 void zebra_vxlan_print_rmacs_l3vni(struct vty *, vni_t, uint8_t)
91 {
92 }
93
94 void zebra_vxlan_print_rmacs_all_l3vni(struct vty *, uint8_t)
95 {
96 }
97
98 void zebra_vxlan_print_nh_l3vni(struct vty *, vni_t, uint8_t)
99 {
100 }
101
102 void zebra_vxlan_print_nh_all_l3vni(struct vty *, uint8_t)
103 {
104 }
105
106 void zebra_vxlan_print_l3vni(struct vty *vty, vni_t vni)
107 {
108 }
109
110 int zebra_vxlan_svi_up(struct interface *ifp, struct interface *link_if)
111 {
112 return 0;
113 }
114
115 int zebra_vxlan_svi_down(struct interface *ifp, struct interface *link_if)
116 {
117 return 0;
118 }
119
120 int zebra_vxlan_remote_macip_add(struct zserv *client, int sock,
121 unsigned short length, struct zebra_vrf *zvrf)
122 {
123 return 0;
124 }
125
126 int zebra_vxlan_remote_macip_del(struct zserv *client, int sock,
127 unsigned short length, struct zebra_vrf *zvrf)
128 {
129 return 0;
130 }
131
132 int zebra_vxlan_local_mac_add_update(struct interface *ifp,
133 struct interface *br_if,
134 struct ethaddr *mac, vlanid_t vid,
135 uint8_t sticky)
136 {
137 return 0;
138 }
139
140 int zebra_vxlan_local_mac_del(struct interface *ifp, struct interface *br_if,
141 struct ethaddr *mac, vlanid_t vid)
142 {
143 return 0;
144 }
145
146 int zebra_vxlan_check_readd_remote_mac(struct interface *ifp,
147 struct interface *br_if,
148 struct ethaddr *mac, vlanid_t vid)
149 {
150 return 0;
151 }
152
153 int zebra_vxlan_check_del_local_mac(struct interface *ifp,
154 struct interface *br_if,
155 struct ethaddr *mac, vlanid_t vid)
156 {
157 return 0;
158 }
159
160 int zebra_vxlan_if_up(struct interface *ifp)
161 {
162 return 0;
163 }
164
165 int zebra_vxlan_if_down(struct interface *ifp)
166 {
167 return 0;
168 }
169
170 int zebra_vxlan_if_add(struct interface *ifp)
171 {
172 return 0;
173 }
174
175 int zebra_vxlan_if_update(struct interface *ifp, uint16_t chgflags)
176 {
177 return 0;
178 }
179
180 int zebra_vxlan_if_del(struct interface *ifp)
181 {
182 return 0;
183 }
184
185 int zebra_vxlan_remote_vtep_add(struct zserv *client, int sock,
186 unsigned short length, struct zebra_vrf *zvrf)
187 {
188 return 0;
189 }
190
191 int zebra_vxlan_remote_vtep_del(struct zserv *client, int sock,
192 unsigned short length, struct zebra_vrf *zvrf)
193 {
194 return 0;
195 }
196
197 int zebra_vxlan_advertise_all_vni(struct zserv *client, int sock,
198 unsigned short length, struct zebra_vrf *zvrf)
199 {
200 return 0;
201 }
202
203 void zebra_vxlan_init_tables(struct zebra_vrf *zvrf)
204 {
205 }
206
207 void zebra_vxlan_close_tables(struct zebra_vrf *zvrf)
208 {
209 }
210
211 void zebra_vxlan_cleanup_tables(struct zebra_vrf *zvrf)
212 {
213 }