]> git.proxmox.com Git - mirror_frr.git/blob - zebra/rtread_netlink.c
Merge remote-tracking branch 'origin/master' into evpn_plus_struct_attr
[mirror_frr.git] / zebra / rtread_netlink.c
1 /*
2 * Kernel routing table readup by netlink
3 * Copyright (C) 1998 Kunihiro Ishiguro
4 *
5 * This file is part of GNU Zebra.
6 *
7 * GNU Zebra 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 * GNU Zebra 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 along
18 * with this program; see the file COPYING; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #include <zebra.h>
23
24 #include "vty.h"
25 #include "zebra/zserv.h"
26 #include "zebra/rt_netlink.h"
27
28 void route_read (struct zebra_ns *zns)
29 {
30 netlink_route_read (zns);
31 }
32
33 void macfdb_read (struct zebra_ns *zns)
34 {
35 netlink_macfdb_read (zns);
36 }
37
38 void macfdb_read_for_bridge (struct zebra_ns *zns, struct interface *ifp,
39 struct interface *br_if)
40 {
41 netlink_macfdb_read_for_bridge (zns, ifp, br_if);
42 }
43
44 void neigh_read (struct zebra_ns *zns)
45 {
46 netlink_neigh_read (zns);
47 }
48
49 void neigh_read_for_vlan (struct zebra_ns *zns, struct interface *vlan_if)
50 {
51 netlink_neigh_read_for_vlan (zns, vlan_if);
52 }