aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/libpcap.c
AgeCommit message (Expand)AuthorFilesLines
2015-11-09Call the dumper routine to finish write a file the "finish" routine.Guy Harris1-1/+0
2015-01-03Remove unnecessary includes from wiretap folderMartin Mathieson1-1/+0
2015-01-02Add "Editor modelines"; Adjust whitespace as needed.Bill Meier1-16/+29
2014-12-18Rename WTAP_ERR_REC_TYPE_UNSUPPORTED to WTAP_ERR_UNWRITABLE_REC_TYPE.Guy Harris1-1/+1
2014-12-18Handle "I can't map this for that file format" better.Guy Harris1-2/+2
2014-12-17Rename WTAP_ERR_UNSUPPORTED_FILE_TYPE to WTAP_ERR_UNWRITABLE_FILE_TYPE.Guy Harris1-2/+2
2014-12-17Rename WTAP_ERR_UNSUPPORTED_ENCAP to WTAP_ERR_UNWRITABLE_ENCAP.Guy Harris1-1/+1
2014-12-17Use WTAP_ERR_UNSUPPORTED for input file stuff we can't handle.Guy Harris1-1/+1
2014-10-09Use an enum for the open-routine return value, as per Evan Huus's suggestion.Guy Harris1-12/+12
2014-10-07No need for WTAP_ERR_CANT_READ.Guy Harris1-3/+0
2014-10-07Add some higher-level file-read APIs and use them.Guy Harris1-19/+5
2014-09-28Make the time stamp resolution per-packet.Guy Harris1-13/+13
2014-09-20Set err_info if the attempts to read record headers fail.Guy Harris1-5/+5
2014-08-24Fix trailing blank.Guy Harris1-1/+1
2014-08-24Strengthen the heuristics for pcap subtypes.Guy Harris1-226/+205
2014-08-02Rename buffer_ routines to ws_buffer_ to avoid name collisions.Guy Harris1-1/+1
2014-07-15Only one buffer.c, please.Guy Harris1-1/+1
2014-06-25Update a comment.Guy Harris1-13/+16
2014-05-24Allow wtap_read() and wtap_seek_read() to return records other than packets.Guy Harris1-0/+7
2014-05-23Revert "Allow wtap_read() and wtap_seek_read() to return non-packet records."Guy Harris1-10/+8
2014-05-23Allow wtap_read() and wtap_seek_read() to return non-packet records.Guy Harris1-8/+10
2014-05-09Revert "Refactor Wiretap"Guy Harris1-87/+82
2014-05-09Refactor WiretapMichael Mann1-82/+87
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
2014-02-06Make some routines take a struct wtap_pkthdr * as an argument.Guy Harris1-2/+1
2014-01-22Don't write out packets that have a "captured length" bigger than we'reGuy Harris1-0/+6
2014-01-15Reject pcap files that claim on-the-wire packet sizes > 64MB. This fixes manyEvan Huus1-0/+18
2014-01-02No seek-read routines use the length argument, so eliminate it fromGuy Harris1-3/+2
2013-11-29Replace macros: BSWAP16, BSWAP32, BSWAP64 with glib-version.Jakub Zawadzki1-8/+8
2013-11-08The "file types" we have are actually combinations of types andGuy Harris1-33/+33
2013-07-16Explain that we don't have to worry about fixed-length buffers whoseGuy Harris1-1/+6
2013-07-15On the suggestion of Cal Turney, viaEvan Huus1-0/+6
2013-06-18Don't limit the on-the-wire length of packets to 64KB, there are larger packetsEvan Huus1-16/+3
2013-06-17Merge "read record header" and "read packet data" routines into a singleGuy Harris1-36/+24
2013-06-16Have the seek-read routines take a Buffer rather than a guint8 pointerGuy Harris1-44/+24
2013-05-18Fix "set but not used" compile warning turning errorJörg Mayer1-2/+0
2013-05-18In libpcap_process_header(), fill in what phdr points to, not wth->phdr.Guy Harris1-3/+3
2013-05-18In the pcapng seek-read routine, *don't* fill in wth->phdr; seek-readGuy Harris1-60/+68
2013-03-25Wiretap file open routines should not free wth->priv on error, since thatEvan Huus1-9/+0
2012-12-27Do not call wtap_file_read_unknown_bytes() orGuy Harris1-4/+4
2012-10-16Add wtap_pseudo_header union to wtap_pkthdr structure.Jakub Zawadzki1-7/+8
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
2012-07-19Addresses https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3895. Note tha...Michael Mann1-1/+3
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
2012-05-28Interface lists currently have to be constructed in the open routineGuy Harris1-12/+17
2012-05-24From Stephen Donnelly:Anders Broman1-0/+9
2012-05-04file_seek() used to be a wrapper around fseek() or gzseek(), both ofGuy Harris1-13/+10
2012-04-13Remove doubled semicolons and semicolons outside function.Jakub Zawadzki1-1/+1
2012-02-25Add a presence flag field to the packet information structure filled inGuy Harris1-0/+2
2011-12-13Rename WTAP_ERR_BAD_RECORD to WTAP_ERR_BAD_FILE; it really reports anyGuy Harris1-5/+5