Display Filter Syntax
and
and or
, and parentheses into complex expressions.Display Filter Fields
Note
To only display TCP packets, type
tcp
into the display filter toolbar.To only display IP packets with options, type
ip.opt
into the display filter toolbar.
Important
You can filter any protocol that Traffic Viewer supports. (as long as custom columns can be applied to the filter, you can use the filter with those fields)
a full list of possible fields can be accessible in Fields List.
Comparing Values
Note
To only display packets to the IP address 192.168.0.1, use
ip.dst == 192.168.0.1
.
Display Filter comparison operators
Literal |
Symbol |
Description |
Example |
|
|
Equals |
|
|
|
Not Equals |
|
|
|
Greater than |
|
|
|
Less than |
|
|
|
Greater than or equal to |
|
|
|
Less than or equal to |
|
|
|
Strictly Not Equals |
|
Important
A packet may have one or more values of a field, so the comparison depends on all the values of the field.
The
!==
operator is different from!=
in that:
!==
operator is equivalent to the opposite of a==
comparison (would return true if the value entered is different than all of the field values).
!=
would return true if the value entered is different than any of the field values.
Display Filter Field Types
Signed/Unsinged Integer
ip.len le 16
ip.len le 0b1101
ip.len le 0xd
Ethernet address
eth.dst == ff:ff:ff:ff:ff:ff
IPv4 Address
ip.addr == 192.168.0.1
IPv6 Address
ipv6.addr == 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Text string
'
or quotation marks "
:frame.src == "ECU_1"
Combining Expressions
Literal |
Symbol |
Description |
Example |
|
|
Logical AND |
|
|
|
Logical OR |
|
|
|
Logical XOR |
|
|
|
Logical not |
|
Filtering on Signals from protocol
protocol.signals.signal_name
,where protocol
is the protocol name and signal_name
is the signal name.
Note
filtering on signals would use the physical value of the signals, if the raw value is needed,
then .raw
needs to be added to the filter expression: protocol.signals.signal_name.raw
.
Fields List
A list of all accessible fields for the display filter in Traffic Viewer
Fields
- AH protocol (IPv6 Option)
- ARP Protocol
- BR-SPY CAN
- BR-SPY FlexRay
- BR-SPY LIN
- BR-SPY Common
- BtsDecoder
- BtsEvoDecoder
- CANDecoder
- General Fields (protocol independent)
- DHCP Protocol
- DoIP Protocol
- EmcCanDecoder
- Ethernet Protocol
- Expert Info fields (protocol independent)
- ICMPv4 Protocol
- ICMPv6 Protocol
- IEEE17221 Protocol (IEEE1722 Subtype)
- IEEE1722 Protocol
- IPv4 Protocol
- IPv6 Protocol
- IPv6 Options
- MAAP Protocol (IEEE1722 Subtype)
- Media Gateway Can
- MgFlexRayDecoder
- Exception fields
- Packet Fields
- PDU Transport Protocol
- Post Filter Fields
- PTP Protocol
- SHIM6 Protocol (IPv6 Option)
- Signals
- SOME/IP Protocol
- SOME/IP-SD Protocol
- Frame Fields
- TCP Protocol
- TECMP Protocol
- UDP Protocol
- UDP NM
- VLAN Protocol