Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Filter Address

Filter Ethernet packets based on MAC address

Description

To filter network buffer packets by their MAC addresses, use the Filter Address block. See Filter Type and Filter Address Blocks for cautions on setting the parameters for this block.

Ports

Input

expand all

The parameter is a reference to the network buffer.

Output

expand all

If you specify one MAC address, one port appears with the name Match. The block directs packets with this MAC address to port Match.

If you specify more than one MAC address, multiple ports appear, matched to the values in parameter MAC Address. The block directs packets with the first address to Match Addr (1), with the second address to Match Addr (2), and so on.

Dependency

The port count depends on how many MAC addresses appear in parameter MAC Address.

Packets that do not meet the filter criteria appear at this port.

Dependency

To activate this port, clear Drop non-matches.

Parameters

expand all

Enter a cell array that contains the MAC addresses for the filter.

To discard packets that do not match the filter criteria, select this parameter.

To output packets that do not match the filter criteria, clear this parameter.

To filter addresses for the source address, clear this check box (default).

To filter addresses for the destination address, select this check box.

Introduced in R2008b

Was this topic helpful?