]> git.proxmox.com Git - mirror_frr.git/blob - zebra/zebra_mpls_null.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / zebra / zebra_mpls_null.c
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * Copyright (C) 2016 by Open Source Routing.
4 */
5
6 #include <zebra.h>
7 #include "zebra/rt.h"
8 #include "zebra/zebra_mpls.h"
9
10 #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
11
12 int mpls_kernel_init(void)
13 {
14 return -1;
15 };
16
17 /*
18 * Pseudowire update api - note that the default has been
19 * to report 'success' for pw updates on unsupported platforms.
20 */
21 enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx)
22 {
23 return ZEBRA_DPLANE_REQUEST_SUCCESS;
24 }
25
26 enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx)
27 {
28 return ZEBRA_DPLANE_REQUEST_FAILURE;
29 }
30
31 #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */