Lines Matching defs:ports
42 * (one hardware-independent netif for the bridge that uses hardware netifs for its ports).
49 * - only NETIF_FLAG_ETHARP/NETIF_FLAG_ETHERNET netifs are supported as bridge ports
54 * - some configuration options controlling the memory consumption (maximum number of ports
56 * - e.g. for a bridge MAC address 00-01-02-03-04-05, 2 bridge ports, 1024 FDB entries + 16 static MAC entries:
63 * - set up all ports netifs and the bridge netif
75 * - multicast snooping? (and only forward group addresses to interested ports)
76 * - support removing ports
78 * - VLAN handling / trunk ports
115 bridgeif_port_t *ports;
130 * bits [0..(BRIDGEIF_MAX_PORTS-1)]: hw ports
135 bridgeif_fdb_add(struct netif *bridgeif, const struct eth_addr *addr, bridgeif_portmask_t ports)
150 br->fdbs[i].dst_ports = ports;
235 struct netif *portif = br->ports[i].port_netif;
254 struct netif *portif = br->ports[dstport_idx].port_netif;
271 /** Helper function to pass a pbuf to all ports marked in 'dstports'
371 /* is this for one of the local ports? */
381 /* no need to send to cpu, flooding is for external ports only */
405 * and controls memory allocation (number of ports, FDB size).
450 br->ports = (bridgeif_port_t *)(br + 1);
543 port = &br->ports[br->num_ports];