Found 13 other functions taking a
eth_addr
argument:
Send an ethernet packet on the network using netif->linkoutput(). The ethernet header is filled in before sending. @see LWIP_HOOK_VLAN_SET
Add a new static entry to the ARP table. If an entry exists for the specified IP address, this entry is overwritten. If packets are queued for the specified IP address, they are sent out.
Send a raw ARP packet (opcode and all addresses can be modified)
Send an ARP request packet asking for ipaddr to a specific eth address. Used to send unicast request to refresh the ARP table just before an entry times out
Get the forwarding port(s) (as bit mask) for the specified destination mac address
Add a static entry to the forwarding database. A static entry marks where frames to a specific eth address (unicast or group address) are forwarded. bits [0..(BRIDGEIF_MAX_PORTS-1)]: hw ports bit [BRIDGEIF_MAX_PORTS]: cpu port 0: drop
Remove a static entry from the forwarding database
Update (or insert) a IP/MAC address pair in the ARP cache. If a pending entry is resolved, any queued packets will be sent at this point. @see pbuf_free()
A real simple and slow implementation of an auto-learning forwarding database that remembers known src mac addresses to know which port to send frames destined for that mac address. ATTENTION: This is meant as an example only, in real-world use, you should provide a better implementation :-)
Walk our list of auto-learnt fdb entries and return a port to forward or BR_FLOOD if unknown
Finds (stable) ethernet/IP address pair from ARP table using interface and IP address index.
Possibility to iterate over stable ARP table entries
Helper function to see if a destination mac belongs to the bridge (bridge netif or one of the port netifs), in which case the frame is sent to the cpu only.