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 → . Wireshark will open a corresponding dialog Figure 6.11, “Display Filter Macros window”.
Name column. Enter your filter macro in the Text column.
To learn more about display filter macro syntax, see Section 11.8, “Display Filter Macros”.