Engee documentation

RITM-ETH-RAW Pack

Page in progress.

Creating an Ethernet packet from a set of fields.

ritm eth raw pack

Description

The block is used to create an Ethernet packet from a set of fields.

Ports

Input

*MAC of the destination — MAC address of the destination device
scalar

*Sender’s MAC — MAC address to be specified as the sender’s MAC
scalar

Protocol type - protocol label that the packet will contain (2 bytes)
scalar

Data - array of data to be placed in the package
vector

Data size — data segment size
scalar

Details

A number to be used to determine the packet size to be transmitted.

Output

Packet size - number of bytes to be transferred from the Packet array
scalar

Packet - an array of consecutive fields MAC of receiver, MAC of sender, label Protocol type and array Data
vector

Parameters

Maximum size of the "Data " input — the largest size of the data array that can be fed to the block input
`60 (By default).