ethGetMacAddressAsString
Open topic with navigation CAPL Functions » Ethernet » Function Overview » ethGetMacAddressAsStringFunction Syntax
Description
Converts a MAC address from qword to string. The function is helpful with ethernetPacket.source and ethernetPacket.destination.Parameters
- macAddr: MAC address as qword, i.e. from ethernetPacket.source.
- buffer: Buffer where the MAC address string is copied to.
- bufferLength: Length of buffer
Return Values
- 0: The function completed successfully.
- 8: The address buffer was insufficient.