aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ipfix.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-01Use guint8 rather than guchar for raw octets and pointers to arrays ofguy1-2/+2
same. Add to wiretap/pcap-common.c a routine to fill in the pseudo-header for ATM (by looking at the VPI, VCI, and packet data, and guessing) and Ethernet (setting the FCS length appropriately). Use it for both pcap and pcap-ng files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38840 f5534014-38df-0310-8fa8-9805f1628bb7
2011-04-21Add a new WTAP_ERR_DECOMPRESS error, and use that for errors discoveredguy1-4/+4
by the gunzipping code. Have it also supply a err_info string, and report it. Have file_error() supply an err_info string. Put "the file" - or, for WTAP_ERR_DECOMPRESS, "the compressed file", to suggest a decompression error - into the rawshark and tshark errors, along the lines of what other programs print. Fix a case in the Netscaler code where we weren't fetching the error code on a read failure. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36748 f5534014-38df-0310-8fa8-9805f1628bb7
2011-02-04Set *err before *err_info - that's how it's done in most other modules.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35805 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-21Fix a cut-n-pasteo in a comment.morriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34603 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-20From Jeff Morriss: Fix crash: WTAP_ERR_BAD_RECORD error return needs to fill ↵wmeier1-6/+15
in *err_info. From me: For ipfix_open() don't actually return with *err=WTAP_ERR_BAD_RECORD. Also: Move #define RECORDS_FOR_IPFIX_CHECK to ipfix.c from ipfix.h since the definition is only used in ipfix.c. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34589 f5534014-38df-0310-8fa8-9805f1628bb7
2010-10-20From Hadriel Kaplan: IPFIX file format support.wmeier1-0/+326
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5242 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34576 f5534014-38df-0310-8fa8-9805f1628bb7