Commit Graph

12965 Commits

Author SHA1 Message Date
Stig Bjørlykke f945be91f6 Rewrote to avoid "More data arguments than '%' conversions" warning.
svn path=/trunk/; revision=32908
2010-05-20 11:56:58 +00:00
Stig Bjørlykke 7773d1a2a6 Rewrote to avoid "More data arguments than '%' conversions" warning.
svn path=/trunk/; revision=32907
2010-05-20 11:51:24 +00:00
Gerasimos Dimitriadis df3a43e0e5 Remove debugging printf from match_strval_ext_init()
svn path=/trunk/; revision=32903
2010-05-19 22:09:07 +00:00
Martin Mathieson f40e47b4c0 Remove VALS cast as discussed on dev mailing list.
svn path=/trunk/; revision=32902
2010-05-19 21:33:01 +00:00
Jeff Morriss bd215f90bc Followup to rev 23668: ansi_a_ios501_elem_1_strings[] and
ansi_a_ios401_elem_1_strings[] are different lengths so use 'ansi_a_elem_1_max'
to know how far we can look into the array (instead of ANSI_A_E_NONE).
Since that variable points to the end of the array--a NULL entry--and since we
don't want to pass a NULL string pointer to proto_tree_add*(), ensure that
we only look at the last valid entry.

Also remove check_col() calls and reindent a bit.

svn path=/trunk/; revision=32901
2010-05-19 20:42:53 +00:00
Jaap Keuter 7e44a40238 From Lars Ruoff:
Updated and added some sanity checks to Alcatel-Lucent DHCP vendor specific options.

svn path=/trunk/; revision=32900
2010-05-19 18:09:33 +00:00
Bill Meier 10fb76ce44 Add svn 'keywords' and 'eol-style' properties
svn path=/trunk/; revision=32898
2010-05-19 12:44:57 +00:00
Kovarththanan Rajaratnam 52d4ae5b8d Add and use BTOBEX_CODE_VALS_MASK to avoid hardcoding values
svn path=/trunk/; revision=32897
2010-05-19 08:47:10 +00:00
Kovarththanan Rajaratnam fe48b90849 Remove a couple of check_col()
svn path=/trunk/; revision=32896
2010-05-19 08:37:29 +00:00
Kovarththanan Rajaratnam 855bafe183 Use newly introduced BTOBEX_CODE_VALS_CONNECT define
svn path=/trunk/; revision=32895
2010-05-19 08:23:53 +00:00
Kovarththanan Rajaratnam 9537eb450e Introduce defines to avoid hardcoding values
svn path=/trunk/; revision=32894
2010-05-19 08:19:41 +00:00
Kovarththanan Rajaratnam 2bde45d2f5 Tighten scope of code variable
svn path=/trunk/; revision=32893
2010-05-19 08:13:26 +00:00
Stig Bjørlykke caa82016d7 Added a preference to display data as text.
This fixes bug 4603.

svn path=/trunk/; revision=32892
2010-05-19 07:21:55 +00:00
Kovarththanan Rajaratnam 4440bae841 Remove superfluous NULL assignment
svn path=/trunk/; revision=32891
2010-05-19 06:45:57 +00:00
Kovarththanan Rajaratnam 1b7aa4bc16 Remove weird assignment to pinfo->private_data
svn path=/trunk/; revision=32890
2010-05-19 06:28:48 +00:00
Kovarththanan Rajaratnam af0f596637 Remove references to ppp_handle (unused)
svn path=/trunk/; revision=32889
2010-05-19 06:27:37 +00:00
Kovarththanan Rajaratnam 485dca1535 Pass along btrfcomm_data_t to higher layer protocols
svn path=/trunk/; revision=32888
2010-05-19 06:26:02 +00:00
Kovarththanan Rajaratnam 9bd8195d0e Align defines
svn path=/trunk/; revision=32887
2010-05-19 06:01:29 +00:00
Ronnie Sahlberg 415f314c53 iscsi also has a system port (860) registered in addition to the more common
port (3260).

add knowledge about the registered system port for iscsi to the heuristics
so we automatically detect when iscsi is transported over this optional port.


svn path=/trunk/; revision=32881
2010-05-18 22:00:17 +00:00
Jeff Morriss 1eeb3442b2 Use val_to_str() instead of match_strval() to ensure we get a non-NULL result to pass to proto_tree_add*().
svn path=/trunk/; revision=32880
2010-05-18 16:05:37 +00:00
Jeff Morriss 7575b52df7 Add epan/dissectors/dcerpc/ and epan/dissectors/pidl/ to the source distribution
svn path=/trunk/; revision=32879
2010-05-18 15:58:49 +00:00
Jeff Morriss 3dce901718 Avoid passing a NULL pointer to a string to proto_tree_add_uint_format()
svn path=/trunk/; revision=32878
2010-05-18 14:17:11 +00:00
Jeff Morriss e031f88f0b Use val_to_str() instead of match_strval() to ensure we get a non-NULL result.
svn path=/trunk/; revision=32877
2010-05-18 14:04:31 +00:00
Kovarththanan Rajaratnam 93bc47d26a Add FIXME
svn path=/trunk/; revision=32874
2010-05-18 11:44:32 +00:00
Kovarththanan Rajaratnam bb2340b232 Remove NULL pointer guard in defragment_init()
svn path=/trunk/; revision=32873
2010-05-18 10:49:09 +00:00
Kovarththanan Rajaratnam ea6d8edcce Remove a couple of superfluous NULL assignments
svn path=/trunk/; revision=32872
2010-05-18 10:45:39 +00:00
Kovarththanan Rajaratnam 52122ece9c Remove a couple of check_col()
svn path=/trunk/; revision=32871
2010-05-18 10:43:36 +00:00
Kovarththanan Rajaratnam f572eff156 Parse everything as OBEX (for now).
svn path=/trunk/; revision=32870
2010-05-18 10:39:12 +00:00
Stig Bjørlykke 223eaa97c3 Add proper item for "User encapsulation not handled" to be able to
second-click the entry to edit preferences.

svn path=/trunk/; revision=32869
2010-05-18 09:01:08 +00:00
Kovarththanan Rajaratnam 05dbecb7ca Remove #if 0 code
svn path=/trunk/; revision=32868
2010-05-18 08:29:19 +00:00
Kovarththanan Rajaratnam 82a7293640 Handle fgets() error path
svn path=/trunk/; revision=32867
2010-05-18 08:22:42 +00:00
Kovarththanan Rajaratnam 62a20b9b19 Mark defragment_init() as an init routine
svn path=/trunk/; revision=32866
2010-05-18 08:08:08 +00:00
Kovarththanan Rajaratnam 100e30939a Fix several GCC build issues
svn path=/trunk/; revision=32865
2010-05-18 07:49:55 +00:00
Kovarththanan Rajaratnam 6476632fda Include (local) packet-btl2cap.h properly
svn path=/trunk/; revision=32863
2010-05-18 07:35:31 +00:00
Kovarththanan Rajaratnam 9d568f7f9c From Allan M. Madsen:
Initial implementation of Bluetooth OBEX dissector. Work in progress.

svn path=/trunk/; revision=32862
2010-05-18 07:32:04 +00:00
Kovarththanan Rajaratnam 0c8a3cbb4f Extract ogf from the opcode
svn path=/trunk/; revision=32860
2010-05-18 06:09:52 +00:00
Kovarththanan Rajaratnam 60fca26f05 Dissect Synchronous Connection correctly
svn path=/trunk/; revision=32858
2010-05-18 05:46:44 +00:00
Jeff Morriss d1573b53c0 Don't pass a NULL pointer to what is supposed to be (according to the format) a string: some implementations of vsnprintf() will core on that. (Unfortunately it seems that g_vsnprintf() doesn't protect us from this...)
svn path=/trunk/; revision=32848
2010-05-17 21:49:09 +00:00
Jaap Keuter 5140e8f44e From Lars Ruoff:
Add some more robustness to Alcatel-Lucent vendor specific 
DHCP options and add some new option values.

It now supports all currently implemented option values, i.e.:
{Option Opcode Length (bytes) Content}
AVA 58 (0x3A) 2 Vlanid
IP Touch TFTP1 64 (0x40) 4 IPv4 address
IP Touch TFTP2 65 (0x41) 4 IPv4 address
APPLICATION_TYPE 66 (0x42) 1 0 (noe) / 1 (sip)
SIP URL 67 (0x43) x bytes url string

svn path=/trunk/; revision=32845
2010-05-17 18:48:44 +00:00
Bill Meier 1f1a38f961 From Torrey Atcitty: IEEE 1722(AVB Transport Protocol) Dissector
See Bug #4764 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4764)

svn path=/trunk/; revision=32841
2010-05-17 04:08:08 +00:00
Jeff Morriss 4749e0f19f Move most of the contents of the header file into the .c file.
svn path=/trunk/; revision=32840
2010-05-17 03:01:03 +00:00
Jeff Morriss 8225d821da Remove trailing white space
svn path=/trunk/; revision=32839
2010-05-17 03:00:37 +00:00
Jeff Morriss a229509b85 From Robert Hogan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3922 :
Add support for the IBM TN5250 data stream protocol.

http://wiki.wireshark.org/TN5250

From me:

Move most of the contents of the header file to the .c file.

Replace blurbs that match the hf name with NULL.
Replace empty-string blurbs with NULL.
Fix some abbreviations (hf_tn5220_xxx -> tn5220.xxx).
Make some functions static.
Cast some offset increments to unsigned to make sure we don't go backwards
(which could create a loop).  This includes making most of the subdissection
functions return an unsigned number.

Use find_or_create_conversation().

svn path=/trunk/; revision=32838
2010-05-17 02:55:51 +00:00
Gerald Combs 667fae7498 [Automatic manuf and enterprise-numbers update for 2010-05-16]
svn path=/trunk/; revision=32832
2010-05-16 15:04:06 +00:00
Jaap Keuter 55528cacba From Chidambaram Arunachalam:
Currently, H.264 dissector in Wireshark allows only one value for the "H264 
dynamic payload type" preference value.
This patch allows users to specify a value range for this parameter (96-127) 
so that both streams can be decoded for a video call with asymmetric rtp 
payload types.

svn path=/trunk/; revision=32831
2010-05-16 10:58:50 +00:00
Jaap Keuter 39e687a79f From Robert Lickenbrock:
Wireshark does not extract the vendor identifier (i.e. the 7th and 8th bytes)
from the header of YMSG packets. The current implementations skips over these
bytes during dissection, presumably because they were believed to be padding.

svn path=/trunk/; revision=32830
2010-05-16 10:28:14 +00:00
Guy Harris 149ccb3b68 Attempt to handle isochronous descriptors between the 64-byte header and
the payload.  Should fix bug 4401.

svn path=/trunk/; revision=32828
2010-05-16 03:19:40 +00:00
Gerasimos Dimitriadis 682b962e72 Use binary search when scanning the SANC and ISPC lists; correct a couple of
double entries in the ISPC lists.

svn path=/trunk/; revision=32822
2010-05-15 20:14:52 +00:00
Guy Harris ac1b50ba2c Export prefs_capture_device_monitor_mode().
svn path=/trunk/; revision=32821
2010-05-15 20:00:09 +00:00
Guy Harris e1e576c11b Support monitor mode in the capture preferences.
Use prefs_is_capture_device_hidden() to find out whether a device should
be hidden - don't scan the list of hidden devices ourselves.

svn path=/trunk/; revision=32820
2010-05-15 19:38:13 +00:00