aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-27Fix a comment.Michael Tüxen1-1/+1
svn path=/trunk/; revision=28174
2009-04-27Use GLib's G_MAXUINT16 as the largest value that fits in a guint16.Guy Harris1-11/+10
svn path=/trunk/; revision=28172
2009-04-27Improve handling of strings longer than 64KB.Michael Tüxen1-26/+37
svn path=/trunk/; revision=28169
2009-04-27Trying to make the Windows compiler happy.Michael Tüxen1-2/+2
svn path=/trunk/; revision=28168
2009-04-26More casts to deal with 64-bit size_t.Guy Harris1-4/+6
svn path=/trunk/; revision=28167
2009-04-26Cast both parts of a FILETIME to guint32, as I think DWORD is signed.Guy Harris1-1/+5
svn path=/trunk/; revision=28166
2009-04-26Add code that should work on Windows to get current time as microsecondsGuy Harris1-2/+29
since January 1, 1970, 00:00:00 UTC. svn path=/trunk/; revision=28165
2009-04-26(Try to) fix the 64-bit issues.Michael Tüxen1-5/+5
svn path=/trunk/; revision=28164
2009-04-26Don't declare now when not used.Michael Tüxen1-0/+2
svn path=/trunk/; revision=28163
2009-04-26Windows does not support gettimeofday(). Use 0 as a workaround for now.Michael Tüxen1-0/+4
svn path=/trunk/; revision=28162
2009-04-26constify some args of libpcap_write_enhanced_packet_block()Michael Tüxen1-2/+2
similar to libpcap_write_packet(). svn path=/trunk/; revision=28161
2009-04-26Fix names.Michael Tüxen1-22/+22
svn path=/trunk/; revision=28160
2009-04-26Add functions to write several pcapng blocks.Michael Tüxen1-0/+291
svn path=/trunk/; revision=28159
2009-04-26Make ringbuffer.[ch] file format agnostic.Michael Tüxen1-13/+18
Move write routines to dumpcap.c This is a preparation for pcapng support. svn path=/trunk/; revision=28155
2007-02-01OK, fix it properly by adding test after config.h has been included...Martin Mathieson1-4/+3
svn path=/trunk/; revision=20668
2007-02-01Fix with-pcap build by disabling HAVE_LIBPCAP guard for now, for some reason ↵Martin Mathieson1-2/+3
it isn't defined when building this file. svn path=/trunk/; revision=20667
2007-02-01there is no point in pcapio unless we have PCAP available.Ronnie Sahlberg1-0/+4
svn path=/trunk/; revision=20663
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2006-03-04When capturing, we only support writing to libpcap files. Given that,Guy Harris1-0/+186
bypass Wiretap; that means we don't have to run the packet through wtap_process_pcap_packet() and then undo that conversion in Wiretap if we're just going to write it out, shortening the code path. svn path=/trunk/; revision=17461