aboutsummaryrefslogtreecommitdiffstats
path: root/ncp2222.py
Commit message (Collapse)AuthorAgeFilesLines
* Put in a note about the two SAP number lists in this file and inGuy Harris2002-06-261-1/+10
| | | | | | "packet-ipx.c". svn path=/trunk/; revision=5766
* Update from Greg Morris.Gilbert Ramirez2002-06-241-81/+155
| | | | | | | | | 1. Fixes for NCP decodes (87/6), (30), (87/32) 2. Endianness fixes for a number of decodes 3. Added error codes for return values not defined 4. Added most common SAP types under ObjectType table svn path=/trunk/; revision=5758
* Add in names for NDS verbs, from a list found by a Web search that foundGuy Harris2002-06-091-5/+103
| | | | | | | | | | | | | | the source to an "ipxdump" utility from the Linux ncpfs package. The NetworkAddress field in a 23/26 GetInternetAddress reply appears to be big-endian; we assume it's big-endian in all messages. The NetworkSocket field in that reply also appears to be big-endian; it was already set up to be big-endian in other messages. Put in comments noting other things seen in captures. svn path=/trunk/; revision=5658
* Fix the decode of NCP 8701.Gilbert Ramirez2002-06-071-72/+86
| | | | svn path=/trunk/; revision=5651
* Fix indentation of bitfield-checking code so that all variablesGilbert Ramirez2002-05-251-6/+7
| | | | | | contained within a bitfield are properly registered. svn path=/trunk/; revision=5565
* Fix the bit value for "Last Access" in the ExtendedInfo bitmask, and addGuy Harris2002-05-251-3/+4
| | | | | | the bit for "64 Bit File Sizes". svn path=/trunk/; revision=5561
* Fix the definition of AllocateMode; it's only ever used as a 2-byteGilbert Ramirez2002-05-241-5/+5
| | | | | | value, so make it a val_string16 instead of a val_string8. svn path=/trunk/; revision=5547
* Have bitfields check the type of bf_booleans inside of them, ensuringGilbert Ramirez2002-05-241-76/+100
| | | | | | | | they're the right width. Fix the definitions of AccessRightsMask and JobControlFlagsWord, and add AccessRightsMaskWord. svn path=/trunk/; revision=5546
* Update from Greg Morris.Gilbert Ramirez2002-05-171-365/+773
| | | | | | Increase the max number of allowable req_cond_index's. svn path=/trunk/; revision=5497
* DirectoryBase should be a uint32.Gilbert Ramirez2002-05-171-2/+2
| | | | svn path=/trunk/; revision=5495
* Move the #defines for NCP packet types to "packet-ncp-int.h", and useGuy Harris2002-05-161-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | them in "packet-ncp2222.inc". The page at http://www.odyssea.com/whats_new/tcpipnet/tcpipnet.html indicates that a positive ACK (0x9999) NCP packet has the same completion code and connection status fields as a reply (0x3333) packet (but nothing after them); hand "dissect_ncp_reply()" the packet type as one of its arguments, and have it handle positive ACK packets as well as reply packets. It also indicates that bit 4 of the connection status indicates that the server is unavailable, and the page at http://www.unm.edu/~network/presentations/course/appendix/appendix_f/tsld088.htm speaks of that and of the significance of other bits; put a comment in "ncp2222.py", before the "hf_ncp_connection_status" field, about that. From looking at a capture, it appears that a "destroy service connection" (0x5555) packet should be treated like a "create service connection" (0x1111) packet and be handed to "dissect_ncp_request()". Note that perhaps watchdog packets should be handled by "dissect_ncp_reply()" as well. svn path=/trunk/; revision=5489
* For response packets, add a field showing the number of the frameGilbert Ramirez2002-05-161-1/+6
| | | | | | containing the request packet. svn path=/trunk/; revision=5485
* Add a comment about the Name Space field and its possible use toGuy Harris2002-05-151-1/+11
| | | | | | indicate the character set for strings. svn path=/trunk/; revision=5471
* Fix JobFileHandle and JobFileHandleLong.Gilbert Ramirez2002-05-141-4/+3
| | | | svn path=/trunk/; revision=5467
* Change the name under which variables are hashed during processing.Gilbert Ramirez2002-05-131-6/+6
| | | | svn path=/trunk/; revision=5458
* Merge the work in Novell_NCP_branch into the mainline code.Gilbert Ramirez2002-05-091-482/+10871
| | | | | | | | | | | | | A little work still needs to be done on the new NCP dissector -- make some of the COL_INFO texts more useful, handle a Unicode issue, and modify some of the cases that use "request conditions". But the NCP dissector as it stands is very usable now. Note: I didn't merge in the PROTO_LENGTH_UNTIL_END macro... I wanted to think about the various possible macros and review an email conversation I had with Guy on the subject. svn path=/trunk/; revision=5432
* Include files from the "epan" directory and subdirectories thereof withGuy Harris2002-01-211-3/+3
| | | | | | | | | | | | | "epan/..." pathnames, so as to avoid collisions with header files in any of the directories in which we look (e.g., "proto.h", as some other package has its own "proto.h" file which it installs in the top-level include directory). Don't add "-I" flags to search "epan", as that's no longer necessary (and we want includes of "epan" headers to fail if the "epan/" is left out, so that we don't re-introduce includes lacking "epan/"). svn path=/trunk/; revision=4586
* From Guy Harris, after checking his Python code.Gilbert Ramirez2002-01-111-8/+16
| | | | | | | | | | Some compilers don't mind zero-length arrays, but MSVC++ 6.0 does. "ncp2222.py" was generating a zero-length "ett[]" array. Make it generate the "ett[]" array and the call to "proto_register_subtree_array()" only if the list of items for "ett[]" is non-empty CVS: svn path=/trunk/; revision=4529
* Allow NCP types to define bitfields. In order to implementGilbert Ramirez2002-01-101-87/+206
| | | | | | | | | | | | | sub-trees, I added new functions to ptvcursor: ptvcursor_add_no_advance() ptvcursor_tvbuff() ptvcursor_current_offset() Note that no NCP type that actually uses bitfields has been checked in yet. svn path=/trunk/; revision=4509
* Hopefully the last time I have to change my e-mail address.Gilbert Ramirez2001-11-131-2/+2
| | | | svn path=/trunk/; revision=4199
* Handle a few of the NCP types from the traces sent in by Pete,Gilbert Ramirez2001-06-281-473/+636
| | | | | | <psailor@uswest.net> svn path=/trunk/; revision=3617
* From Joerg Mayer: explicitly fill in all members of aGuy Harris2001-06-181-7/+7
| | | | | | | "header_field_info" structure, including the ones that are later set by the routines to register fields. svn path=/trunk/; revision=3561
* Changes to structure initializations not to initialize some but not allGuy Harris2001-06-021-2/+2
| | | | | | members, from Joerg Mayer. svn path=/trunk/; revision=3501
* Move #included C code from an *.h file to an *.inc file.Gilbert Ramirez2000-09-221-2/+2
| | | | svn path=/trunk/; revision=2456
* Fix offset bug in func 0x1737, and added code to automatically checkGilbert Ramirez2000-09-061-11/+45
| | | | | | offsets. Bug found by Marcel Cox <marcel.cox@myrealbox.com> svn path=/trunk/; revision=2389
* Add FT_STRINGZ type. NCP dissector is only one that uses it right now.Gilbert Ramirez2000-08-301-7/+17
| | | | | | | | | | | | | Remove tvb_get_stringz from quake dissector and add tvb_get_nstringz, tvb_get_nstringz0, and tvb_strnlen to tvbuff.c. Remove multiple definitions of pntohl and friends from various places (except for wiretap) and put into pint.h Consolidate duplicate code for turning FT_* enums into strings (ala the glossary). svn path=/trunk/; revision=2382
* Change FT_NSTRING_UINT8 to FT_UINT_STRING. The length parameter passedGilbert Ramirez2000-08-221-7/+19
| | | | | | | | | | | to proto_tree_add_item() will indicate if the length of the string is indicated by an UINT8, UINT16, UINT24, or UINT32. Change NCP dissector-maker to produce FT_UINT_STRING. Fix off-by-one in dissection of some NCP reply packets. svn path=/trunk/; revision=2334
* - make-reg-dotLaurent Deniel2000-08-091-46/+46
| | | | | | | | | | | | | | | | Do not assume that all dissectors are in the source directory. This is the case for instance for packet-ncp2222.c which is generated in the production directory (current). This is particularly important when the generation is not made in the source directory. - ncp2222.py Remove tabs in generated source to make the generated code nicer and to make work the make-reg-dotc. Without that fix, all NCP packet dissections dump core ... svn path=/trunk/; revision=2241
* Convert comments to docstrings.Gilbert Ramirez2000-08-081-319/+329
| | | | svn path=/trunk/; revision=2229
* Add the re-write of the NetWare Core Protocol dissector. It's mostlyGilbert Ramirez2000-07-281-0/+1406
a framework for the dissector; of the more than 400 NCP packet types, only a handful are defined. But this dissector framework is much better than the previous one. svn path=/trunk/; revision=2173