]> git.proxmox.com Git - mirror_ovs.git/blame - vswitchd/bridge.h
netdev: Implement an abstract interface to network devices.
[mirror_ovs.git] / vswitchd / bridge.h
CommitLineData
064af421 1/* Copyright (c) 2008, 2009 Nicira Networks
064af421 2 *
a14bc59f
BP
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at:
064af421 6 *
a14bc59f 7 * http://www.apache.org/licenses/LICENSE-2.0
064af421 8 *
a14bc59f
BP
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
064af421
BP
14 */
15
16#ifndef VSWITCHD_BRIDGE_H
17#define VSWITCHD_BRIDGE_H 1
18
19#include <stddef.h>
20#include "list.h"
21
22struct svec;
23
24void bridge_init(void);
25void bridge_reconfigure(void);
26int bridge_run(void);
27void bridge_wait(void);
28bool bridge_exists(const char *);
29uint64_t bridge_get_datapathid(const char *name);
30void bridge_get_ifaces(struct svec *svec);
31
32#endif /* bridge.h */