Commit Graph

34 Commits

Author SHA1 Message Date
Guy Harris e5d0659195 A dissector called from tcp_dissect_pdus() has to return void. (If you
want to have a dissector capable of rejecting packets, you need to
reject the packet before you call tcp_dissect_pdus() - once you're doing
reassembly, etc., it's too late to reject the packet.)

svn path=/trunk/; revision=18029
2006-04-29 09:30:09 +00:00
Anders Broman 039e39d8b4 Fix bug 896 by using tcp_dissect_pdus() .
svn path=/trunk/; revision=18027
2006-04-28 21:41:13 +00:00
Anders Broman c850e7a683 Use dissect_e212_mcc_mnc().
svn path=/trunk/; revision=17127
2006-01-30 05:55:46 +00:00
Lars Roland de4522f70d Fix an infinite loop in gsm_a dissector and a wrong offset in uma dissector.
This fixes bug 716.

svn path=/trunk/; revision=17119
2006-01-29 15:54:10 +00:00
Anders Broman 0fd0ebef0e Dissct Ptotocol Id 0
svn path=/trunk/; revision=16627
2005-11-30 20:11:45 +00:00
Anders Broman 20381722de Use the right offset when calling packet-gsm_a.c functions.
svn path=/trunk/; revision=16276
2005-10-20 15:49:03 +00:00
Anders Broman 855e39b91c Update to the latest version of the standard.
svn path=/trunk/; revision=16056
2005-09-29 20:24:02 +00:00
Guy Harris 25c4bc9379 Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,
and that extract IPv6 addresses into a "struct e_in6_addr", with
tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we
remove, by using proto_tree_add_item(), rather than replacing.

Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct
e_in6_addr" (not necessary to declare the tvbuff routines, but including
it there means "struct e_in6_addr" is guaranteed to be defined before
those declarations, so we don't get compiler complaints if we define it
*after* those declarations).

svn path=/trunk/; revision=15758
2005-09-11 21:25:37 +00:00
Ronnie Sahlberg e88b3ccb32 remove sprintf from gsm_a
svn path=/trunk/; revision=15492
2005-08-21 01:52:09 +00:00
Ronnie Sahlberg ec3ab9ec3e rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the documentation in README.developer
svn path=/trunk/; revision=15270
2005-08-10 13:41:13 +00:00
Ulf Lamping 0dc9fb3d4a various code cleanup:
-use g_snprintf instead of sprintf and snprintf
-use g_strdup_printf where appropriate
-remove #include "snprintf.h" (as only g_snprintf should be used)
-replace some more alloc/realloc/calloc/free with their glib pendants

svn path=/trunk/; revision=15264
2005-08-08 18:50:39 +00:00
Ronnie Sahlberg 699e51ccdd some more ep_tvb_get_string updates
svn path=/trunk/; revision=15034
2005-07-24 04:24:30 +00:00
Anders Broman 120e20801e Use NULL intead of "" in all calls to packet-gsm_a.c
svn path=/trunk/; revision=14989
2005-07-22 08:56:41 +00:00
Gerald Combs 0de3a392be In packet-gsm_a.c:
- Make sure every function that has an "add_string" argument, make sure
    it isn't NULL before we write to it.
    a null "add_string".
  - Use "_U_" instead of "add_string = add_string" to squelch compiler
    warnings.
  - Fix other compiler warnings.

In packet-uma.c, pass NULL instead of "" for the add_string argument to
de_mid().  Fixes bug 287.

svn path=/trunk/; revision=14971
2005-07-20 20:57:04 +00:00
Guy Harris c0e24d4fff Fix the RCS ID.
svn path=/trunk/; revision=14942
2005-07-17 08:39:51 +00:00
Anders Broman c0de9d912b Remove some unused variables.
svn path=/trunk/; revision=14940
2005-07-16 19:59:21 +00:00
Anders Broman 4a1213344d Updare Id, and a comment.
svn path=/trunk/; revision=14922
2005-07-15 20:26:36 +00:00
Anders Broman a5e89b2793 Packet-gtp.c - Fix up decoding of the rest of the IE:s use routines from packet-gsm_a.c
Packet-uma.c Let packet-gsm_a handle som IE dissection.
Packet-gsm.a add some IE dissection and export some routines.

svn path=/trunk/; revision=14918
2005-07-14 21:05:38 +00:00
Guy Harris 9cb86fda9c Squelch various signed vs. unsigned warnings by:
making pointers to byte data be "guint8 *" rather than "char *",
	and making buffers holding byte data arrays of "guint8" rather
	than arrays of "char";

	making pointers to text strings "char *" rather than "guchar *";

	appropriately casting pointers (cast to "guint8 *" when passing
	to routines expecting "guint8 *" or when assigning to "guint8
	*");

	making port-number preferences "guint";

	making enum preferences "gint";

	making hf_ variables "int".

Clean up white space.

svn path=/trunk/; revision=14884
2005-07-09 00:53:17 +00:00
Anders Broman 8a448fade7 Add an exported value string
svn path=/trunk/; revision=14840
2005-07-03 21:20:27 +00:00
Anders Broman 6671c5b15d Change gsm_a.c to use value strings in some places in preparation to use it from packet-uma.c and gsm_map.
Some bug fixes to packet-uma.c

svn path=/trunk/; revision=14838
2005-07-03 20:33:06 +00:00
Anders Broman be12da7f98 Dissect GPRS user data.
svn path=/trunk/; revision=14302
2005-05-03 20:53:21 +00:00
Anders Broman a105502f35 Dissect URLC correctly and add dissection of LCC PDU.
svn path=/trunk/; revision=14276
2005-05-02 20:26:56 +00:00
Anders Broman 191d38789c Setr up conversations for RTP and RTCP.
svn path=/trunk/; revision=14085
2005-04-15 07:50:19 +00:00
Anders Broman 86d6adf84f Further IE dissection updates.
svn path=/trunk/; revision=13982
2005-03-31 04:50:48 +00:00
Anders Broman 8bd496faec Fix some typos + decode more IE stuff
svn path=/trunk/; revision=13923
2005-03-26 19:55:46 +00:00
Anders Broman 4b29cdad3c Some more IE stuff and added some ref:s
svn path=/trunk/; revision=13885
2005-03-23 21:38:05 +00:00
Anders Broman 68e9137eb1 Let packet-gsm_a.c dissect L3 messages.
svn path=/trunk/; revision=13880
2005-03-23 12:57:09 +00:00
Anders Broman b042374230 More IE dissection
svn path=/trunk/; revision=13866
2005-03-22 21:33:53 +00:00
Anders Broman 0108e3ada9 Updates according to R1.0.3 (2005-02-26) and decode some more IE:s
svn path=/trunk/; revision=13855
2005-03-21 21:15:42 +00:00
Guy Harris b678ec3704 Get rid of an unused variable.
svn path=/trunk/; revision=13777
2005-03-16 21:37:28 +00:00
Anders Broman 4bb41cd1c7 Dissect some more IE:s and bug fixes.
svn path=/trunk/; revision=13773
2005-03-16 19:30:39 +00:00
Guy Harris ad555d7c60 Fix a typo in a comment, and get rid of some unused variables, to
squelch compiler warnings.

svn path=/trunk/; revision=13771
2005-03-16 19:07:32 +00:00
Anders Broman 612e924994 Routines for Unlicensed Mobile Access(UMA) dissection ( http://www.umatechnology.org/
UMA Protocols (Stage 3) R1.0.2 (2004-11-05) )
Work in progress.

svn path=/trunk/; revision=13756
2005-03-14 22:26:57 +00:00