GiPHouse/qbaylogic-clash-based-macipudp-stack-spring24

Implement IP to Ethernet stream transformer using fixed destination MAC address

Closed this issue · 2 comments

Feature description
A transformer is needed to build an EthernetHeader given an IPAddress. In this issue the IP to MAC translation can be done with a fixed hardcoded MAC address.

Expected behaviour
EthernetHeader is build from an IPAddress.

Expected steps

The circuit is expected to have type

toEthernet
  :: HiddenClockResetEnable dom
  => Circuit (PacketStream dom n IPAddress) (PacketStream dom n EthernetHeader)

I don't think this is blocked by the IP packetizer, you just need the definition of IPAddress for this trivial component.

Correct. I have updated the description