]> git.proxmox.com Git - mirror_ovs.git/blame - lib/route-table.h
cirrus: Use FreeBSD 12.2.
[mirror_ovs.git] / lib / route-table.h
CommitLineData
a132aa96 1/*
41ca1e0a 2 * Copyright (c) 2011, 2012, 2013, 2014 Nicira, Inc.
a132aa96
EJ
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at:
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef ROUTE_TABLE_H
18#define ROUTE_TABLE_H 1
19
14235530 20#include <sys/types.h>
f6eb6b20 21#include <sys/socket.h>
b46ccdf5 22#include <net/if.h>
ec6c5379 23#include <netinet/in.h>
a132aa96
EJ
24#include <stdbool.h>
25#include <stdint.h>
26
27#include "openvswitch/types.h"
28
41ca1e0a 29uint64_t route_table_get_change_seq(void);
b772066f 30void route_table_init(void);
a132aa96
EJ
31void route_table_run(void);
32void route_table_wait(void);
ec6c5379
PS
33bool route_table_fallback_lookup(const struct in6_addr *ip6_dst,
34 char name[],
35 struct in6_addr *gw6);
a132aa96 36#endif /* route-table.h */