]>
Commit | Line | Data |
---|---|---|
7fc02572 RW |
1 | /* |
2 | * Copyright (C) 2016 by Open Source Routing. | |
3 | * | |
4 | * This file is part of GNU Zebra. | |
5 | * | |
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 | |
9 | * later version. | |
10 | * | |
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. | |
15 | * | |
896014f4 DL |
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 | |
7fc02572 RW |
19 | */ |
20 | ||
7758e3f3 | 21 | #include <zebra.h> |
be0dba35 | 22 | #include "zebra/rt.h" |
7758e3f3 | 23 | #include "zebra/zebra_mpls.h" |
24 | ||
ddfeb486 DL |
25 | #if !defined(HAVE_NETLINK) && !defined(OPEN_BSD) |
26 | ||
7c5d0e18 | 27 | enum dp_req_result kernel_add_lsp(zebra_lsp_t *lsp) |
d62a17ae | 28 | { |
7c5d0e18 | 29 | return DP_REQUEST_SUCCESS; |
d62a17ae | 30 | } |
7c5d0e18 DS |
31 | |
32 | enum dp_req_result kernel_upd_lsp(zebra_lsp_t *lsp) | |
d62a17ae | 33 | { |
7c5d0e18 | 34 | return DP_REQUEST_SUCCESS; |
d62a17ae | 35 | } |
7c5d0e18 DS |
36 | |
37 | enum dp_req_result kernel_del_lsp(zebra_lsp_t *lsp) | |
d62a17ae | 38 | { |
7c5d0e18 | 39 | return DP_REQUEST_SUCCESS; |
d62a17ae | 40 | } |
7c5d0e18 | 41 | |
d62a17ae | 42 | int mpls_kernel_init(void) |
43 | { | |
44 | return -1; | |
45 | }; | |
ddfeb486 DL |
46 | |
47 | #endif /* !defined(HAVE_NETLINK) && !defined(OPEN_BSD) */ |