aboutsummaryrefslogtreecommitdiffstats
path: root/ipv4.h
AgeCommit message (Collapse)AuthorFilesLines
2000-04-14Change dfilter_apply() to 4-argument function. 4th argument is not yet used,Gilbert Ramirez1-1/+3
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 svn path=/trunk/; revision=1854
2000-04-12Change my e-mail address from @tivoli.com to @xiexie.orgGilbert Ramirez1-2/+2
svn path=/trunk/; revision=1831
2000-01-07Fix Gerald's e-mail address.Guy Harris1-2/+2
svn path=/trunk/; revision=1437
1999-11-19Change ipv4 class to use ip_to_str() when converting IP address to string.Gilbert Ramirez1-3/+4
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....) svn path=/trunk/; revision=1071
1999-11-19Change match_selected() to produce a display filter using the selectedGilbert Ramirez1-1/+4
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. svn path=/trunk/; revision=1070
1999-11-15Add "class" that understands IPv4 addresses and subnet masks.Gilbert Ramirez1-0/+60
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 svn path=/trunk/; revision=1032