2014-05-01 10:53:48 -07:00
|
|
|
/* Copyright (c) 2012, 2013, 2014 Nicira, Inc.
|
2012-10-05 13:24:21 -07:00
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
|
* You may obtain a copy of the License at:
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License. */
|
|
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
|
|
#include "compiler.h"
|
2014-11-10 16:31:47 +09:00
|
|
|
#include "ovs-router.h"
|
|
|
|
|
#include "route-table.h"
|
2012-10-05 13:24:21 -07:00
|
|
|
|
|
|
|
|
bool
|
2014-11-17 14:40:22 +09:00
|
|
|
route_table_fallback_lookup(ovs_be32 ip_dst OVS_UNUSED,
|
|
|
|
|
char output_bridge[] OVS_UNUSED,
|
|
|
|
|
ovs_be32 *gw)
|
2012-10-05 13:24:21 -07:00
|
|
|
{
|
2014-10-16 11:38:12 -07:00
|
|
|
*gw = 0;
|
2012-10-05 13:24:21 -07:00
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2014-05-01 10:53:48 -07:00
|
|
|
uint64_t
|
|
|
|
|
route_table_get_change_seq(void)
|
|
|
|
|
{
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2012-10-05 13:24:21 -07:00
|
|
|
void
|
2014-11-26 11:27:05 -08:00
|
|
|
route_table_init(void)
|
2012-10-05 13:24:21 -07:00
|
|
|
{
|
2014-11-17 14:40:22 +09:00
|
|
|
ovs_router_init();
|
2012-10-05 13:24:21 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
route_table_run(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
2013-01-25 14:54:31 -08:00
|
|
|
|
|
|
|
|
void
|
|
|
|
|
route_table_wait(void)
|
|
|
|
|
{
|
|
|
|
|
}
|