Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

PCAP-FILTER (capture filter syntax) has an example showing destination address and multicast:

To access data inside the packet, use the following syntax: proto [ expr : size ]

For example, `ether[0] & 1 != 0' catches all multicast traffic

The source address is 6 bytes after the destination and the lg bit is 0x02.

ether[6] & 2 != 0

image description

PCAP-FILTER (capture filter syntax) has an example showing destination address and multicast:

To access data inside the packet, use the following syntax: proto [ expr : size ]

For example, `ether[0] & 1 != 0' catches all multicast traffic

The source address is 6 bytes after the destination (bytes 6-11) and the lg bit is 0x02.

ether[6] & 2 != 0

image description