aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
AgeCommit message (Collapse)AuthorFilesLines
2006-01-11same command line related changes as recently done with editcapUlf Lamping1-16/+32
svn path=/trunk/; revision=16996
2005-08-24EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping1-3/+3
I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
2005-08-19Add APIs to Wiretap to return the file of the size as supplied by the OSGuy Harris1-11/+8
(so if the file's gzipped, it's *NOT* the size of the file after uncompressing), and an approximation of the amount of that data read sequentially so far. Use those for various progress bars and the like. Make the fstat() in the Ascend trace reader directly use wth->fd, as it's inside Wiretap; that gets rid of the last caller of wtap_fd() (as we're no longer directly using fstat() or lseek() in Ethereal), so get rid of wtap_fd(). svn path=/trunk/; revision=15437
2005-01-11Improve the error reporting.Guy Harris1-14/+26
Remove a duplicate #include, and shuffle the includes a bit to put OS includes before other includes. svn path=/trunk/; revision=13003
2005-01-03Let capinfos print statistics for more than one file. NormalizeGerald Combs1-22/+30
capitalization. svn path=/trunk/; revision=12945
2004-10-20renamed capinfo to capinfos, as the former name capinfo was already used in ↵Ulf Lamping1-0/+332
a program called tcprelay, so that might confuse packaging managers and users. Hopefully I got all the places need to be changed. svn path=/trunk/; revision=12358