Chris Maynard
3db18f185e
Fix some typos.
...
svn path=/trunk/; revision=40787
2012-02-01 02:05:19 +00:00
Alexis La Goutte
0a8ea997e1
Fix indent and add modelines information
...
svn path=/trunk/; revision=40258
2011-12-21 14:18:28 +00:00
Chris Maynard
ec5aa661d9
Explicitly display "Source or Destination Address/Host" like IPv4.
...
svn path=/trunk/; revision=40095
2011-12-05 19:12:24 +00:00
Chris Maynard
8e83e11d3f
Call tap_queue_packet() after pinfo data is updated. Also, like IPv4, display next header field in decimal instead of hexadecimal (REF: http://www.iana.org/assignments/protocol-numbers/protocol-numbers.xml )
...
svn path=/trunk/; revision=40083
2011-12-03 17:03:06 +00:00
Chris Maynard
a5924e3fa3
Some code needs to execute (potentially) whether the tree is NULL or not. Also, changed "Left Segments" to read, "Segments Left" to better match RFC 2460 and RFC 3775 terminology.
...
svn path=/trunk/; revision=40077
2011-12-03 04:32:08 +00:00
Chris Maynard
33c8389976
If a type 2 Mobile IP routing header is present, only set pinfo->dst if seg_left is non-zero. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6560
...
svn path=/trunk/; revision=40076
2011-12-03 04:07:20 +00:00
Alexis La Goutte
a21d6f0a96
Remove unused code (Add in Revision 836)
...
Fix also some Clang/GCC Warning about unused variable
svn path=/trunk/; revision=40000
2011-11-25 10:41:11 +00:00
Bill Meier
30cee99009
Fix a number of proto_tree_add_item() encoding args.
...
svn path=/trunk/; revision=39774
2011-11-09 17:33:18 +00:00
Jeff Morriss
f5e838b602
Remove comma at the end of several enumerator lists.
...
svn path=/trunk/; revision=39700
2011-11-01 01:23:10 +00:00
Bill Meier
794757ae8f
For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
...
Also: remove trailing whitespace for a number of files.
svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier
cca6984ab9
Do some more conversions of proto_tree_add_item() 'encoding' arg
...
(previously missed).
svn path=/trunk/; revision=39450
2011-10-18 00:17:48 +00:00
Bill Meier
293049dfba
Do some conversions of proto_tree_add_item() 'encoding' arg.
...
(previously missed).
57 FT_BOOLEAN: FALSE-->ENC_BIG_ENDIAN
31 FT_BOOLEAN: TRUE-->ENC_LITTLE_ENDIAN
10 FT_BYTES: ENC_BIG_ENDIAN-->ENC_NA
1 FT_BYTES: ENC_LITTLE_ENDIAN-->ENC_NA
21 FT_BYTES: FALSE-->ENC_NA
2 FT_BYTES: TRUE-->ENC_NA
2 FT_IPXNET: ENC_BIG_ENDIAN-->ENC_NA
6 FT_IPv6: ENC_BIG_ENDIAN-->ENC_NA
1 FT_IPv6: FALSE-->ENC_NA
6 FT_NONE: ENC_BIG_ENDIAN-->ENC_NA
19 FT_NONE: FALSE-->ENC_NA
3 FT_NONE: TRUE-->ENC_NA
1 FT_STRING: ENC_BIG_ENDIAN-->ENC_ASCII|ENC_NA
1 FT_STRING: ENC_LITTLE_ENDIAN-->ENC_ASCII|ENC_NA
5 FT_STRING: FALSE-->ENC_ASCII|ENC_NA
1 FT_STRING: TRUE-->ENC_ASCII|ENC_NA
4 FT_STRINGZ: ENC_NA-->ENC_ASCII|ENC_NA
8 FT_STRINGZ: FALSE-->ENC_ASCII|ENC_NA
1 FT_INT32: FALSE-->ENC_BIG_ENDIAN
1 FT_INT32: TRUE-->ENC_LITTLE_ENDIAN
11 FT_UINT8: 0-->ENC_BIG_ENDIAN
111 FT_UINT8: FALSE-->ENC_BIG_ENDIAN
17 FT_UINT8: TRUE-->ENC_LITTLE_ENDIAN
1 FT_UINT16: 0-->ENC_BIG_ENDIAN
68 FT_UINT16: FALSE-->ENC_BIG_ENDIAN
18 FT_UINT16: TRUE-->ENC_LITTLE_ENDIAN
4 FT_UINT24: FALSE-->ENC_BIG_ENDIAN
70 FT_UINT32: FALSE-->ENC_BIG_ENDIAN
1 FT_UINT32: TRUE-->ENC_LITTLE_ENDIAN
4 FT_UINT64: FALSE-->ENC_BIG_ENDIAN
1 FT_UINT64: TRUE-->ENC_LITTLE_ENDIAN
1 FT_UINT_STRING: FALSE-->ENC_ASCII|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39442
2011-10-16 23:38:49 +00:00
Gerald Combs
583ac864c0
Enable GeoIP lookups by default. Don't add GeoIP subtrees if we didn't
...
find any databases.
svn path=/trunk/; revision=39363
2011-10-11 17:57:09 +00:00
Bill Meier
67ee5049d4
Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
...
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_BOOLEAN
FT_IPv4
FT_EUI64
FT_GUID
FT_UINT_STRING
Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260 )
svn path=/trunk/; revision=39328
2011-10-10 00:39:31 +00:00
Gerald Combs
210262ad24
Assume all strings coming from GeoIP are ISO-8859-1. Fix IPv6
...
destination GeoIP lookups.
svn path=/trunk/; revision=39299
2011-10-06 19:33:15 +00:00
Bill Meier
4e57694d4a
Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
...
Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
the encoding parameter for proto_tree_add_item() calls which directly reference
an item in hf[] which has a type of:
FT_UINT8
FT_UINT16
FT_UINT24
FT_UINT32
FT_UINT64
FT_INT8
FT_INT16
FT_INT24
FT_INT32
FT_INT64
FT_FLOAT
FT_DOUBLE
svn path=/trunk/; revision=39288
2011-10-06 03:35:44 +00:00
Gerald Combs
2841728510
Fix GeoIP-sans-IPv6 compilation.
...
svn path=/trunk/; revision=39281
2011-10-05 22:37:00 +00:00
Gerald Combs
b9b05239f1
Add GeoIP IPv6 database support. Tested with GeoIP 1.4.7, but older
...
versions *should* be supported.
svn path=/trunk/; revision=39280
2011-10-05 22:27:51 +00:00
Bill Meier
94f36ca4ff
Use ENC_NA as encoding for proto_tree_add_item() calls which directly reference an hf item (in hf[] with types:
...
FT_NONE
FT_BYTES
FT_IPV6
FT_IPXNET
FT_OID
Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN
svn path=/trunk/; revision=39260
2011-10-04 22:44:31 +00:00
Bill Meier
2bf572bc41
Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...
...
svn path=/trunk/; revision=38413
2011-08-08 17:59:32 +00:00
Bill Meier
d2269ce7d5
Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
...
svn path=/trunk/; revision=37716
2011-06-19 18:47:35 +00:00
Alexis La Goutte
08dcc37848
From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5980
...
Add draft-ietf-6man-rpl-routing-header-03 Support (RH4 RPL Routing Header)
From me :
* Display Bytes of Address and Full Address (Generated)
* Fix some Whitespace and minor enhance...
svn path=/trunk/; revision=37632
2011-06-09 18:02:13 +00:00
Stig Bjørlykke
516442af8f
Prefix "fragments" with IPv6, as is done with IPv4.
...
svn path=/trunk/; revision=37071
2011-05-12 10:27:30 +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
Jeff Morriss
61876001c3
Replace some tvb_get_ptr()s with tvb_get_ephemeral_string()s to ensure the
...
return string is NULL terminated.
There's no need to pass the result of tvb_get_ptr() as the 'value' in
proto_tree_add_*(): just use proto_tree_add_item().
svn path=/trunk/; revision=35548
2011-01-16 03:57:12 +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
Jaap Keuter
57a7873857
Fix for bug 5252:
...
Use real IPv6 destination address when RH0 has 0 segments left.
svn path=/trunk/; revision=34199
2010-09-23 06:58:55 +00:00
Jeff Morriss
381664535b
As suggested by Kovarththanan Rajaratnam in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 :
...
Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs.
svn path=/trunk/; revision=34165
2010-09-21 03:14:49 +00:00
Gerald Combs
2f6dd574b7
Display 6to4 gateway IPv4 addresses and SLA IDs.
...
svn path=/trunk/; revision=33984
2010-08-28 20:55:32 +00:00
Gerald Combs
5fb37af39a
De-obfuscate the Teredo client address and add a de-obfuscated port.
...
svn path=/trunk/; revision=33982
2010-08-28 19:46:20 +00:00
Gerald Combs
a3cbcbffb8
Display Teredo encapsulated IPv4 server and client addresses.
...
svn path=/trunk/; revision=33959
2010-08-27 19:52:17 +00:00
Gerald Combs
a875855c39
Display ISATAP encapsulated IPv4 addresses.
...
svn path=/trunk/; revision=33900
2010-08-24 00:24:44 +00:00
Gerald Combs
a766c88c52
Add a "summary in tree" option similar to v4.
...
svn path=/trunk/; revision=33878
2010-08-21 17:45:03 +00:00
Gerald Combs
71c99df326
If we have something that looks like a stateless autoconfiguration
...
address, add the corresponding MAC address to the tree.
svn path=/trunk/; revision=33870
2010-08-21 00:19:32 +00:00
Stig Bjørlykke
28006dfb4f
Use correct length for the IPv6 item.
...
svn path=/trunk/; revision=33565
2010-07-18 15:06:13 +00:00
Bill Meier
69df32fb11
#include <string.h> not needed.
...
svn path=/trunk/; revision=32411
2010-04-06 22:09:47 +00:00
Bill Meier
09764dd969
Remove unneeded #include <stdio.h>
...
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Stig Bjørlykke
47e732e29e
Changed "reassembled_length" -> "reassembled.length".
...
svn path=/trunk/; revision=31776
2010-02-03 08:47:15 +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
Jaap Keuter
1e9498cf25
From Clif Bratcher:
...
Add a tap hook to the IPv6 dissector.
svn path=/trunk/; revision=31230
2009-12-10 23:15:12 +00:00
Gerasimos Dimitriadis
c840cdd5a0
Remove the address operator from value_string arrays fed to VALS()
...
svn path=/trunk/; revision=30995
2009-11-17 18:35:27 +00:00
Jaap Keuter
2f2bfdddd9
From Ivan Sy:
...
Patch for IPv6 dissector to support the ff:
- RFC 2460 sec 3, particularly Traffic Class field's 6-bit DSCP and 2-bit ECN
- RFC 2474 sec 3, copied implementation of ip.c to determine DSCP codepoints
- RFC 3168 sec 5, for ECN's ECT and CE bits
- changed the comment
svn path=/trunk/; revision=30957
2009-11-13 22:19:31 +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
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
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Jaap Keuter
4f501b3655
From Ivan Sy:
...
Fixed IPv6 malformed packet when ip6_nxt (Next Header) is equal to "59". as per section 4.7 RFC 2460.
svn path=/trunk/; revision=29334
2009-08-08 04:51:42 +00:00
Stig Bjørlykke
b228488bc0
From Kovarththanan Rajaratnam via bug 3548:
...
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Jaap Keuter
95dfe6a326
Update IP protocol numbers according to current IANA registery.
...
svn path=/trunk/; revision=28408
2009-05-19 07:34:33 +00:00
Bill Meier
636147e417
FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
...
Also: Use global tfs_yes_no TFS structure in two cases (packet-ipv6.c)
svn path=/trunk/; revision=28311
2009-05-08 18:39:17 +00:00