1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2016 by Open Source Routing.
8 #include "zebra/zebra_mpls.h"
10 #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
12 int mpls_kernel_init(void)
18 * Pseudowire update api - note that the default has been
19 * to report 'success' for pw updates on unsupported platforms.
21 enum zebra_dplane_result
kernel_pw_update(struct zebra_dplane_ctx
*ctx
)
23 return ZEBRA_DPLANE_REQUEST_SUCCESS
;
26 enum zebra_dplane_result
kernel_lsp_update(struct zebra_dplane_ctx
*ctx
)
28 return ZEBRA_DPLANE_REQUEST_FAILURE
;
31 #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */