aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi.c
Commit message (Collapse)AuthorAgeFilesLines
* Gerrit Gehnen's dissector for the Sinec H1 protocol (Siemens IndustrialGuy Harris2000-03-021-15/+56
| | | | | | | | | Ethernet; used for communication with Siemens S5 PLC's over Ethernet), and his changes to display OSI COTP TSAPs that consist solely of printable characters as text rather than as hex data and to decode the version number resource in COTP. svn path=/trunk/; revision=1677
* Create a header file for every packet-*.c file. Prune the packet.h file.Gilbert Ramirez2000-02-151-1/+2
| | | | | | | | | | | | | This change allows you to add a new packet-*.c file and not cause a recompilation of everything that #include's packet.h Add the plugin_api.[ch] files ot the plugins/Makefile.am packaging list. Add #define YY_NO_UNPUT 1 to the lex source so that the yyunput symbol is not defined, squelching a compiler complaint when compiling the generated C file. svn path=/trunk/; revision=1637
* Add a bunch of additional NLPIDs from ISO 9577.Guy Harris2000-01-301-1/+9
| | | | svn path=/trunk/; revision=1583
* In "dissect_clnp()", fill in "clnp" before looking at it.Guy Harris2000-01-261-5/+5
| | | | svn path=/trunk/; revision=1567
* Fix a bunch of dissectors to use "pi.captured_len" rather thanGuy Harris2000-01-241-5/+5
| | | | | | | | | | "fd->cap_len" for the frame length - or to use macros such as "BYTES_ARE_IN_FRAME()", "IS_DATA_IN_FRAME()", and "END_OF_FRAME", which use "pi.captured_len" - so that they correctly handle frames where the actual data length of the packet is less than the size of the raw frame, e.g. with encapsulations such as ISL. svn path=/trunk/; revision=1530
* Gerrit Gehnen's patch to add support for the "Inactive Subset" of theGuy Harris2000-01-201-1/+14
| | | | | | ISO 8473 CLNP protocol. svn path=/trunk/; revision=1513
* Get the NLPID value for ISIS from "nlpid.h", and report the NLPID valueGuy Harris2000-01-131-5/+3
| | | | | | | | in ISIS packets with "nlpid_vals". Report the NLPID value in CLNP packets with "nlpid_vals" as well. svn path=/trunk/; revision=1462
* Add the NLPID value for PPP.Guy Harris2000-01-131-1/+2
| | | | | | | In Q.931 and Q.2931, the TR 9577 values are NLPIDs, so use "nlpid_vals" to dissect them, and values from "nlpid.h" to refer to them. svn path=/trunk/; revision=1461
* Export the list of OSI NLPIDs in "nlpid.h", for use by the CDPGuy Harris2000-01-131-14/+19
| | | | | | | | | | | | | | | dissector. Add a "value_string" table for NLPIDs to the OSI dissector, and export it for use by the CDP dissector. Fix the CDP dissector as per the documentation in http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm and as per some traces we have with CDP data in them. svn path=/trunk/; revision=1455
* Stuart Stanley's ISIS dissection support.Guy Harris1999-12-151-2/+2
| | | | svn path=/trunk/; revision=1340
* Replace the ETT_ "enum" members, declared in "packet.h", withGuy Harris1999-11-161-12/+24
| | | | | | | | | | | | | | | | | dynamically-assigned "ett_" integer values, assigned by "proto_register_subtree_array()"; this: obviates the need to update "packet.h" whenever you add a new subtree type - you only have to add a call to "proto_register_subtree_array()" to a "register" routine and an array of pointers to "ett_", if they're not already there, and add a pointer to the new "ett_" variable to the array, if they are there; would allow run-time-loaded dissectors to allocate subtree types when they're loaded. svn path=/trunk/; revision=1043
* New proto_tree header_field_info stuff. Header_field_infos now containGilbert Ramirez1999-10-121-12/+33
| | | | | | | | | | | | | | | | | | | | | the base for numbers to be displayed in, bitmasks for bitfields, and blurbs (which are one or two sentences describing the field). proto_tree_add*() routines now automatically handle bitfields. You tell it which header field you are adding, and just pass it the value of the entire field, and the proto_tree routines will do the masking and shifting for you. This means that bitfields are more naturally filtered via dfilter now. Added Phil Techau's support for signed integers in dfilters/proto_tree. Added the beginning of the SNA dissector. It's not complete, but I'm committing it now because it has example after example of how to use bitfields with the new header_field_info struct and proto_tree routines. It was the impetus to change how header_field_info works. svn path=/trunk/; revision=815
* Convert OSI CLNP into new protocol tree dissectors.Laurent Deniel1999-09-181-356/+397
| | | | svn path=/trunk/; revision=688
* Register cotp and clnp instead of simply osi to allowLaurent Deniel1999-09-111-17/+30
| | | | | | | display filtering on those protocols and future enhancements (other OSI protocols decoding). svn path=/trunk/; revision=662
* Made the protocol (but not the fields) use the new proto_tree routine,Gilbert Ramirez1999-07-291-11/+24
| | | | | | | allowing users to filter on the existence of these protocols. I also added packet-clip.c to the Nmake makefile. svn path=/trunk/; revision=402
* Created a new protocol tree implementation and a new display filterGilbert Ramirez1999-07-071-198/+187
| | | | | | | mechanism that is built into ethereal. Wiretap is now used to read all file formats. Libpcap is used only for capturing. svn path=/trunk/; revision=342
* Removed all references to gtk objects from packet*.[ch] files. They nowGilbert Ramirez1999-03-231-237/+233
| | | | | | | | | | reference the protocol tree with struct proto_tree and struct proto_item objects. That way, the packet decoding source code file can be used with non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged some of the information in packet.h to more appropriate places (like other packet-*.[ch] files). svn path=/trunk/; revision=223
* * Added column formatting functionality.Gerald Combs1998-11-171-56/+59
| | | | | | | | * Added check_col(), add_col_str() and add_col_fmt() to replace references to ft->win_info. * Added column prefs handling code. svn path=/trunk/; revision=97
* A lengthy patch to add the wiretap library. Wiretap is not used by defaultGilbert Ramirez1998-11-121-2/+1
| | | | | | | | | | because it is still in its infancy, but it can be compiled in optionally. The library exists in its own subdirectory ethereal/wiretap. This patch also edits all the packet-*.c files to remove the #include <pcap.h> line which is unnecessary in these files. In the ethereal code, file.c is the most heavily modified with #ifdef WITH_WIRETAP lines for the optional library. svn path=/trunk/; revision=82
* too few arguments for sprintf formatLaurent Deniel1998-10-131-2/+2
| | | | svn path=/trunk/; revision=49
* Merged in a _huge_ patch from Guy Harris. It adds a time stap column,Gerald Combs1998-09-271-59/+60
| | | | | | | generalizes the column printing code, adds a "frame" tree item to the tree view, and fixes a bunch of miscellaneous coding bugs. svn path=/trunk/; revision=31
* * Added in Laurent's OSI/ISO CNLP and COTP support.Gerald Combs1998-09-171-0/+1617
* Added Laurent's changes to the man (actually pod) page. * Copied in VERSION file so that others can make doc/Makefile svn path=/trunk/; revision=8