Currently I try to port Profinet stack to AM2432 based on icssg enet_lwip example. But I don't know how to use enet API to handel
1) Set L2 multicast forward rules, for example: AM2342 has port0 (management port), port 1(physical port), port 2(physical port) . How to set the forward rules like:
01-80-C2-00-00-0E: port 1 -> port0; port2 -> port0
01-0E-CF-00-00-00: port 1 -> port0 and port2; port2 -> port0 and port 1
Can I use EnetFdb_Ioctl to control this? How to?
2) Get ingress port number via Lwip API
For example: If using lwip_hook_unknown_eth_protocol to handel LLDP package, how to get the ingress port of incoming LLDP packet?
3) Specify egress port via netif->linkoutput
If I want to send a LLDP multicast package to port 1, how to achieve this?