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