]>
Commit | Line | Data |
---|---|---|
718e3744 | 1 | /* |
2 | * kernel routing table update prototype. | |
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 | * | |
896014f4 DL |
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 | |
718e3744 | 20 | */ |
21 | ||
22 | #ifndef _ZEBRA_RT_H | |
23 | #define _ZEBRA_RT_H | |
24 | ||
ec1a4283 | 25 | #include "prefix.h" |
26 | #include "if.h" | |
13d60d35 | 27 | #include "vxlan.h" |
5c78b3d0 | 28 | #include "zebra/rib.h" |
40c7bdb0 | 29 | #include "zebra/zebra_ns.h" |
30 | #include "zebra/zebra_mpls.h" | |
ec1a4283 | 31 | |
05737783 | 32 | extern int kernel_route_rib (struct prefix *, struct prefix *, |
f0f77c9a | 33 | struct route_entry *, struct route_entry *); |
020a8459 | 34 | |
a1ac18c4 | 35 | extern int kernel_address_add_ipv4 (struct interface *, struct connected *); |
36 | extern int kernel_address_delete_ipv4 (struct interface *, struct connected *); | |
6b8a5694 | 37 | extern int kernel_neigh_update (int, int, uint32_t, char *, int); |
718e3744 | 38 | |
40c7bdb0 | 39 | extern int kernel_add_lsp (zebra_lsp_t *); |
40 | extern int kernel_upd_lsp (zebra_lsp_t *); | |
41 | extern int kernel_del_lsp (zebra_lsp_t *); | |
fe6c7157 | 42 | extern int mpls_kernel_init (void); |
40c7bdb0 | 43 | |
1498c059 | 44 | extern int kernel_get_ipmr_sg_stats (void *mroute); |
13d60d35 | 45 | extern int kernel_add_vtep (vni_t vni, struct interface *ifp, |
46 | struct in_addr *vtep_ip); | |
47 | extern int kernel_del_vtep (vni_t vni, struct interface *ifp, | |
48 | struct in_addr *vtep_ip); | |
718e3744 | 49 | #endif /* _ZEBRA_RT_H */ |