Hadriel Kaplan
ceb8d954d2
Lua: Expose tcp_dissect_pdus() to Lua
...
Provide a way for Lua-based dissectors to invoke tcp_dissect_pdus()
to make TCP-based dissection easier.
Bug: 9851
Change-Id: I91630ebf1f1fc1964118b6750cc34238e18a8ad3
Reviewed-on: https://code.wireshark.org/review/6778
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Hadriel Kaplan <hadrielk@yahoo.com>
Tested-by: Hadriel Kaplan <hadrielk@yahoo.com>
2015-01-27 15:14:12 +00:00
Bill Meier
dd859eada4
asn1 generated dissectors: cleanup #include usage
...
Change-Id: I36b2731d67f9345d2fd0c23800bba7d2be94c387
Reviewed-on: https://code.wireshark.org/review/6008
Reviewed-by: Bill Meier <wmeier@newsguy.com>
2014-12-23 05:39:00 +00:00
Pascal Quantin
2f0278c42b
ULP: upgrade to approved version 2.0.2
...
Change-Id: Icf09e430a1732708ddd9e7abb49f7b1a6225afde
Reviewed-on: https://code.wireshark.org/review/3526
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-08-09 21:47:53 +00:00
Evan Huus
37b903d7ab
batch of tvb-length conversions
...
Change-Id: I76ca4d075756e3ac691070e0c05344a410ea2498
Reviewed-on: https://code.wireshark.org/review/2507
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-06-21 04:01:52 +00:00
Pascal Quantin
d0ac937567
Revert "Update ASN.1 source files with the API changes done in g021e7af"
...
This reverts commit e308e7c4de
.
Change-Id: I079616d63f643f79f1bc03ef5fdf724f36df4071
Reviewed-on: https://code.wireshark.org/review/2435
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-19 18:42:28 +00:00
Pascal Quantin
e308e7c4de
Update ASN.1 source files with the API changes done in g021e7af
...
Change-Id: I52ecfccbce423206242e3cf99401a8c9e1655d88
Reviewed-on: https://code.wireshark.org/review/2385
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-06-18 16:15:42 +00:00
Pascal Quantin
d416783bc6
ULP: upgrade dissector to approved version 2.0.1
...
Change-Id: I9d7b16c450cb99aa1d66b0a180241c36f8869637
Reviewed-on: https://code.wireshark.org/review/716
Reviewed-by: Evan Huus <eapache@gmail.com>
2014-03-17 17:25:43 +00:00
Pascal Quantin
b1a05d5517
ULP: add UDP transport
...
and fix indent (use 2 spaces)
Change-Id: I558616e3030a55a845cd4ba31ac32f08bdf8376d
Reviewed-on: https://code.wireshark.org/review/634
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-13 15:19:11 +00:00
Jeff Morriss
8c608e6e82
Remove $Id$ from the ASN.1 dissectors and regenerate them.
...
Change-Id: Ie476c6f82f318188b41ed922b92c6fec119ea954
Reviewed-on: https://code.wireshark.org/review/244
Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Tested-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-02-18 03:05:28 +00:00
Michael Mann
8081cf1d90
Add data parameter to tcp_dissect_pdus() as well as convert it to using "new" style dissectors.
...
Now that "bytes consumed" can be determined, should tcp_dissect_pdus() take advantage of that?
Should tcp_dissect_pdus return length (bytes consumed)? There are many dissectors that just call tcp_dissect_pdus() then return tvb_length(tvb). Seems like that could all be rolled into one.
svn path=/trunk/; revision=53198
2013-11-09 17:46:28 +00:00
Pascal Quantin
d269d19f99
Fix a typo
...
svn path=/trunk/; revision=52719
2013-10-20 18:06:23 +00:00
Anders Broman
dafdc19d9e
-Wmissing-prototypes
...
svn path=/trunk/; revision=48609
2013-03-28 07:34:13 +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
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
b3e893b1d1
From e.yimjia Add LPP decoding support in ULP protocol dissector \n https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6851
...
svn path=/trunk/; revision=41085
2012-02-20 20:32:53 +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
Jeff Morriss
99bc06ceff
Make some (preference) variables static.
...
svn path=/trunk/; revision=35134
2010-12-06 19:48:05 +00:00
Bill Meier
9ade30a7b1
#include <string.h> and/or #include <stdio.h> not needed.
...
svn path=/trunk/; revision=32417
2010-04-07 16:54:29 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Bill Meier
35e5fa9bc1
#include <epan/conversation.h> and/or #include <epan/emem.h> not req'd ...
...
svn path=/trunk/; revision=27390
2009-02-07 14:33:47 +00:00
Bill Meier
017f36d61b
Minor cleanup mostly related to proto_reg_handoff
...
Remove code for unused handles;
Localize handles to proto_reg_handoff as appropriate;
Localize "saved_prefs" to proto_reg_handoff;
In some cases: move "once-only" code in proto_reg_handoff
so that it's executed only the first time thru
proto_reg_handoff;
Properly delete/add port when pref changed (packet_ulp);
svn path=/trunk/; revision=26697
2008-11-04 22:01:35 +00:00
Anders Broman
26f1fbcb12
Register by name.(Add the template file as well).
...
svn path=/trunk/; revision=22493
2007-08-13 16:44:35 +00:00
Anders Broman
44a41824c3
Fix dissection of IP addresses in unaligned PER.
...
Add dissection of MSISDN and IMSI to the ULP dissector.
svn path=/trunk/; revision=22233
2007-07-03 09:08:31 +00:00
Tomas Kukosa
3ecba48898
fix rrlp subdissector calling
...
svn path=/trunk/; revision=21921
2007-05-24 13:30:45 +00:00
Tomas Kukosa
a0ee5100c4
ULP regenerated from OMA UserPlane Location Protocol Candidate Version 1.0 – 22 Jan 2007
...
svn path=/trunk/; revision=21778
2007-05-15 08:26:18 +00:00
Anders Broman
1cf1f16391
Split out common asn1 stuff to asn1.h and include that where needed.
...
svn path=/trunk/; revision=21635
2007-05-01 22:05:11 +00:00
Ronnie Sahlberg
2d1bb39121
change the signature for the get_pdu_len() function pointer passed to tcp_dissect_pdus() to also include a packet_info pointer.
...
there are many reasons why some protocols actually need to be able to access the pinfo structure while determining the pdu size
svn path=/trunk/; revision=19751
2006-10-31 09:29:07 +00:00
Anders Broman
ed5e8f550c
Complete reasembly code.
...
svn path=/trunk/; revision=18279
2006-05-31 20:22:51 +00:00
Anders Broman
c510c6118e
Preparations for reassembly. Currently there is a problem with the rrlp dissector...
...
svn path=/trunk/; revision=18258
2006-05-30 20:52:43 +00:00
Ronnie Sahlberg
89f022b12b
name change
...
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Anders Broman
622f6d8922
PER:
...
Adapt dissect_per_octet_string to unaligned PER.
Call rrlp dissector from ulp dissector.
svn path=/trunk/; revision=18176
2006-05-16 22:00:18 +00:00
Tomas Kukosa
31547dee95
regenerated with new asn2eth
...
svn path=/trunk/; revision=18158
2006-05-15 06:36:17 +00:00
Anders Broman
ecac136d4d
Make dissect_per_constrained_integer handle unaligned PER.
...
Add ULP TCP port preference decode IPv4/IPv6 fields.
svn path=/trunk/; revision=18143
2006-05-13 12:06:56 +00:00
Anders Broman
956d317fb8
- Some minor asn1 corrections
...
- Dissect Enumerated correctly
- Add message to info col.
svn path=/trunk/; revision=18117
2006-05-09 19:01:20 +00:00
Anders Broman
4e54a1a204
Fix an ASN1 error and use the IAANA registered ports.
...
svn path=/trunk/; revision=18102
2006-05-07 13:22:30 +00:00
Anders Broman
6cdc37b8b9
Add OMA UserPlane Location Protocol packet dissector
...
svn path=/trunk/; revision=18076
2006-05-02 19:44:12 +00:00