Simple code movement. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2463 f5534014-38df-0310-8fa8-9805f1628bb7
Change dfilter_apply() to 4-argument function. 4th argument is not yet used, but will be in the future, and it's easier for me to keep my local branch in sync with the source with the calls to dfilter_apply() already modified tothe 4-arg format. Add a CPP macro to ipv4.h to define ipv4_addr_ne(). Use it in dfilter.c git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1854 f5534014-38df-0310-8fa8-9805f1628bb7
Change my e-mail address from @tivoli.com to @xiexie.org git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1831 f5534014-38df-0310-8fa8-9805f1628bb7
Fix Gerald's e-mail address. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1437 f5534014-38df-0310-8fa8-9805f1628bb7
Change ipv4 class to use ip_to_str() when converting IP address to string. ip_to_str() is 7 times faster than my sprintf() implementation (both of which take very little time for the single call that match_selected() makes, but you know....) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1071 f5534014-38df-0310-8fa8-9805f1628bb7
Change match_selected() to produce a display filter using the selected field's name, if possible. (If the selected field is not a registered field, then of course, we still have to use the frame[x:y] syntax). tree_selected_start and tree_selected_len are on longer globals variables; finfo_selected has replaced them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1070 f5534014-38df-0310-8fa8-9805f1628bb7
Add "class" that understands IPv4 addresses and subnet masks. We now store IPv4 addresses in host order, allowing non-equivalence comparisons. That is, display filters with lt, le, gt, and ge will work on big-endian and little-endian machines. CIDR notation is now supported for IPv4 addresses in display filters. You can test to see if an IPv4 address is on a certain subnet by using this notation. For example, to test for IPv4 packets on a Class-C network: ip.addr == 192.168.1.0/24 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1032 f5534014-38df-0310-8fa8-9805f1628bb7