Commit Graph

32 Commits

Author SHA1 Message Date
Jeff Morriss 22b7086fb9 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=44997
2012-09-19 01:37:13 +00:00
Bill Meier 36840e68de Update the "How to handle transformed data" section to reflect current practice.
svn path=/trunk/; revision=40228
2011-12-16 15:58:10 +00:00
Bill Meier 048b0c7ff0 From Ed Beroset: updated examples to use ENC_BIG_ENDIAN instead of FALSE.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6482

From me:
 - Use ENC_NA for proto_tree_add_item(...,proto_foo,...);
 - Also: fix a typo unrelated to Ed's patch.

svn path=/trunk/; revision=39547
2011-10-25 00:03:47 +00:00
Stig Bjørlykke 84bc28bd6a Introduce "Fragment count" filter element for all protocols doing reassembly.
svn path=/trunk/; revision=35705
2011-01-30 21:01:07 +00:00
Jaap Keuter d7d6f8c476 Add relevant docbook tags in the source.
svn path=/trunk/; revision=35334
2011-01-03 07:41:33 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Bill Meier 9fb850cf5b Convert indentation tabs within <programlisting> elements to 4 spaces.
As the book says:
 "Often a program listing will include tab characters to indent lines of code.
  When such a listing is imported to DocBook XML and formatted, the tab
  characters are not expanded as they are in the program editor.
  That's because in XSL-FO and HTML, tab stops and tab expansion are not
  described in either HTML or XSL-FO standards.
  By default, an XSL-FO processor treats a tab character as a single space,
  which leads to unsatisfactory results."

http://www.sagehill.net/docbookxsl/TabExpansion.html


svn path=/trunk/; revision=35215
2010-12-17 21:31:55 +00:00
Bill Meier b07566f60e Reference the 'interlink' plugin dir as an example (rather than agentx
which is no longer a plugin).
Fix a typo.

svn path=/trunk/; revision=32978
2010-05-26 16:21:19 +00:00
Bill Meier 7ab0cfa8d6 (Trivial changes)
svn path=/trunk/; revision=32496
2010-04-16 17:26:47 +00:00
Jaap Keuter f329cd5bec Add remark about including packet.h before tap.h
svn path=/trunk/; revision=32448
2010-04-12 16:06:52 +00:00
Bill Meier efc7fe5f3e From Ed Beroset: Add missing include in tcp_dissect_pdus example.
svn path=/trunk/; revision=32211
2010-03-16 21:06:14 +00:00
Stig Bjørlykke 88b72356ad Introduce "Reassembled length" filter element for all protocols doing
reassembly.

svn path=/trunk/; revision=31767
2010-02-02 16:01:52 +00:00
Jaap Keuter 0959e1d78c Cleanup tapping section.
svn path=/trunk/; revision=31259
2009-12-14 10:09:06 +00:00
Stig Bjørlykke 0c8c131bb5 Removed two unneeded includes.
svn path=/trunk/; revision=30800
2009-11-01 22:05:07 +00:00
Bill Meier 02de65a871 Remove usage of check_col() since no longer required.
svn path=/trunk/; revision=29898
2009-09-14 15:34:05 +00:00
Bill Meier e0256b851f Add a note about README.developer to the beginning of the "Packet Dissection" chapter.
svn path=/trunk/; revision=28485
2009-05-26 15:03:17 +00:00
Bill Meier e33034eeb2 Update the "Adding a basic dissector" section a bit to reflect current practice.
svn path=/trunk/; revision=28484
2009-05-26 14:32:45 +00:00
Stephen Fisher 4dffe31d70 From Toralf Foester via -dev mailing list: Add static to the forward
declaration of a static function in the examples.


svn path=/trunk/; revision=27188
2009-01-08 01:56:00 +00:00
Stig Bjørlykke 48cced98a6 Fixed some indents in program listings.
svn path=/trunk/; revision=26830
2008-11-23 18:16:04 +00:00
Bill Meier 0b499492f7 Fix various minor typos and spelling errors
svn path=/trunk/; revision=26008
2008-08-13 16:44:18 +00:00
Jaap Keuter eac1f4a37a From Andrew Feren:
Fix code example.

svn path=/trunk/; revision=24875
2008-04-10 06:55:45 +00:00
Gerald Combs 3020bd9110 Fix a typo.
svn path=/trunk/; revision=24723
2008-03-24 18:17:26 +00:00
Jaap Keuter 3e3453537c Get the paragraph markers right.
svn path=/trunk/; revision=23829
2007-12-10 19:08:14 +00:00
Jaap Keuter 554a21ac4f Add some discussion about plugins vs build-in dissectors.
svn path=/trunk/; revision=23822
2007-12-10 07:54:57 +00:00
Bill Meier baead522d4 General cleanup; Update 'Win32 Automated library download' section slightly;
Cleanup: 
   - relatively minor wording changes
   - spelling 
   - typos
   - minor formatting changes 

svn path=/trunk/; revision=22836
2007-09-10 17:10:42 +00:00
Jaap Keuter 8c241db91e Bring developer guide up to date regarding tools and current plugin build infrastructure.
svn path=/trunk/; revision=22117
2007-06-17 11:18:29 +00:00
Jaap Keuter 3da55888e6 Improve readability of code samples and program output
svn path=/trunk/; revision=21701
2007-05-06 19:25:14 +00:00
Jaap Keuter e4e739a5ca From Graham Bloice:
In the Developers Guide, Section 9.3, Example 9.17. Decompressing data
packets for dissection

The code calls tvb_set_free_cb() for the newly created next_tvb.  This
is unnecessary as the call to tvb_set_child_real_data() adds next_tvb to
the chained list of tvb, thus ensuring that next_tvb is correctly
deleted.  In fact when I had the call in, Visual Studio kept breaking
deep down in ntdll.dll, probably because of a double free every time the
main tvb was deleted.

In README.developer, para 2..2.7 The example conversation code doesn't
assign the result of conversation_new() back into the conversation variable.

svn path=/trunk/; revision=20569
2007-01-26 17:12:00 +00:00
Jaap Keuter 45aa24f1ec Correct comments and examples on get_pdu_len().
svn path=/trunk/; revision=19949
2006-11-21 14:18:46 +00:00
Ulf Lamping c62cb0006d from Sake Blok:
While I was reading the development guide I noticed a few typo's.
The attached patch fixes them (the patch is against revision 19724).

svn path=/trunk/; revision=19729
2006-10-29 17:14:13 +00:00
Jaap Keuter c2833c436d From Gerhard Gappmeier: I have added a new chapter about tcp_dissect_pdu
svn path=/trunk/; revision=18730
2006-07-13 19:06:40 +00:00
Jaap Keuter 5f152a8ea2 edg -> wsdg
-This line, and those below, will be ignored--

D    docbook/edg_graphics
M    docbook/developer-guide.xml
M    docbook/Makefile.auto.am
A    docbook/wsdg_graphics
D    docbook/edg_src
M    docbook/README.txt
A    docbook/wsdg_src
D    docbook/wsdg_src/EDG_meta_info.xml
A    docbook/wsdg_src/WSDG_userinterface.xml
D    docbook/wsdg_src/EDG_preface.xml
D    docbook/wsdg_src/EDG_chapter_userinterface.xml
D    docbook/wsdg_src/EDG_chapter_tools.xml
A    docbook/wsdg_src/WSDG_meta_info.xml
D    docbook/wsdg_src/EDG_chapter_env_intro.xml
D    docbook/wsdg_src/EDG_chapter_capture.xml
A    docbook/wsdg_src/WSDG_preface.xml
A    docbook/wsdg_src/WSDG_works.xml
D    docbook/wsdg_src/EDG_chapter_dissection.xml
A    docbook/wsdg_src/WSDG_chapter_tools.xml
D    docbook/wsdg_src/EDG_chapter_works.xml
A    docbook/wsdg_src/WSDG_chapter_env_intro.xml
A    docbook/wsdg_src/WSDG_chapter_capture.xml
A    docbook/wsdg_src/WSDG_chapter_dissection.xml
D    docbook/wsdg_src/EDG_chapter_build_intro.xml
D    docbook/wsdg_src/EDG_chapter_libraries.xml
A    docbook/wsdg_src/WSDG_chapter_build_intro.xml
A    docbook/wsdg_src/WSDG_chapter_libraries.xml
D    docbook/wsdg_src/EDG_chapter_sources.xml
A    docbook/wsdg_src/WSDG_chapter_sources.xml
M    docbook/Makefile

svn path=/trunk/; revision=18368
2006-06-06 23:08:58 +00:00