]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_vxlan_null.c
zebra: MAC and Neighbor (ARP/ND) handling
[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 int zebra_vxlan_svi_up (struct interface *ifp, struct interface *link_if)
34 {
35 return 0;
36 }
37
38 int zebra_vxlan_svi_down (struct interface *ifp, struct interface *link_if)
39 {
40 return 0;
41 }
42
43 int zebra_vxlan_remote_macip_add (struct zserv *client, int sock,
44 u_short length, struct zebra_vrf *zvrf)
45 {
46 return 0;
47 }
48
49 int zebra_vxlan_remote_macip_del (struct zserv *client, int sock,
50 u_short length, struct zebra_vrf *zvrf)
51 {
52 return 0;
53 }
54
55 int zebra_vxlan_local_mac_add_update (struct interface *ifp,
56 struct interface *br_if,
57 struct ethaddr *mac, vlanid_t vid)
58 {
59 return 0;
60 }
61
62 int zebra_vxlan_local_mac_del (struct interface *ifp,
63 struct interface *br_if,
64 struct ethaddr *mac, vlanid_t vid)
65 {
66 return 0;
67 }
68
69 int zebra_vxlan_check_readd_remote_mac (struct interface *ifp,
70 struct interface *br_if,
71 struct ethaddr *mac, vlanid_t vid)
72 {
73 return 0;
74 }
75
76 int zebra_vxlan_check_del_local_mac (struct interface *ifp,
77 struct interface *br_if,
78 struct ethaddr *mac, vlanid_t vid)
79 {
80 return 0;
81 }
82
83 int
84 zebra_vxlan_if_up (struct interface *ifp)
85 {
86 return 0;
87 }
88
89 int
90 zebra_vxlan_if_down (struct interface *ifp)
91 {
92 return 0;
93 }
94
95 int
96 zebra_vxlan_if_add (struct interface *ifp)
97 {
98 return 0;
99 }
100
101 int
102 zebra_vxlan_if_update (struct interface *ifp, u_int16_t chgflags)
103 {
104 return 0;
105 }
106
107 int
108 zebra_vxlan_if_del (struct interface *ifp)
109 {
110 return 0;
111 }
112
113 int zebra_vxlan_remote_vtep_add (struct zserv *client, int sock,
114 u_short length, struct zebra_vrf *zvrf)
115 {
116 return 0;
117 }
118
119 int zebra_vxlan_remote_vtep_del (struct zserv *client, int sock,
120 u_short length, struct zebra_vrf *zvrf)
121 {
122 return 0;
123 }
124
125 int zebra_vxlan_advertise_all_vni (struct zserv *client, int sock,
126 u_short length, struct zebra_vrf *zvrf)
127 {
128 return 0;
129 }
130
131 void
132 zebra_vxlan_init_tables (struct zebra_vrf *zvrf)
133 {
134 }
135
136 void
137 zebra_vxlan_close_tables (struct zebra_vrf *zvrf)
138 {
139 }