Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
ethernet_bridge_fdb.h File Reference

Definitions for Ethernet bridge FDB. More...

Go to the source code of this file.

Data Structures

struct  eth_bridge_fdb_entry
 FDB entry structure. More...

Macros

#define ETHERNET_BRIDGE_FDB_FLAG_STATIC   BIT(0)
 FDB entry flags.
#define ETHERNET_BRIDGE_FDB_FLAG_DYNAMIC   BIT(1)
 Dynamic entry (learned).

Typedefs

typedef void(* eth_bridge_fdb_entry_cb_t) (struct eth_bridge_fdb_entry *entry, void *user_data)
 Callback function type for iterating over FDB entries.

Functions

int eth_bridge_fdb_add (struct net_eth_addr *mac, struct net_if *iface)
 Add a static FDB entry.
int eth_bridge_fdb_del (struct net_eth_addr *mac, struct net_if *iface)
 Delete an FDB entry.
int eth_bridge_fdb_del_iface (struct net_if *iface)
 Delete FDB entries on an interface.
void eth_bridge_fdb_foreach (eth_bridge_fdb_entry_cb_t cb, void *user_data)
 Iterate over all entries in the FDB table.

Detailed Description

Definitions for Ethernet bridge FDB.