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
Guy Harris
4d90d6e38d
Add some files under asn1 to the distribution.
...
Include CMakeLists.txt files and the gnm subdirectory, along with the
top-level Makefile.inc and Makefile.preinc files. Don't explicitly
include Custom.make, as automake does that automatically given that it's
included by asn1/Makefile.am.
Add some files to EXTRA_DIST lists.
Move some .asn files to EXTRA_DIST; they don't need to be in SRC_FILES,
as SRC_FILES always includes EXTRA_DIST, and they *do* need to be in
EXTRA_DIST so that they're in the distribution.
Change-Id: Id91df577260fa57028d40fe098be1d79c59398e6
Reviewed-on: https://code.wireshark.org/review/3273
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2014-07-30 23:42:55 +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
Bill Meier
1dff4e309d
Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate dissectors.
...
Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4
Reviewed-on: https://code.wireshark.org/review/412
Reviewed-by: Bill Meier <wmeier@newsguy.com>
Tested-by: Bill Meier <wmeier@newsguy.com>
2014-02-26 19:38:21 +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
b552143a5c
Put PDU dissection in protocol tree
...
svn path=/trunk/; revision=52724
2013-10-20 21:05:37 +00:00
Pascal Quantin
d269d19f99
Fix a typo
...
svn path=/trunk/; revision=52719
2013-10-20 18:06:23 +00:00
Chris Maynard
b9ee9fa694
Remove all non-ASCII characters from all .asn files. I didn't see the harm in replacing them all as opposed to only those not copied verbatim from other sources.
...
svn path=/trunk/; revision=52132
2013-09-18 02:48:29 +00:00
Michael Mann
2dbf6c59a2
Remove check_col() from ASN.1 dissectors
...
svn path=/trunk/; revision=49927
2013-06-14 12:44:50 +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
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
Guy Harris
957ef532c1
Get rid of remaining Booleans-as-encoding-arguments in
...
proto_tree_add_item() calls.
svn path=/trunk/; revision=42562
2012-05-11 07:34:47 +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
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
dd3be98aac
The attemt to pretify MSISDN and IMSI breaks the dissection.
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5593
svn path=/trunk/; revision=35679
2011-01-27 15:43:55 +00:00
Anders Broman
4a3eda9862
Updated to OMA-TS-ULP-V2_0-20100806-D
...
with asn1 files from eyimjia.
Files hand edited to pass as2wrs.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5593
(Does not fix the bug)
svn path=/trunk/; revision=35577
2011-01-19 06:27:50 +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
Anders Broman
440c3f9261
From Didier Gautheron:
...
check_col.diff
Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394
svn path=/trunk/; revision=31519
2010-01-13 20:32:01 +00:00
Anders Broman
ce85a08b8d
Update to OMA-TS-ULP-V2_0-20091208-C
...
svn path=/trunk/; revision=31397
2010-01-01 14:54:05 +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
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
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
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
Tomas Kukosa
0bb472dc2d
comment out NEED_PACKET_PROTO_H as it is tested now for defining not for value
...
svn path=/trunk/; revision=23126
2007-10-10 07:55:36 +00:00
Tomas Kukosa
7c241d83c2
add forgotten makefiles
...
svn path=/trunk/; revision=22995
2007-09-27 07:08:47 +00:00
Tomas Kukosa
706e13b44d
put next few simple ASN.1 dissectors into the new makefile structure
...
svn path=/trunk/; revision=22994
2007-09-27 06:03:45 +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
Anders Broman
a80b9c8e41
Show IPv4/IPv6 addresses as such.
...
svn path=/trunk/; revision=22147
2007-06-20 21:56:03 +00:00
Tomas Kukosa
31e3747eab
get rid of few warnings
...
svn path=/trunk/; revision=21933
2007-05-25 11:40:32 +00:00
Anders Broman
082c1718a7
No longer needed as nothing is exported.
...
svn path=/trunk/; revision=21925
2007-05-24 19:11:04 +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
Ulf Lamping
647533a5ef
put every python script name into "" so the call won't fail on Win32 native python.
...
The problem is the slash in e.g.:
@$(PYTHON) ../../tools/make-dissector-reg.py
is interpreted as an option instead of being part of the path.
I didn't wanted to use backslashes as this might introduce new problems with cygwin's python port.
svn path=/trunk/; revision=19730
2006-10-29 17:19:52 +00:00