aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-02-22Rename some enumeration constants; Do some minor code simplification & ↵Bill Meier1-15/+12
reformatting. svn path=/trunk/; revision=41138
2012-02-22- Write ISB(s) at start and end of capture.Anders Broman4-16/+255
- Read all options. - Prepare to write ISB. svn path=/trunk/; revision=41137
2012-02-22Expand the API for ISB:sAnders Broman3-5/+74
svn path=/trunk/; revision=41136
2012-02-22Reverse Revision 41134 (Need to fix error/warning before...)Alexis La Goutte9-9624/+974
svn path=/trunk/; revision=41135
2012-02-22From Lars Ruoff:Anders Broman9-974/+9624
Dissector for Alcatel-Lucent Enterprise Universal Alcatel- and NOE protocol families. Meant as a replacement for existing UA-dissector in trunk because of better feature set: - latest protocol specifiaction - more detailed dissection and filtering possibilities on subprotocols - RTP stream setup - NOE over SIP Lars Ruoff On behalf of Alcatel-Lucent Enterprise https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844 svn path=/trunk/; revision=41134
2012-02-22More debugging information - in at least one of the failures, neither ofGuy Harris1-0/+6
the "Wrote xxx" messages was printed, although the compiler appeared to have been run on the .c file that was never claimed to have been written, but got an error because it couldn't find the .h file (also never claimed to have been written), and in one of the successes on the same buildbot, they were both printed for the same file. svn path=/trunk/; revision=41133
2012-02-22Handle the case where there are no IDBs before the first non-SHB/non-IDBGuy Harris1-0/+4
block, which could be the case even in a *valid* file (consider a file with an SHB, an NRB, an IDB, and a packet block, in that order); even if there's no IDB before the first packet block, that should be reported to the user as "interface N not less than interface count M", to more precisely indicate the problem. (Yes, the loop should probably keep going until it finds a packet block, not just a non-IDB block.) svn path=/trunk/; revision=41132
2012-02-22We need to build libui even if we're only building TShark. Fixes bugGuy Harris2-3/+3
6855. svn path=/trunk/; revision=41131
2012-02-21Small fix.Michael Tüxen1-2/+1
svn path=/trunk/; revision=41129
2012-02-21From Irene Ruengeler: Describe what we currently have in trunk/Michael Tüxen2-194/+337
related to capturing from multiple interfaces. svn path=/trunk/; revision=41128
2012-02-21From Irene Ruengeler: Updated screenshots.Michael Tüxen10-0/+0
svn path=/trunk/; revision=41127
2012-02-21Fix bugs which resulted in the buildbot errors.Michael Tüxen1-4/+4
svn path=/trunk/; revision=41126
2012-02-21Correctly write os string...Michael Tüxen1-2/+2
svn path=/trunk/; revision=41125
2012-02-21Whitespace changes.Michael Tüxen1-12/+12
svn path=/trunk/; revision=41124
2012-02-21Use wtap_dump_open_ng() in tshark.Michael Tüxen2-12/+12
svn path=/trunk/; revision=41123
2012-02-21This should fix the buildbots...Michael Tüxen1-0/+8
The problem was that when reading a .pcap file, we don't have any IDBs. If reqested to write out an pcapng file, we (now) build a dummy IDB which uses the file's encapsulation as the interface encapsulation. Therefore it can't be per=packet. We need to fix this by using wtap_dump_open_ng()... svn path=/trunk/; revision=41122
2012-02-21When saving a file and the are no IDBs, create a default one.Michael Tüxen1-4/+19
This seems right, but doesn't make the buildbots happy, because a read pcap file is reported a per packet encaps... svn path=/trunk/; revision=41121
2012-02-21From Lori Tribble:Anders Broman1-5/+19
BACnet: Allow vendor specified network layer messages.' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6852 svn path=/trunk/; revision=41120
2012-02-21Disable debug output...Michael Tüxen1-1/+1
svn path=/trunk/; revision=41119
2012-02-21When writing an option in an IDB, also write an endofoption option.Michael Tüxen1-60/+72
Use (consistently) 0 as the default for the interface speed. While there, do some whitespace cleanups. svn path=/trunk/; revision=41118
2012-02-21Whitespace changes.Michael Tüxen1-2/+2
svn path=/trunk/; revision=41117
2012-02-21Whitespace changes.Michael Tüxen1-4/+4
svn path=/trunk/; revision=41116
2012-02-21Whitespace changes.Michael Tüxen1-4/+4
svn path=/trunk/; revision=41115
2012-02-21From Jose Pedro Oliveira:Anders Broman1-4/+6
dumpcap: only free os_version_str after the libpcap_write_interface_description_block() calls. svn path=/trunk/; revision=41114
2012-02-21Whitespace changes.Michael Tüxen1-10/+10
svn path=/trunk/; revision=41113
2012-02-21Improve the error handling.Michael Tüxen1-24/+34
svn path=/trunk/; revision=41112
2012-02-21Don't dereference idb_inf in wtap_dump_open_ng() whenMichael Tüxen1-4/+9
you provide NULL when you call it via wtap_dump_open. This does not make the buildbots happy, but at least tshark doesn't crash anymore. svn path=/trunk/; revision=41111
2012-02-21Use tab indentation as elsewhere in the files.Michael Tüxen2-154/+162
Only whitespace changes. svn path=/trunk/; revision=41110
2012-02-21Check if the string exists first.Anders Broman1-10/+10
svn path=/trunk/; revision=41109
2012-02-21Extend libpcap_write_interface_description_block() wiyh more optionsAnders Broman3-78/+188
all exept os curently unused. svn path=/trunk/; revision=41108
2012-02-21Fix compilation (hopefully).Michael Tüxen1-0/+2
svn path=/trunk/; revision=41107
2012-02-21Improve peeking for IDBs.Michael Tüxen1-17/+21
While there, cleanup some whitespaces. svn path=/trunk/; revision=41106
2012-02-21From Irene Ruengeler:Michael Tüxen9-146/+1262
* Add support in the GUI for pipes. * Allow the local interfaces to be rescanned via the GUI. * Allow remote interfaces to be added and deleted. The GUI can be extended to support other ways of capturing. svn path=/trunk/; revision=41105
2012-02-21From David Wei and me, update to 3GPP TS 25.413 V10.4.0 (2011-12).Anders Broman9-151/+185
svn path=/trunk/; revision=41104
2012-02-21Add VENDOR_ERICSSON_PKT_COREAnders Broman1-0/+1
svn path=/trunk/; revision=41103
2012-02-21Once we've read a valid SHB, we've concluded the file is a pcap-NG file,Guy Harris1-7/+13
so if we later get a short read, we have to return -1 and set *err to WTAP_ERR_SHORT_READ. Otherwise, we'll try other file types and, if none of them match, we'll try to close the wtap structure, which crashes. svn path=/trunk/; revision=41102
2012-02-21Declare opt_cont_buf_lenAnders Broman1-15/+1
svn path=/trunk/; revision=41101
2012-02-21Free the bufferAnders Broman1-4/+27
svn path=/trunk/; revision=41099
2012-02-21Change comment to Loop ower all IDB:s that appear before any packets ↵Anders Broman1-1/+1
sugested by Guy, there can be more IDBs in a cpture file svn path=/trunk/; revision=41096
2012-02-21From Jose Pedro Oliveira shb_os value: get_os_version_info() instead of ↵Anders Broman1-5/+5
get_runtime_version_info() svn path=/trunk/; revision=41095
2012-02-21Always test tvb_reported_length_remaining() return val for '> 0' instead of ↵Bill Meier1-7369/+7365
'!=0' Also: Whitespace cleanup. svn path=/trunk/; revision=41094
2012-02-20Indentation & whitespace cleanup....Bill Meier1-872/+872
svn path=/trunk/; revision=41093
2012-02-20(Trivial) Fix a typo in a comment; Do some whitespace changes.Bill Meier1-352/+352
svn path=/trunk/; revision=41092
2012-02-20From Jose Pedro Oliveira fix a typoAnders Broman4-9/+9
svn path=/trunk/; revision=41091
2012-02-20Use tvb_reported_length_remaining() iso tvb_length_remaining().Bill Meier1-1/+1
svn path=/trunk/; revision=41090
2012-02-20Fix 'variable set but then unused'; Do some whitespace cleanup.Bill Meier1-6/+5
svn path=/trunk/; revision=41089
2012-02-20proto_reg_handoff...() doesn't need 'if(!Initialized)';Bill Meier1-75/+66
Also: Do some whitespace cleanup. svn path=/trunk/; revision=41088
2012-02-20(Trivial) Whitespace changesBill Meier1-7/+7
svn path=/trunk/; revision=41087
2012-02-20Jose Pedro Oliveira: get_os_version_info() is more apropriate for shb_osAnders Broman3-14/+29
svn path=/trunk/; revision=41086
2012-02-20From e.yimjia Add LPP decoding support in ULP protocol dissector \n ↵Anders Broman3-15/+46
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6851 svn path=/trunk/; revision=41085