Commit Graph

46903 Commits

Author SHA1 Message Date
Michael Mann 3846abe34d Replace if-else-if with switch statements
svn path=/trunk/; revision=49948
2013-06-16 00:14:07 +00:00
Luis Ontanon f715a8bbbc Further iteration
svn path=/trunk/; revision=49947
2013-06-15 21:28:43 +00:00
Chris Maynard 2c71f23d1e Make use of text metrics and devmode data to properly format a page for printing. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7543
#BACKPORT(1.10,1.8)

svn path=/trunk/; revision=49946
2013-06-15 12:57:32 +00:00
Evan Huus 6fd601bc3b Most of a red-black tree implementation for wmem, based heavily on the emem
version.

One plane trip's worth of work.

svn path=/trunk/; revision=49945
2013-06-15 10:40:56 +00:00
Guy Harris 2b3891fa3b Pull some of the code to set the struct wtap_pkthdr into
parse_netscreen_hex_dump().

svn path=/trunk/; revision=49944
2013-06-15 09:05:04 +00:00
Guy Harris 2b5344666a Fill in at least some of the struct wtap_pkthdr in both the read and
seek-read routines.

svn path=/trunk/; revision=49943
2013-06-15 01:51:21 +00:00
Guy Harris 25d9d55cef Rename radcom_process_rec_header() to radcom_process_rec_header() and
move the code to file in a struct wtap_pkthdr there.

svn path=/trunk/; revision=49942
2013-06-14 23:59:04 +00:00
Michael Mann f42e5bc9c0 Remove check_col() and the occasional tree.
This leaves just the Pidl dissectors remaining for removal of check_col() in the dissectors directory.  A small handful of check_col() calls remain outside of the dissectors.

svn path=/trunk/; revision=49941
2013-06-14 19:46:54 +00:00
Luis Ontanon c5d092ec3a Final draft for the epan working child API
svn path=/trunk/; revision=49940
2013-06-14 19:19:29 +00:00
Chris Maynard dd7b71e384 Fix IEEE802a OUI lookups.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3123
#BACKPORT(1.10,1.8)

svn path=/trunk/; revision=49939
2013-06-14 17:57:08 +00:00
Michael Mann de68fd6eea Removed check_col() and the occasional tree.
svn path=/trunk/; revision=49938
2013-06-14 17:49:53 +00:00
Chris Maynard 14b65f91a4 Ensure that Wireshark isn't obscured by the system taskbar or by any other desktop toolbars. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3034
#BACKPORT(1.10,1.8)

svn path=/trunk/; revision=49937
2013-06-14 17:47:54 +00:00
Martin Kaiser 48dccb60ad remove some unnecessary check_col() calls
svn path=/trunk/; revision=49936
2013-06-14 15:53:52 +00:00
Martin Kaiser 2de0e97d65 add editor modelines
svn path=/trunk/; revision=49935
2013-06-14 15:50:20 +00:00
Martin Kaiser 3fe6a50c03 new dissector for the MP4/ISOBMFF file format
svn path=/trunk/; revision=49934
2013-06-14 15:33:58 +00:00
Martin Kaiser b19c7d5537 make line endings consistent
add svn properties

svn path=/trunk/; revision=49933
2013-06-14 15:08:10 +00:00
Evan Huus 101af7fa2d Mark unused params as such.
svn path=/trunk/; revision=49932
2013-06-14 14:56:00 +00:00
Michael Mann 66f10eec2e Add Common Address Redundancy Protocol (CARP) dissector, bug 8633 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8633)
From Uli Heilmeier

CARP shares the same protocol ID as VRRP (and VRRP's is IANA registered), so heuristics are provided.  VRRP and CARP are very similar, so I'm not sure having heuristics for both dissectors will help CARP.

svn path=/trunk/; revision=49931
2013-06-14 14:35:34 +00:00
Michael Mann cfc133ddb6 Add heuristic capabilities to the IP dissector. The motivating factor was the CARP dissector, bug 8633 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8633)
This should allow the ugly IPIP/TAPA hack to be replaced with a proper heuristic, but I don't see any sample TAPA traces to feel confident in making the change myself.


svn path=/trunk/; revision=49930
2013-06-14 14:13:28 +00:00
Jeff Morriss 9c26c32645 Add parentheses around assignment used as truth value.
svn path=/trunk/; revision=49929
2013-06-14 13:20:41 +00:00
Jeff Morriss 84352845d9 From Anders: add some commands, AVPs, and application IDs.
From me: fix up some white space/indentation.

svn path=/trunk/; revision=49928
2013-06-14 13:08:45 +00:00
Michael Mann 2dbf6c59a2 Remove check_col() from ASN.1 dissectors
svn path=/trunk/; revision=49927
2013-06-14 12:44:50 +00:00
Jörg Mayer 875040ec1e And back it out again, just like the Makefile.am
svn path=/trunk/; revision=49926
2013-06-14 11:44:19 +00:00
Jörg Mayer 5e974e8f45 Copy over
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49865
to cmake

svn path=/trunk/; revision=49925
2013-06-14 11:42:40 +00:00
Martin Kaiser 0d6110e2a4 try_val_to_str() may return NULL
although this is nearly impossible here,
use val_to_str_const() anyway to be on the safe side

svn path=/trunk/; revision=49924
2013-06-14 04:01:21 +00:00
Michael Mann dfa2156e30 Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49923
2013-06-14 02:50:46 +00:00
Jeff Morriss e9a5b16a09 From Katrina Zhang via Anders (manually applied by me): dissect node features.
From me: remove some tabs and trailing white space.

svn path=/trunk/; revision=49922
2013-06-14 02:44:15 +00:00
Michael Mann fa5b45834b Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49921
2013-06-14 01:56:28 +00:00
Michael Mann 0f0c111119 Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49920
2013-06-14 01:02:11 +00:00
Gerald Combs af02ac36ac On OS X set the toolbar icon size to match our current icons.
svn path=/trunk/; revision=49919
2013-06-13 18:58:29 +00:00
Pascal Quantin 285bc53826 Fix typo error
svn path=/trunk/; revision=49918
2013-06-13 14:20:20 +00:00
Pascal Quantin 53c658bb19 Add basic dissection of Prefix Exclude option
svn path=/trunk/; revision=49917
2013-06-13 14:18:10 +00:00
Jeff Morriss 5fa16b2008 From Javier Godoy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8794 :
Display the value of unknown sense descriptor codes in the tree item.
Also fix the length of the subtree.

svn path=/trunk/; revision=49916
2013-06-13 13:51:19 +00:00
Pascal Quantin 32bec58892 From Tyson Key via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8791 :
Improve dissection of GSM SIM payloads in USB CCID packets

svn path=/trunk/; revision=49915
2013-06-13 10:52:34 +00:00
Michael Mann e1b7a26463 Adding support of BGP flow spec RFC 5575.
From Matt Texier, bug 8691 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8691)

svn path=/trunk/; revision=49914
2013-06-13 02:35:23 +00:00
Michael Mann 53290ee17c Updated the rsync dissector to make it able to parse the newer variants of the protocol, treat binary data consistently and clearly differentiate packets of the client and the server.
From Benoit Daloze, bug 8743 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8743)

svn path=/trunk/; revision=49913
2013-06-13 01:06:31 +00:00
Guy Harris 3dbf3b975a Give somewhat more precise names for character encodings ("Unicode"
doesn't specify a single way to encode characters in an octet stream -
there's UTF-8 and UTF-16BE/LE, as well as UCS-2BE/LE for a subset of
Unicode, and "Latin" really means "ISO 8859-1" a/k/a "ISO Latin 1".

svn path=/trunk/; revision=49912
2013-06-12 18:17:15 +00:00
Pascal Quantin 41647faaba Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3289 :
dissector ansi_637 does not have unicode encoding in user data parameter

svn path=/trunk/; revision=49911
2013-06-12 17:25:04 +00:00
Pascal Quantin 0975d03e8d Fix dissection of 3GPP2 SMS messages when the User Data Header field is present (for fragmented SMS)
svn path=/trunk/; revision=49910
2013-06-12 16:59:59 +00:00
Gerald Combs 8558707681 Color td and th borders as well. Set an SVN ID.
svn path=/trunk/; revision=49909
2013-06-12 16:43:25 +00:00
Jeff Morriss 51b02ed94d From Peter Hatina via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8793 :
Fix crash if you cancel the Flow Graph window while the Graph Analysis window
is still open: close the Graph Analysis window when the user cancels the Flow
Graph window.

From me: do the same thing for the window-delete case.

svn path=/trunk/; revision=49908
2013-06-12 15:50:37 +00:00
Gerald Combs aa9080b735 Update the table style. Minor text fixes.
svn path=/trunk/; revision=49907
2013-06-12 15:37:04 +00:00
Martin Kaiser 7e9d283c15 no need for check_col()
svn path=/trunk/; revision=49906
2013-06-12 15:15:26 +00:00
Anders Broman 82e220f2bd Pretify dissection of date and Time.
svn path=/trunk/; revision=49905
2013-06-12 15:08:08 +00:00
Martin Kaiser 6de25d3897 simplify the subdissector call
svn path=/trunk/; revision=49904
2013-06-12 14:56:37 +00:00
Martin Kaiser 7a82d35280 TABs -> spaces
add modelines

svn path=/trunk/; revision=49903
2013-06-12 14:55:37 +00:00
Martin Kaiser 80046abfcb no expert infos under if(tree)
simplify the code a bit

svn path=/trunk/; revision=49902
2013-06-12 14:54:13 +00:00
Martin Kaiser 346117c265 From Javier Godoy
dissect SCSI OSD error identification sense data descriptor 

from me
- TABs -> spaces
- fix compiler errors about unused return values
- don't use another subtree within the descriptor payload

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8790

svn path=/trunk/; revision=49901
2013-06-12 14:20:36 +00:00
Martin Kaiser e94463b0df fix compiler warning
(gcc version 4.4.5 (Debian 4.4.5-8))

cc1: warnings being treated as errors
packet-bthfp.c: In function ‘dissect_at_command’:
packet-bthfp.c:875: error: ‘col_str’ may be used uninitialized in this function

svn path=/trunk/; revision=49900
2013-06-12 12:20:50 +00:00
Tomas Kukosa 822c02b5d0 Fix wrong offset in H.235 tokens causing malformed packet exception
svn path=/trunk/; revision=49899
2013-06-12 09:03:21 +00:00