~ubuntu-branches/ubuntu/wily/openvswitch/wily

« back to all changes in this revision

Viewing changes to lib/route-table-stub.c

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-08-10 11:35:15 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20150810113515-575vj06oq29emxsn
Tags: 2.4.0~git20150810.97bab95-0ubuntu1
* New upstream snapshot from 2.4 branch:
  - d/*: Align any relevant packaging changes with upstream.
* d/*: wrap-and-sort.
* d/openvswitch-{common,vswitch}.install: Correct install location for
  bash completion files.
* d/tests/openflow.py: Explicitly use ovs-testcontroller as provided
  by 2.4.0 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 * limitations under the License. */
14
14
 
15
15
#include <config.h>
 
16
 
 
17
#include "compiler.h"
 
18
#include "ovs-router.h"
16
19
#include "route-table.h"
17
20
 
18
 
#include "compiler.h"
19
 
 
20
21
bool
21
 
route_table_get_name(ovs_be32 ip OVS_UNUSED, char name[IFNAMSIZ] OVS_UNUSED)
 
22
route_table_fallback_lookup(ovs_be32 ip_dst OVS_UNUSED,
 
23
                            char output_bridge[] OVS_UNUSED,
 
24
                            ovs_be32 *gw)
22
25
{
23
 
    name[0] = '\0';
 
26
    *gw = 0;
24
27
    return false;
25
28
}
26
29
 
31
34
}
32
35
 
33
36
void
34
 
route_table_register(void)
35
 
{
36
 
}
37
 
 
38
 
void
39
 
route_table_unregister(void)
40
 
{
 
37
route_table_init(void)
 
38
{
 
39
    ovs_router_init();
41
40
}
42
41
 
43
42
void