Filter Ethernet packets based on EtherType
Simulink Real-Time / Ethernet
To filter network buffer packets by their EtherType values, use the Filter Type block. See Filter Type and Filter Address Blocks for cautions on setting the parameters for this block.
Match Length— Network buffer chain containing packets that match length filter
One port receives packets with EtherType values within
To activate this port, select parameter Match Length (1-1500).
Match [Type (#)]— Network buffer chain containing packets that match filter
If you specify one Ethertype, one port appears with the name
The block directs packets with this EtherType to port
If you specify more than one EtherType, multiple ports appear,
matched to the values in parameter EtherType.
The block directs packets with the first EtherType to
Type (1), with the second EtherType to
Type (2), and so on.
The port count depends on how many EtherTypes appear in parameter EtherType.
Match Length (1-1500)— Match packets with EtherType values within
To match packets whose EtherType values
fall within the range
1–1500, select this
EtherType— EtherTypes on which to filter
[hex2dec('0000')](default) | vector
Enter a vector of EtherTypes on which you want to filter.