]>
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; |
27732ac4 | 29 | struct ovsrec_bridge; |
f1a8bd06 | 30 | struct sbrec_chassis; |
27732ac4 | 31 | |
27732ac4 | 32 | void pinctrl_init(void); |
f4557c09 | 33 | void pinctrl_run(struct controller_ctx *, |
f1a8bd06 | 34 | const struct ovsrec_bridge *, const struct sbrec_chassis *, |
acfc41ff VAK |
35 | const struct chassis_index *, struct hmap *local_datapaths, |
36 | struct sset *active_tunnels); | |
0bac7164 | 37 | void pinctrl_wait(struct controller_ctx *); |
27732ac4 BS |
38 | void pinctrl_destroy(void); |
39 | ||
e4105d1e | 40 | #endif /* ovn/pinctrl.h */ |