]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_mpls_null.c
staticd: Do not ready prefix for printing till it's decoded
[mirror_frr.git] / zebra / zebra_mpls_null.c
1 /*
2 * Copyright (C) 2016 by Open Source Routing.
3 *
4 * This file is part of GNU Zebra.
5 *
6 * GNU Zebra is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2, or (at your option) any
9 * later version.
10 *
11 * GNU Zebra is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; see the file COPYING; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #include <zebra.h>
22 #include "zebra/rt.h"
23 #include "zebra/zebra_mpls.h"
24
25 #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
26
27 enum zebra_dplane_result kernel_add_lsp(zebra_lsp_t *lsp)
28 {
29 return ZEBRA_DPLANE_REQUEST_SUCCESS;
30 }
31
32 enum zebra_dplane_result kernel_upd_lsp(zebra_lsp_t *lsp)
33 {
34 return ZEBRA_DPLANE_REQUEST_SUCCESS;
35 }
36
37 enum zebra_dplane_result kernel_del_lsp(zebra_lsp_t *lsp)
38 {
39 return ZEBRA_DPLANE_REQUEST_SUCCESS;
40 }
41
42 int mpls_kernel_init(void)
43 {
44 return -1;
45 };
46
47 #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */