aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tn3270.c
AgeCommit message (Collapse)AuthorFilesLines
2014-07-07convert to proto_tree_add_subtree[_format]Michael Mann1-11/+6
Change-Id: Ie10ac4f5f04a23344d183e095bbafb23c6409144 Reviewed-on: https://code.wireshark.org/review/2904 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-04-06Apply found fix-encoding-args.pl errors in the dissector directory.Michael Mann1-1/+1
I coincidentally found a few files with errors, so I thought it might be time to run it on the whole directory again. Change-Id: Ia32e54b3b1b94e5a418ed758ea79807c8bc7e798 Reviewed-on: https://code.wireshark.org/review/978 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-12-11- Forward declaration of register functions.Anders Broman1-0/+2
svn path=/trunk/; revision=53930
2013-09-12emem -> wmem ("tshark -v" tested)Jörg Mayer1-2/+3
svn path=/trunk/; revision=51979
2013-03-29Rename value string (and similar) functions to use a consistent pattern. ThisEvan Huus1-2/+2
was done using textual search+replace, not anything syntax-aware, so presumably it got most comments as well (except where there were typos). Use a consistent coding style, and make proper use of the WS_DLL_* defines. Group the functions appropriately in the header. I ended up getting rid of most of the explanatory comments since many of them duplicated what was in the value_string.c file (and were out of sync with the recent updates I made to those in r48633). Presumably most of the comments should be in the .h file not the .c file, but there's enough churn ahead that it's not worth fixing yet. Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8467 svn path=/trunk/; revision=48634
2013-03-19From beroset:Anders Broman1-4/+4
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48430
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-24From Martin Kaiser:Anders Broman1-1/+1
RVALS() needs BASE_RANGE_STRING https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7282 svn path=/trunk/; revision=42823
2012-04-12From Martin Kaiser: CID 476: add missing break. ↵Anders Broman1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7067 svn path=/trunk/; revision=42031
2012-04-09Read_Buffer, Read_Modified & Read_Modified_All are valid outbound commands.Bill Meier1-55/+70
(Fixes issue reported in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6854#c8) Also: Rename 3270 "command" defines to reflect Local vs Remote. svn path=/trunk/; revision=41987
2012-04-03Improve the text of some value_strings.Bill Meier1-8/+8
svn path=/trunk/; revision=41906
2012-04-01Use correct values for "alt screen size" for 327x-3 and 327x-4 terminals.Bill Meier1-32/+52
Slightly improve code which tries to keep track of "screen size". Add a comment as to what is really required to properly keep track of the screen size "state". svn path=/trunk/; revision=41891
2012-04-01Remove a bad (unterminated) comment; Fixes Buildbot compile error.Bill Meier1-1/+0
svn path=/trunk/; revision=41890
2012-04-01Fix some bugs related to the use of proto_tree_add_bits_item();Bill Meier1-38/+112
Improve details pane display of a few TN3270 fields. svn path=/trunk/; revision=41889
2012-04-01Define numerous arrays as static rather than dynamicBill Meier1-481/+491
so they are initialized only once rather than each time a function using the array is executed. Re-arrange the code slightly so much of the dissection can be put under 'if (tree)'. svn path=/trunk/; revision=41885
2012-03-25Extensive rework to clean up code and to fix a number of issues with tn3270 ↵Bill Meier1-3904/+4836
dissection; Also: do reformatting and symbol renaming for readability. See Bug #6854 for several examples typical of the issues fixed: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6854 svn path=/trunk/; revision=41763
2012-01-23Fix some duplicate display filter names.Chris Maynard1-1/+1
svn path=/trunk/; revision=40672
2011-12-22Set encoding to ENC_BIG_ENDIAN instead of the incorrect encoding of TRUE.Chris Maynard1-2/+2
svn path=/trunk/; revision=40270
2011-10-24Fix encoding arg for various fcn calls:Bill Meier1-3/+3
- proto_tree_add_bits_item - proto_tree_add_bits_ret_val - proto_tree_add_bitmask - tvb_get_bits - tvb_get_bits16 - tvb_get_bits24 - tvb_get_bits32 - tvb_get_bits64 svn path=/trunk/; revision=39539
2011-07-05Add some additional routine variants that handle string encodings, andGuy Harris1-527/+529
make FT_STRING and FT_UINT_STRING handle string encodings. Get rid of FT_EBCDIC in favor of FT_STRING with ENC_EBCDIC. Add some URLs for DRDA. Clean up some stuff in TN3270 and TN5250, including using ENC_ values for proto_tree_add_item(). svn path=/trunk/; revision=37909
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-2/+0
svn path=/trunk/; revision=37716
2011-05-26From Michael Mann.Anders Broman1-1/+1
Part of "display filters with redundancies of PROTABBREV in them." The ones left outs should be fixed differently I think. Rename som ndps hf variables while at it. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2794 svn path=/trunk/; revision=37406
2011-01-03Put the query list items under the top-level query list item (whichGuy Harris1-3/+11
should've been done in the previous checkin). Display the "request type" field in a Read Partition request correctly (only the upper 2 bits matter, and they're an enumerated value). svn path=/trunk/; revision=35336
2010-12-31A Query List has more than one has multiple QCODEs; you cannot handleGuy Harris1-12/+21
that by doing the entire list as a single FT_UINT8 field, you must handle each QCODE, in a loop, as that field. svn path=/trunk/; revision=35319
2010-10-07Define global variables ROWS, COLS, MAXROWS, MAXCOLS as static;Bill Meier1-4/+4
Also: Define a few functions as static. svn path=/trunk/; revision=34407
2010-10-06Change a couple of hf abbreviations so they're not the name of the hf variable.Jeff Morriss1-3/+3
Use . as the separator (after PROTOABBREV) in the hf abbreviations. svn path=/trunk/; revision=34397
2010-09-24Don't use an abbreviation as the name of an hf entry.Jeff Morriss1-1/+1
svn path=/trunk/; revision=34241
2010-09-24(Refining the regexp...) Replace blurbs that match the name (case ↵Jeff Morriss1-4/+4
insensitive) with NULL. svn path=/trunk/; revision=34230
2010-09-23Replace blurbs that match the name (case insensitive) with NULL.Jeff Morriss1-2/+2
svn path=/trunk/; revision=34227
2010-09-21As suggested by Kovarththanan Rajaratnam in ↵Jeff Morriss1-10/+10
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 : Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs. svn path=/trunk/; revision=34165
2010-05-17Move most of the contents of the header file into the .c file.Jeff Morriss1-0/+1113
svn path=/trunk/; revision=32840
2010-05-14We already have a link to the IBM version of the 3270 manual; just referGuy Harris1-5/+2
to that. svn path=/trunk/; revision=32800
2010-05-13Handle the Set Buffer Address command differently; this gets rid of theGuy Harris1-50/+83
macro with the "give credit" license, so back that out of COPYING. svn path=/trunk/; revision=32798
2010-05-13As suggested in ↵Jeff Morriss1-14/+3
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2010-05-13Remove some unused hf_ entriesJeff Morriss1-25/+0
svn path=/trunk/; revision=32786
2010-05-13From Robert Hogan via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4257 :Jeff Morriss1-24/+85
Correctly decode and display the buffer address in SBA orders. Note: This includes a macro with a new license which is added to COPYING. svn path=/trunk/; revision=32785
2010-01-19Use more unique names for certain enum constants.Bill Meier1-1/+1
(enum constant names are part of the global name space). (Fixes at least one gcc -Wshadow warning). svn path=/trunk/; revision=31572
2009-11-04From Robert Hogan:Jaap Keuter1-2/+2
Not incrementing tvb offset in two places in tn3270 dissector. svn path=/trunk/; revision=30813
2009-10-07Cleanup header fields.Jaap Keuter1-2/+2
svn path=/trunk/; revision=30394
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-4/+2
svn path=/trunk/; revision=29342
2009-07-17From Robert Hogan: "no need to register tn3270 for 'decode-as'".Bill Meier1-8/+0
svn path=/trunk/; revision=29134
2009-07-17Minor changes: Move protocol_register & etc to end; Bill Meier1-66/+67
Use find_dissector instead of create_dissector_handle. svn path=/trunk/; revision=29132
2009-07-17From Robert Hogan:Jaap Keuter1-0/+5471
I'm working on a tn3270 dissector. See: http://roberthogan.net/stuff/tn3270-dissector/ svn path=/trunk/; revision=29129