ConOpSys V2970
P004.07
ANVILEX control operating system
|
#include "netif/bridgeif_opts.h"
#include "lwip/err.h"
#include "lwip/prot/ethernet.h"
#include "lwip/tcpip.h"
Go to the source code of this file.
Classes | |
struct | bridgeif_initdata_s |
Macros | |
#define | BR_FLOOD ((bridgeif_portmask_t)-1) |
#define | BRIDGEIF_INITDATA1(max_ports, max_fdb_dynamic_entries, max_fdb_static_entries, ethaddr) {ethaddr, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries} |
#define | BRIDGEIF_INITDATA2(max_ports, max_fdb_dynamic_entries, max_fdb_static_entries, e0, e1, e2, e3, e4, e5) {{e0, e1, e2, e3, e4, e5}, max_ports, max_fdb_dynamic_entries, max_fdb_static_entries} |
#define | BRIDGEIF_DECL_PROTECT(lev) |
#define | BRIDGEIF_READ_PROTECT(lev) |
#define | BRIDGEIF_READ_UNPROTECT(lev) |
#define | BRIDGEIF_WRITE_PROTECT(lev) |
#define | BRIDGEIF_WRITE_UNPROTECT(lev) |
Typedefs | |
typedef u8_t | bridgeif_portmask_t |
typedef struct bridgeif_initdata_s | bridgeif_initdata_t |
Functions | |
err_t | bridgeif_init (struct netif *netif) |
err_t | bridgeif_add_port (struct netif *bridgeif, struct netif *portif) |
err_t | bridgeif_fdb_add (struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t ports) |
err_t | bridgeif_fdb_remove (struct netif *bridgeif, const struct eth_addr *addr) |
void | bridgeif_fdb_update_src (void *fdb_ptr, struct eth_addr *src_addr, u8_t port_idx) |
bridgeif_portmask_t | bridgeif_fdb_get_dst_ports (void *fdb_ptr, struct eth_addr *dst_addr) |
void * | bridgeif_fdb_init (u16_t max_fdb_entries) |
lwIP netif implementing an IEEE 802.1D MAC Bridge
#define BR_FLOOD ((bridgeif_portmask_t)-1) |
#define BRIDGEIF_DECL_PROTECT | ( | lev | ) |
#define BRIDGEIF_READ_PROTECT | ( | lev | ) |
#define BRIDGEIF_READ_UNPROTECT | ( | lev | ) |
#define BRIDGEIF_WRITE_PROTECT | ( | lev | ) |
#define BRIDGEIF_WRITE_UNPROTECT | ( | lev | ) |
typedef u8_t bridgeif_portmask_t |
err_t bridgeif_fdb_add | ( | struct netif * | bridgeif, |
const struct eth_addr * | addr, | ||
bridgeif_portmask_t | ports | ||
) |