netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git] / lib / route-table-stub.c
1 /* Copyright (c) 2012, 2013, 2014 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
17 #include "compiler.h"
18 #include "ovs-router.h"
19 #include "route-table.h"
20
21 bool
22 route_table_fallback_lookup(ovs_be32 ip_dst OVS_UNUSED,
23                             char output_bridge[] OVS_UNUSED,
24                             ovs_be32 *gw)
25 {
26     *gw = 0;
27     return false;
28 }
29
30 uint64_t
31 route_table_get_change_seq(void)
32 {
33     return 0;
34 }
35
36 void
37 route_table_init(void)
38 {
39     ovs_router_init();
40 }
41
42 void
43 route_table_run(void)
44 {
45 }
46
47 void
48 route_table_wait(void)
49 {
50 }