Commit Graph

27340 Commits

Author SHA1 Message Date
Martin Mathieson cea663a187 Sequence analysis is only for UM channels for now.
svn path=/trunk/; revision=28195
2009-04-29 21:50:02 +00:00
Anders Broman 8ca52b284c Try to fix the build bot.
svn path=/trunk/; revision=28194
2009-04-28 22:40:59 +00:00
Anders Broman fbc7d2bf4e Signals and IE's updated to V8.1.1 (2009-04).
svn path=/trunk/; revision=28193
2009-04-28 19:40:37 +00:00
Anders Broman 27fa136ee9 Dissect IMSI.
svn path=/trunk/; revision=28192
2009-04-28 19:39:16 +00:00
Martin Mathieson 18f0722913 Try to cast away win64 buildbot problem.
svn path=/trunk/; revision=28191
2009-04-28 10:05:56 +00:00
Martin Mathieson 231928b308 Avoid calling strlen() lots of unnecessary times when parsing outhdr values.
svn path=/trunk/; revision=28190
2009-04-28 09:22:35 +00:00
Bill Meier ac06ea0517 find_dlg: handler_id returned from g_signal_connect is gulong (not int)
svn path=/trunk/; revision=28189
2009-04-28 03:00:40 +00:00
Bill Meier 9e3f624416 reg_handoff: if (!initialized) ... not req'd; Also: propset.
svn path=/trunk/; revision=28188
2009-04-28 02:06:35 +00:00
Guy Harris 53525f893f Add packet-pw-common.h to the distribution.
svn path=/trunk/; revision=28187
2009-04-28 00:47:30 +00:00
Guy Harris e637af376a pcap_to_wtap_map is not used outside wiretap/pcap-common.c, so make it
static.

svn path=/trunk/; revision=28186
2009-04-27 22:07:11 +00:00
Guy Harris 7876fb4ead Nettl format != libpcap format && nettl format != pcap-NG format.
Remove the stuff for nettl from the LINKTYPE_ <-> WTAP_ENCAP_ mapping
table.

svn path=/trunk/; revision=28185
2009-04-27 21:28:53 +00:00
Guy Harris a60cae6935 Move pseudo-header routines from libpcap.c to pcap-common.c, for use
with pcap-NG files.

svn path=/trunk/; revision=28184
2009-04-27 19:39:06 +00:00
Martin Mathieson c1e9d8244b Try to speed up dissection by using pointers rather than allocating strings. This is safe as the line is in a static buffer throughout the dissection of any given frame.
svn path=/trunk/; revision=28183
2009-04-27 17:44:32 +00:00
Jörg Mayer ebceaff49c propset
svn path=/trunk/; revision=28182
2009-04-27 17:20:07 +00:00
Balint Reczey eeef135e2f From Artem Tamazov: SAToP and CESoPSN MPLS PW support.
Introduction of decoding of MPLS payloads as CESoPSN PW (RFC5086)
and SAToP PW (RFC4553). Not supported yet:
- CESoPSN Basic NxDS0 mode.
- Decoding of <Optional> RTP Headers (RFC3550)
- Decoding of PW payload



svn path=/trunk/; revision=28181
2009-04-27 16:57:02 +00:00
Anders Broman b96b6756c9 Use GTK+ 2.16.1-1
svn path=/trunk/; revision=28180
2009-04-27 16:50:58 +00:00
Anders Broman 93e07687ba Bug fixes.
svn path=/trunk/; revision=28179
2009-04-27 15:32:43 +00:00
Bill Meier 9428d8a7d0 follow_stream: Oops: revert making functions static.
svn path=/trunk/; revision=28178
2009-04-27 14:56:07 +00:00
Bill Meier 37a45966a9 follow_stream: Don't load follow text twice when initially building the window;
Also: Define various internal functions as static;

svn path=/trunk/; revision=28177
2009-04-27 14:39:10 +00:00
Michael Tüxen fa8bb35715 Use named constant.
svn path=/trunk/; revision=28176
2009-04-27 11:52:14 +00:00
Martin Mathieson c620ac8ed6 Allow RAR UL Request field to be broken down (as in 36.213).
Also consider an RAR PDU to be malformed if it contains > 1 BI headers.

svn path=/trunk/; revision=28175
2009-04-27 11:12:01 +00:00
Michael Tüxen 5f96074755 Fix a comment.
svn path=/trunk/; revision=28174
2009-04-27 09:58:09 +00:00
Guy Harris 18a3b0659c Have the libpcap and pcap-NG code share the LINKTYPE_-to-WTAP_ENCAP_
mapping table - they should be using the same values.  Share the mapping
routines as well.

svn path=/trunk/; revision=28173
2009-04-27 09:28:28 +00:00
Guy Harris 2b36f00d1c Use GLib's G_MAXUINT16 as the largest value that fits in a guint16.
svn path=/trunk/; revision=28172
2009-04-27 08:38:58 +00:00
Michael Tüxen dccaadc3dc Remove duplicate code.
svn path=/trunk/; revision=28171
2009-04-27 08:24:21 +00:00
Michael Tüxen 6de58c28f0 Add -n option to dumpcap. It will save the capture files in
pcapng format instead of pcap. The default is to use pcap.

svn path=/trunk/; revision=28170
2009-04-27 08:11:10 +00:00
Michael Tüxen 6c26c204a1 Improve handling of strings longer than 64KB.
svn path=/trunk/; revision=28169
2009-04-27 07:12:36 +00:00
Michael Tüxen f76f80ac31 Trying to make the Windows compiler happy.
svn path=/trunk/; revision=28168
2009-04-27 05:53:02 +00:00
Guy Harris b8b67161c8 More casts to deal with 64-bit size_t.
svn path=/trunk/; revision=28167
2009-04-26 22:27:46 +00:00
Guy Harris caff2f7cd4 Cast both parts of a FILETIME to guint32, as I think DWORD is signed.
svn path=/trunk/; revision=28166
2009-04-26 22:24:48 +00:00
Guy Harris b6a18ad0b8 Add code that should work on Windows to get current time as microseconds
since January 1, 1970, 00:00:00 UTC.

svn path=/trunk/; revision=28165
2009-04-26 22:14:23 +00:00
Michael Tüxen 46e57a5574 (Try to) fix the 64-bit issues.
svn path=/trunk/; revision=28164
2009-04-26 21:30:40 +00:00
Michael Tüxen fff39b54ee Don't declare now when not used.
svn path=/trunk/; revision=28163
2009-04-26 20:03:16 +00:00
Michael Tüxen 120bf41606 Windows does not support gettimeofday(). Use 0 as a workaround for now.
svn path=/trunk/; revision=28162
2009-04-26 20:01:56 +00:00
Michael Tüxen b09b4f4084 constify some args of libpcap_write_enhanced_packet_block()
similar to libpcap_write_packet().

svn path=/trunk/; revision=28161
2009-04-26 19:24:36 +00:00
Michael Tüxen 16027310e0 Fix names.
svn path=/trunk/; revision=28160
2009-04-26 19:16:54 +00:00
Michael Tüxen b23f4a90fd Add functions to write several pcapng blocks.
svn path=/trunk/; revision=28159
2009-04-26 18:40:40 +00:00
Gerald Combs 0db2eaff9d [Automatic manuf and enterprise-numbers update for 2009-04-26]
svn path=/trunk/; revision=28157
2009-04-26 17:11:33 +00:00
Anders Broman fb1f3f0825 More IE decoding and bug fixes.
svn path=/trunk/; revision=28156
2009-04-26 16:17:00 +00:00
Michael Tüxen f5547c0d78 Make ringbuffer.[ch] file format agnostic.
Move write routines to dumpcap.c
This is a preparation for pcapng support.

svn path=/trunk/; revision=28155
2009-04-26 15:51:25 +00:00
Michael Tüxen c68e344284 Clean up some comments I forgot to remove.
svn path=/trunk/; revision=28154
2009-04-26 07:46:03 +00:00
Guy Harris a043d8482f Don't do pointer casting - some version of GCC complain about that.
svn path=/trunk/; revision=28153
2009-04-26 02:59:16 +00:00
Guy Harris f71921252e There's no guarantee that "ll" is the right modifier to use for
gint64/guint64 with GLib's formatting routines; use G_GINT64_MODIFIER
instead.

svn path=/trunk/; revision=28152
2009-04-25 21:06:09 +00:00
Michael Tüxen 94fc2641e7 - add support for interface statistic block
- distinguish between packet block and enhanced packet block
- fix a bug regarding the handling of unknown blocks

svn path=/trunk/; revision=28151
2009-04-25 19:11:35 +00:00
Anders Broman c38c73ee5a More IE decoding.
svn path=/trunk/; revision=28150
2009-04-25 17:46:16 +00:00
Anders Broman ddb0505c5b Update GSM MAP to V8.9.0 (2009-04).
svn path=/trunk/; revision=28149
2009-04-25 17:45:34 +00:00
Anders Broman 40f200a44c Try to get the security context right.
svn path=/trunk/; revision=28148
2009-04-24 20:06:00 +00:00
Stig Bjørlykke 0d40f4c4ee From Artem Tamazov (bug 3436):
Initialize some pointers.

svn path=/trunk/; revision=28147
2009-04-24 16:51:38 +00:00
Bill Meier fa6acc7d55 vms.c: undo an incorrect const committed in SVN #28144.
svn path=/trunk/; revision=28146
2009-04-24 12:52:02 +00:00
Bill Meier f06f9125bc range.c: ep_strbuf_new("") ==> ep_strbuf_new(NULL);
svn path=/trunk/; revision=28145
2009-04-24 12:18:31 +00:00