]>
Commit | Line | Data |
---|---|---|
0bac7164 | 1 | |
6335d074 | 2 | /* Copyright (c) 2015, 2016 Nicira, Inc. |
27732ac4 BS |
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 | ||
e4105d1e BP |
17 | #ifndef PINCTRL_H |
18 | #define PINCTRL_H 1 | |
27732ac4 BS |
19 | |
20 | #include <stdint.h> | |
21 | ||
acfc41ff | 22 | #include "lib/sset.h" |
064d7f84 | 23 | #include "openvswitch/meta-flow.h" |
27732ac4 | 24 | |
acfc41ff | 25 | struct chassis_index; |
714651c7 | 26 | struct controller_ctx; |
0ee8aaf6 | 27 | struct hmap; |
0bac7164 | 28 | struct lport_index; |
d14e007c | 29 | struct ovsdb_idl_index; |
27732ac4 | 30 | struct ovsrec_bridge; |
f1a8bd06 | 31 | struct sbrec_chassis; |
0eb1e37c BP |
32 | struct sbrec_dns_table; |
33 | struct sbrec_mac_binding_table; | |
27732ac4 | 34 | |
27732ac4 | 35 | void pinctrl_init(void); |
f4557c09 | 36 | void pinctrl_run(struct controller_ctx *, |
d14e007c BP |
37 | struct ovsdb_idl_index *sbrec_datapath_binding_by_key, |
38 | struct ovsdb_idl_index *sbrec_port_binding_by_datapath, | |
39 | struct ovsdb_idl_index *sbrec_port_binding_by_key, | |
40 | struct ovsdb_idl_index *sbrec_port_binding_by_name, | |
0eb1e37c BP |
41 | const struct sbrec_dns_table *, |
42 | const struct sbrec_mac_binding_table *, | |
f1a8bd06 | 43 | const struct ovsrec_bridge *, const struct sbrec_chassis *, |
83293ddf BP |
44 | const struct chassis_index *, |
45 | const struct hmap *local_datapaths, | |
46 | const struct sset *active_tunnels); | |
0bac7164 | 47 | void pinctrl_wait(struct controller_ctx *); |
27732ac4 BS |
48 | void pinctrl_destroy(void); |
49 | ||
e4105d1e | 50 | #endif /* ovn/pinctrl.h */ |