You can define a filter macro with Wireshark and label it for later use. This can save time in remembering and retyping some of the more complex filters you use.
To define and save your own filter macros, follow the steps below:
In the main menu select Figure 6.11, “Display Filter Macros window”.
→ . Wireshark will open a corresponding dialogMacro Name
column. Enter your filter macro in the Macro Expression
column.
To learn more about display filter macro syntax, see Section 11.8, “Display Filter Macros”.