Hi All,
I made simple imlementation of 6. point from Wish list - Filter
generation from packet list. On right button on packet list is now
'Match Selected' and 'Prepare' menus. It will add correct expression for
pointed (not selected!) packet and it's column to filter or prepare
line. Now it works for that items of packet: No, time (all formats),
source and destination addr (HW, IPv4, IPv6, IPX), source and
destination port (UDP, TCP) and packet length. I have no ATM, AppleTalk,
SNA, VINES, OSI samples, so i'm not sure about correct filter
expressions. Protocol expressions are dissector specific, so I didn't
change it.
I had to change set_menu_sensitivity behavior a little, so now you
can enable/disable in each menu separately (main, packet list, tree view
and hex view).
There is new prepare line. There you can prepare filter expression
from filter dialog, showed packets, ... Then 'Use' button will apply
expression as active filter. 'Clear' button clears prepared expression.
There are two 'Filter' buttons. First opens filter dialog with filter
from active filter line, second one opens filter dialog with filter from
prepared line. In filter dialog are buttons 'To filter' and 'To prepare'
for transfering expression from filter dialog to appropriate line.
Jirka Novak
Attachment:
packet-menu.3.diff.gz
Description: GNU Zip compressed data