Manipulation of MAC Address or Ethernet Packet Content at Run Time
How can I manipulate the MAC address or the content of an Ethernet packet at run time?
If you use the TCP/IP stack instance in CANoe to send or receive the Ethernet packet, it is possible to manipulate the packet and change every Ethernet packet's field at run time. Depending on the packet direction you should either use the OnIpSendPrepare or OnIpReceivePrepare callback functions.To access the fields, please use the available ethernetPacket object’s selectors.
For more information please consult our corresponding CANoe online help.
Please complete all required fields. Fields marked with * are required.