Jakub Zawadzki
c702e92121
Replace relative timestamp with reference frame number. Saves 16B per frame.
...
svn path=/trunk/; revision=50772
2013-07-21 23:07:33 +00:00
Jakub Zawadzki
a18172147f
Remove fragment_data, add fragment_head, fragment_item - for now alias it to the same structure.
...
This is begin of work to split fragment head and fragments items.
svn path=/trunk/; revision=50708
2013-07-17 21:12:24 +00:00
Guy Harris
0e40234217
Make pointers to raw packet data pointers to guint8, not pointers to
...
char; they're chunks of raw octets, not characters.
svn path=/trunk/; revision=50586
2013-07-14 17:39:36 +00:00
Jakub Zawadzki
543ba2746b
fix: ../../asn1/t38/packet-t38-template.c:346: warning: request for implicit conversion from 'gpointer' to 'char *' not permitted in C++
...
svn path=/trunk/; revision=50582
2013-07-14 15:51:15 +00:00
Jakub Zawadzki
c766e78cfa
Rewrite reassemble API to use TVBs instead of raw data.
...
(it seems to be working for TCP ^^)
svn path=/trunk/; revision=50580
2013-07-14 14:42:05 +00:00
Evan Huus
b1e12ec925
Convert the rest of the ASN1 dissectors from emem to wmem.
...
svn path=/trunk/; revision=50063
2013-06-19 22:47:36 +00:00
Anders Broman
85a8e304dd
Add the posibillity to use a key for per-packet-data.
...
svn path=/trunk/; revision=49259
2013-05-12 18:11:02 +00:00
Jörg Mayer
d266d38af0
Now all disectors requiring asn2wrs can be generated using
...
cmake.
svn path=/trunk/; revision=49254
2013-05-11 20:52:50 +00:00
Jörg Mayer
243e9c0ba5
Just whitespace changes
...
svn path=/trunk/; revision=49167
2013-05-05 08:49:18 +00:00
Jörg Mayer
8faa262e90
Stub cmake support for generating the asn1 dissectors.
...
It doesn't do anything yet, it is just to make svn status
readable again.
svn path=/trunk/; revision=49007
2013-04-23 23:05:33 +00:00
Anders Broman
dafdc19d9e
-Wmissing-prototypes
...
svn path=/trunk/; revision=48609
2013-03-28 07:34:13 +00:00
Guy Harris
a2414d8909
Don't wire into the reassembly code the notion that reassemblies should
...
be done on flows from one address to another; reassembly for protocols
running atop TCP should be done on flows from one TCP endpoint to
another.
We do this by:
adding "reassembly table" as a data structure;
associating hash tables for both in-progress reassemblies and
completed reassemblies with that data structure (currently, not
all reassemblies use the latter; they might keep completed
reassemblies in the first table);
having functions to create and destroy keys in that table;
offering standard routines for doing address-based and
address-and-port-based flow processing, so that dissectors not
needing their own specialized flow processing can just use them.
This fixes some mis-reassemblies of NIS YPSERV YPALL responses (where
the second YPALL response is processed as if it were a continuation of
a previous response between different endpoints, even though said
response is already reassembled), and also allows the DCE RPC-specific
stuff to be moved out of epan/reassembly.c into the DCE RPC dissector.
svn path=/trunk/; revision=48491
2013-03-22 23:59:54 +00:00
Anders Broman
9991973c37
Use explicit casts.
...
svn path=/trunk/; revision=48008
2013-03-02 14:51:04 +00:00
Balint Reczey
1ebdb2e521
Export libwireshark symbols using WS_DLL_PUBLIC define
...
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
2013-03-01 23:53:11 +00:00
Jeff Morriss
3551a86c36
We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
...
svn path=/trunk/; revision=45015
2012-09-20 01:29:52 +00:00
Jakub Zawadzki
5a8783f5b1
Initial commit to support yet another method of passing data between dissectors.
...
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL
svn path=/trunk/; revision=44860
2012-09-10 21:40:21 +00:00
Jakub Zawadzki
0176a135db
Propage changes done in generated dissectors to asn1/
...
svn path=/trunk/; revision=44845
2012-09-10 15:24:00 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Anders Broman
26209868db
From walter schmid:
...
wrong reassemble of T30 msg if more data fields in T38 packet.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6790
svn path=/trunk/; revision=40872
2012-02-05 16:19:21 +00:00
Alexis La Goutte
2747e6bc45
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
svn path=/trunk/; revision=40463
2012-01-13 16:24:44 +00:00
Alexis La Goutte
8f34b6760b
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
Try to compile with cmake in Ubuntu 11.10
svn path=/trunk/; revision=40411
2012-01-09 16:33:47 +00:00
Chris Maynard
647c5c0b27
packet_info's in_error_pkt is now a bitfield like in_gre_pkt.
...
svn path=/trunk/; revision=39764
2011-11-08 18:39:11 +00:00
Jeff Morriss
cf012d27b1
Build the ASN.1 dissectors directly into epan/dissectors (rather than building
...
them and then copying them over). The "all" target to builds these dissectors
now (instead of "generate_files" and/or "copy_files").
asn2wrs's "-O" option now means "the dissector goes in this directory" (rather
than "all output goes in this directory"); it also means that the "-s" (single
output file) option is now required.
Fix things up so that it's possible to build all of the ASN.1 dissectors in
one shot.
Fix building of conformance files when doing out-of-source-tree builds.
Unfortunately "make all" in the asn1 directory always builds something--I think
because of circular depedencies.
svn path=/trunk/; revision=39333
2011-10-10 02:31:11 +00:00
Anders Broman
0f2e6c6cc5
Get rid of check_col, while at it set ENC.
...
svn path=/trunk/; revision=39164
2011-09-27 12:05:32 +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
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
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Stig Bjørlykke
539b558f8c
Renamed some reassembled data texts.
...
Removed some check_col().
svn path=/trunk/; revision=31809
2010-02-06 18:20:21 +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
Bill Meier
a9bcff7af3
Fix a gcc -Wshadow warning.
...
svn path=/trunk/; revision=31620
2010-01-22 16:34:54 +00:00
Bill Meier
8e2f6a26cb
data_reassembled_table not used: remove it.
...
svn path=/trunk/; revision=30580
2009-10-16 21:47:48 +00:00
Kovarththanan Rajaratnam
7ab993bee7
Remove unused NEED_PACKET_PROTO_H variable
...
svn path=/trunk/; revision=30409
2009-10-08 17:26:57 +00:00
Kovarththanan Rajaratnam
00810ff199
* Prefer col_append_str instead of col_append_fstr for constant strings
...
* Remove check_col guards
svn path=/trunk/; revision=30127
2009-09-24 20:21:23 +00:00
Kovarththanan Rajaratnam
65c53fedb6
Don't guard col_append_str with check_col
...
svn path=/trunk/; revision=30125
2009-09-24 20:00:21 +00:00
Tomas Kukosa
9e282cf141
export t38_add_address, prefer destination port for T.38 conversation searching
...
svn path=/trunk/; revision=29564
2009-08-26 15:10:31 +00:00
Kovarththanan Rajaratnam
8b515e9340
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
...
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam
ac463d2697
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29346
2009-08-09 08:14:59 +00:00
Kovarththanan Rajaratnam
6110a96f68
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +00:00
Stig Bjørlykke
e3ef20f3ea
From Kovarththanan Rajaratnam:
...
Clean up header field info in asn1/*-template.c files.
From me:
Fixed a few typos in the patch.
svn path=/trunk/; revision=28817
2009-06-23 06:02:12 +00:00
Anders Broman
9e23da3eff
Add missing files to the distribution.
...
svn path=/trunk/; revision=27852
2009-03-26 17:59:30 +00:00
Bill Meier
f35324d0fd
Minor cleanup mostly related to proto_reg_handoff
...
Remove code for unused handles;
Localize handles (in proto_reg_handoff) which need not be global;
Localize (in proto_reg_handoff) "saved prefs";
Use find_dissector instead of create_dissector_handle as appropriate;
Use gboolean for "initialized" flag in proto_reg_handoff.
svn path=/trunk/; revision=26693
2008-11-04 21:42:02 +00:00
Tomas Kukosa
1644e4138a
Get rid of few warnings (unused generated code, signed/unsigned mismatch)
...
svn path=/trunk/; revision=25839
2008-07-26 15:28:04 +00:00
Stig Bjørlykke
131df6c157
Changed "data" -> "t38" abbrev for reassembly entries.
...
svn path=/trunk/; revision=25125
2008-04-20 13:24:58 +00:00
Stig Bjørlykke
b091b8d26c
Rewrote to use g_strlcpy and g_strlcat.
...
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Stig Bjørlykke
2df21cb1b7
Fixed some strcpy -> strncpy/g_snprintf cleanups.
...
Removed a debug printout in t38.
svn path=/trunk/; revision=24188
2008-01-24 23:01:37 +00:00
Tomas Kukosa
27a531e06a
more sophisticated H245 OLC handling focusing on more reliable T.38 establishment
...
svn path=/trunk/; revision=24043
2008-01-09 13:30:31 +00:00
Jörg Mayer
3d22aa561b
asn1/*/Makefile.nmake were not part of the source package.
...
Spotted by Tomas Kukosa.
svn path=/trunk/; revision=23921
2007-12-19 10:02:50 +00:00
Anders Broman
1950ffc214
Apply the small performance enhancment patches for:
...
- if offset is 0, tvb_length is the same as tvb_length_remaining, just faster.
Replace
- col_append_fstr() with faster col_append_str()
- col_add_str() with col_set_str()
when it's safe
svn path=/trunk/; revision=23252
2007-10-23 05:50:00 +00:00
Jörg Mayer
61cde0d09e
- Change Makefiles to include preinc
...
- Add missing new directories to asn1/Makefile.nmake
svn path=/trunk/; revision=23141
2007-10-10 19:03:24 +00:00
Jörg Mayer
24470fdfae
More conversions and updates to existing Makefile stuff
...
svn path=/trunk/; revision=23127
2007-10-10 08:09:19 +00:00