]>
git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_l2_null.c
2 * Zebra Layer-2 interface Data structures and definitions
3 * Copyright (C) 2016, 2017 Cumulus Networks, Inc.
5 * This file is part of FRR.
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
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.
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
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"
32 void zebra_l2_map_slave_to_bridge(struct zebra_l2info_brslave
*br_slave
)
36 void zebra_l2_unmap_slave_from_bridge(struct zebra_l2info_brslave
*br_slave
)
40 void zebra_l2_bridge_add_update(struct interface
*ifp
,
41 struct zebra_l2info_bridge
*bridge_info
,
46 void zebra_l2_bridge_del(struct interface
*ifp
)
50 void zebra_l2_vlanif_update(struct interface
*ifp
,
51 struct zebra_l2info_vlan
*vlan_info
)
55 void zebra_l2_vxlanif_add_update(struct interface
*ifp
,
56 struct zebra_l2info_vxlan
*vxlan_info
, int add
)
60 void zebra_l2_vxlanif_update_access_vlan(struct interface
*ifp
,
65 void zebra_l2_vxlanif_del(struct interface
*ifp
)
69 void zebra_l2if_update_bridge_slave(struct interface
*ifp
,
70 ifindex_t bridge_ifindex
)