aboutsummaryrefslogtreecommitdiffstats
path: root/pcapio.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-27Fix a comment.tuexen1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28174 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-27Use GLib's G_MAXUINT16 as the largest value that fits in a guint16.guy1-11/+10
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28172 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-27Improve handling of strings longer than 64KB.tuexen1-26/+37
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28169 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-27Trying to make the Windows compiler happy.tuexen1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28168 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26More casts to deal with 64-bit size_t.guy1-4/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28167 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Cast both parts of a FILETIME to guint32, as I think DWORD is signed.guy1-1/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28166 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Add code that should work on Windows to get current time as microsecondsguy1-2/+29
since January 1, 1970, 00:00:00 UTC. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28165 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26(Try to) fix the 64-bit issues.tuexen1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28164 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Don't declare now when not used.tuexen1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28163 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Windows does not support gettimeofday(). Use 0 as a workaround for now.tuexen1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28162 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26constify some args of libpcap_write_enhanced_packet_block()tuexen1-2/+2
similar to libpcap_write_packet(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28161 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Fix names.tuexen1-22/+22
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28160 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Add functions to write several pcapng blocks.tuexen1-0/+291
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28159 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-26Make ringbuffer.[ch] file format agnostic.tuexen1-13/+18
Move write routines to dumpcap.c This is a preparation for pcapng support. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28155 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-01OK, fix it properly by adding test after config.h has been included...martinm1-4/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20668 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-01Fix with-pcap build by disabling HAVE_LIBPCAP guard for now, for some reason ↵martinm1-2/+3
it isn't defined when building this file. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20667 f5534014-38df-0310-8fa8-9805f1628bb7
2007-02-01there is no point in pcapio unless we have PCAP available.sahlberg1-0/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20663 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21name changesahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18197 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-04When capturing, we only support writing to libpcap files. Given that,guy1-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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17461 f5534014-38df-0310-8fa8-9805f1628bb7