]> git.proxmox.com Git - mirror_ovs.git/blob - lib/route-table.h
cirrus: Use FreeBSD 12.2.
[mirror_ovs.git] / lib / route-table.h
1 /*
2 * Copyright (c) 2011, 2012, 2013, 2014 Nicira, Inc.
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
20 #include <sys/types.h>
21 #include <sys/socket.h>
22 #include <net/if.h>
23 #include <netinet/in.h>
24 #include <stdbool.h>
25 #include <stdint.h>
26
27 #include "openvswitch/types.h"
28
29 uint64_t route_table_get_change_seq(void);
30 void route_table_init(void);
31 void route_table_run(void);
32 void route_table_wait(void);
33 bool route_table_fallback_lookup(const struct in6_addr *ip6_dst,
34 char name[],
35 struct in6_addr *gw6);
36 #endif /* route-table.h */