output (Ethernet)
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
void output(ethernetPacket packet); // form 1void output(ethernetPacket packet, dword fcs); // form 2void output(ethernetErrorPacket packet); // form 3
Description
Outputs an Ethernet packet (form 1) from the program block.Form 2 can be used to output Ethernet packets with an invalid frame checksum.
Parameters
- packet: Variable of type ethernetPacket (form 1 and 2) or ethernetErrorPacket (form 3).
- fcs: Ethernet packet check sequence.