Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Ethernet Bridge public header file. More...
Go to the source code of this file.
Typedefs | |
typedef void(* | eth_bridge_cb_t) (struct eth_bridge_iface_context *br, void *user_data) |
Callback used while iterating over bridge instances. | |
Functions | |
int | eth_bridge_iface_add (struct net_if *br, struct net_if *iface) |
Add an Ethernet network interface to a bridge. | |
int | eth_bridge_iface_remove (struct net_if *br, struct net_if *iface) |
Remove an Ethernet network interface from a bridge. | |
int | eth_bridge_get_index (struct net_if *br) |
Get bridge index according to pointer. | |
struct net_if * | eth_bridge_get_by_index (int index) |
Get bridge instance according to index. | |
void | net_eth_bridge_foreach (eth_bridge_cb_t cb, void *user_data) |
Go through all the bridge context instances in order to get information about them. | |
Ethernet Bridge public header file.
Ethernet Bridges connect two or more Ethernet networks together and transparently forward packets from one network to the others as if they were part of the same network.