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.10, “Display Filter Macros window”.→ . Wireshark will open a corresponding dialog
Enter the name of your macro in the
Name column. Enter your filter macro in the
To learn more about the filter macros syntax, see the wireshark-filter man page.