Documentation

Create Ethernet Packet

Create Ethernet Packet based on the MAC address and EtherType provided

Library

Simulink® Real-Time™ Library for Ethernet

Description

Use the Create Ethernet Packet block to create the Ethernet packets that you want to transfer.

Block Parameters

Destination MAC

Enter the MAC address of the target computer to receive the data.

EtherType (use 0 for length)

Enter a value to represent either the EtherType or the length that the Ethernet frame is to transfer.

  • EtherType — If you are working with Ethernet packets that use EtherType values, enter a valid EtherType value to specify which prototype the Ethernet frame will transfer.

  • Ethernet length — If you are working with Ethernet packets that use Ethernet lengths, enter 0.

External Websites

Was this topic helpful?