2023-02-08 13:17:09 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2016-11-21 22:24:09 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 by Open Source Routing.
|
|
|
|
*/
|
|
|
|
|
2016-04-15 19:51:56 +02:00
|
|
|
#include <zebra.h>
|
2016-09-12 14:02:39 +02:00
|
|
|
#include "zebra/rt.h"
|
2016-04-15 19:51:56 +02:00
|
|
|
#include "zebra/zebra_mpls.h"
|
|
|
|
|
2017-07-26 19:49:15 +02:00
|
|
|
#if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
|
|
|
|
|
2016-09-22 04:59:57 +02:00
|
|
|
int mpls_kernel_init(void)
|
|
|
|
{
|
|
|
|
return -1;
|
|
|
|
};
|
2017-07-26 19:49:15 +02:00
|
|
|
|
2018-12-10 20:34:24 +01:00
|
|
|
/*
|
|
|
|
* Pseudowire update api - note that the default has been
|
|
|
|
* to report 'success' for pw updates on unsupported platforms.
|
|
|
|
*/
|
|
|
|
enum zebra_dplane_result kernel_pw_update(struct zebra_dplane_ctx *ctx)
|
|
|
|
{
|
|
|
|
return ZEBRA_DPLANE_REQUEST_SUCCESS;
|
|
|
|
}
|
|
|
|
|
2018-10-23 16:57:01 +02:00
|
|
|
enum zebra_dplane_result kernel_lsp_update(struct zebra_dplane_ctx *ctx)
|
|
|
|
{
|
|
|
|
return ZEBRA_DPLANE_REQUEST_FAILURE;
|
|
|
|
}
|
|
|
|
|
2017-07-26 19:49:15 +02:00
|
|
|
#endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */
|