]> git.proxmox.com Git - mirror_ovs.git/blame - lib/route-table-stub.c
config: Add explicit support for building on ESX.
[mirror_ovs.git] / lib / route-table-stub.c
CommitLineData
361906b1
EJ
1/* Copyright (c) 2012 Nicira, Inc.
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License. */
14
15#include <config.h>
16#include "route-table.h"
17
18#include "compiler.h"
19
20bool
21route_table_get_name(ovs_be32 ip OVS_UNUSED, char name[IFNAMSIZ] OVS_UNUSED)
22{
23 name[0] = '\0';
24 return false;
25}
26
27bool
28route_table_get_ifindex(ovs_be32 ip OVS_UNUSED, int *ifindex)
29{
30 *ifindex = 0;
31 return false;
32}
33
34void
35route_table_register(void)
36{
37}
38
39void
40route_table_unregister(void)
41{
42}
43
44void
45route_table_run(void)
46{
47}