forked from osmocom/wireshark
docbook: use fixed space section for filters code.
Change-Id: I6052bc3ec9705a272d0cd6f31cf8b5c1f4b8d45c Reviewed-on: https://code.wireshark.org/review/31573 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
9e7276d162
commit
18cd173974
|
@ -823,11 +823,19 @@ dialog works very similarly to that of <<ChCustColorizationSection>>.
|
|||
|
||||
Display Filter Macros are a mechanism to create shortcuts for complex filters.
|
||||
For example defining a display filter macro named _$$tcp_conv$$_ whose text is
|
||||
_( (ip.src == $1 and ip.dst == $2 and tcp.srcport == $3 and tcp.dstport == $4)
|
||||
|
||||
----
|
||||
(ip.src == $1 and ip.dst == $2 and tcp.srcport == $3 and tcp.dstport == $4)
|
||||
or (ip.src == $2 and ip.dst == $1 and tcp.srcport == $4 and tcp.dstport == $3)
|
||||
)_ would allow to use a display filter like
|
||||
_$$${tcp_conv:10.1.1.2;10.1.1.3;1200;1400}$$_ instead of typing the whole
|
||||
filter.
|
||||
----
|
||||
|
||||
would allow to use a display filter like
|
||||
|
||||
----
|
||||
${tcp_conv:10.1.1.2;10.1.1.3;1200;1400}
|
||||
----
|
||||
|
||||
instead of typing the whole filter.
|
||||
|
||||
Display Filter Macros can be managed with a user table, as described in
|
||||
<<ChUserTable>>, by selecting menu:Analyze[Display Filter Macros] from
|
||||
|
|
Loading…
Reference in New Issue