2 * Copyright (C) 2016 by Open Source Routing.
4 * This file is part of GNU Zebra.
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
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.
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
23 #include "zebra/zebra_mpls.h"
25 #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD)
27 int mpls_kernel_init(void)
33 * Pseudowire update api - note that the default has been
34 * to report 'success' for pw updates on unsupported platforms.
36 enum zebra_dplane_result
kernel_pw_update(struct zebra_dplane_ctx
*ctx
)
38 return ZEBRA_DPLANE_REQUEST_SUCCESS
;
41 enum zebra_dplane_result
kernel_lsp_update(struct zebra_dplane_ctx
*ctx
)
43 return ZEBRA_DPLANE_REQUEST_FAILURE
;
46 #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */