Commit graph

14746 commits

Author SHA1 Message Date
Jeff Morriss
a66eee919e Mark a couple more variables volatile.
svn path=/trunk/; revision=43437
2012-06-21 21:19:48 +00:00
Jeff Morriss
7a18a5e7b9 From Richard Sharpe via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7387 :
Don't break/return out of a TRY/CATCH.

svn path=/trunk/; revision=43434
2012-06-21 19:32:56 +00:00
Pascal Quantin
fe3c093534 Fix compilation with gcc...
svn path=/trunk/; revision=43409
2012-06-20 13:42:17 +00:00
Pascal Quantin
29fb9f460b Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7383 :
Put back items into the correct dtap_tree tree and comment pd_tree that is unused for now

svn path=/trunk/; revision=43408
2012-06-20 13:37:22 +00:00
Jeff Morriss
96a3da3e05 Use separate filters for the RTT found on a SACK and the RTT found on a
DATA chunk: having them in both places is helpful when looking at the
messages but having them separate is helpful when graphing the RTTs.

svn path=/trunk/; revision=43406
2012-06-20 13:30:07 +00:00
Anders Broman
1f96f7105e Revert http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43404.
(Needs rethinking).

svn path=/trunk/; revision=43405
2012-06-20 11:44:28 +00:00
Anders Broman
21e86b9d4d SDP data embeded in OCTET STRING.
svn path=/trunk/; revision=43404
2012-06-20 10:48:00 +00:00
Anders Broman
3cdd0278aa Add a link to IANA registry.
svn path=/trunk/; revision=43403
2012-06-20 10:47:18 +00:00
Anders Broman
3b24901e53 Upadte e-mail.
svn path=/trunk/; revision=43402
2012-06-20 10:46:38 +00:00
Anders Broman
4cc3cae627 - In INTERNAL HANDOVER COMMAND Circuit Identity Code is C(Coded optional in WS)
- be_speech_codec ( 3.2.2.104    Speech Codec) did not cover all codecs.

svn path=/trunk/; revision=43401
2012-06-20 07:59:20 +00:00
Jeff Morriss
030a76319c Correct the IPv6 fragment offset shown in COL_INFO.
Make some Fragment header fields filterable (add_text() -> add_item()).
Display (and make filterable) the reserved octet and bits.

svn path=/trunk/; revision=43389
2012-06-19 20:20:18 +00:00
Jakub Zawadzki
760559b957 Simplify proto_tree_add_string_format_value(..., val, "%s", val) with proto_tree_add_string.
hash is 16-bytes hex dump (ASCII!). No need to use proto_tree_add_string_format_value().

svn path=/trunk/; revision=43386
2012-06-19 19:50:43 +00:00
Pascal Quantin
fe8280ce5e Use tvb_get_ephemeral_string_enc() in combination with proto_tree_add_unicode_string() (as recommended by Jakub on the mailing list)
svn path=/trunk/; revision=43385
2012-06-19 19:25:01 +00:00
Pascal Quantin
6356f914c4 Use newly introduced proto_tree_add_unicode_string() to add UTF-8 strings
svn path=/trunk/; revision=43379
2012-06-19 18:21:53 +00:00
Jeff Morriss
adb2a47a58 Mark another variable as volatile to pacify the buildbot.
svn path=/trunk/; revision=43376
2012-06-19 17:29:56 +00:00
Anders Broman
7364abf0bc Typo
svn path=/trunk/; revision=43365
2012-06-19 14:46:21 +00:00
Jakub Zawadzki
85aad38347 Add proto_tree_add_unicode_string() to add UTF-8 string to tree.
Convert some proto_tree_add_string_format_value(..., val, "%s", val); to use new function.

svn path=/trunk/; revision=43363
2012-06-19 14:32:24 +00:00
Jakub Zawadzki
7c59ac0280 Fix bug #7378: Wireshark 1.8.0rc1: gsm_a_dtap SMS 7-bit default alphabet regression w.r.t. 1.6.8
proto_item_add_string() can be only used with ASCII strings.

svn path=/trunk/; revision=43362
2012-06-19 14:25:50 +00:00
Jeff Morriss
f39c0913ed Mark some variables as volatile to avoid compiler warnings.
svn path=/trunk/; revision=43357
2012-06-19 13:24:43 +00:00
Anders Broman
f0f3e36bda Try to fix unused variable warnings and "clobbered by 'longjmp' or 'vfork' "
svn path=/trunk/; revision=43355
2012-06-19 12:44:13 +00:00
Anders Broman
9ee8562c32 From Richard Sharpe:
Wireshark is unable to dissect Security Descriptors that span TCP segments where some are not captured or reassembled

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7363

svn path=/trunk/; revision=43352
2012-06-19 10:30:51 +00:00
Guy Harris
86a888bc0d Set save_fragmented at the beginning of the routine, so it can always be
used at the end to restore pinfo->fragmented.

svn path=/trunk/; revision=43350
2012-06-19 08:24:23 +00:00
Guy Harris
98c0e827d0 In dissect_nt_transaction_request(), restore pinfo->fragmented before
returning.

svn path=/trunk/; revision=43348
2012-06-19 08:09:28 +00:00
Anders Broman
99e919bf8b From Richard Sharpe:
packet-smb.c does not properly handle NT TRANSACT requests (and probably TRANSACT and TRANSACT2 requests)

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7351

svn path=/trunk/; revision=43347
2012-06-19 06:24:30 +00:00
Anders Broman
24d2178eb7 From Sandeep Dahiya.
Add support for Gigamon timestamp trailer (different from existing Gigamon header format).

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7365

svn path=/trunk/; revision=43346
2012-06-19 06:18:30 +00:00
Gerald Combs
0bf0ece483 Integrate r43221 and 43222 with 43211. (Revert back to having only
dscp_vals_ext.)

svn path=/trunk/; revision=43335
2012-06-18 17:23:10 +00:00
Gerald Combs
4945ce61ef Fix a null pointer warning from Clang. Not sure if we'll run into this
in practice.

svn path=/trunk/; revision=43334
2012-06-18 17:09:54 +00:00
Pascal Quantin
697cc92c86 Use enums instead of hand written values
svn path=/trunk/; revision=43333
2012-06-18 16:53:24 +00:00
Pascal Quantin
7351065ccd From Sven Eckelmann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7375 :
Add support for not_best_next_hop flag in B.A.T.M.A.N. Advanced v14 

svn path=/trunk/; revision=43332
2012-06-18 09:17:58 +00:00
Chris Maynard
d9d97cb7ce Fix typos.
svn path=/trunk/; revision=43320
2012-06-17 20:07:32 +00:00
Pascal Quantin
28e925a381 Allow future forward compatibility
svn path=/trunk/; revision=43312
2012-06-17 16:08:43 +00:00
Sake Blok
3bbb0d3bc6 Enhance dissection of the NewSessionTicket handshake message.
svn path=/trunk/; revision=43304
2012-06-17 11:30:25 +00:00
Sake Blok
e058a65c17 Fix reading back exported SSL keys. Bug was introduced in r43097.
svn path=/trunk/; revision=43303
2012-06-17 09:02:04 +00:00
Pascal Quantin
02b7064a87 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7372 :
tcap.otid and tcap.dtid can be used as display filters

svn path=/trunk/; revision=43288
2012-06-16 19:13:48 +00:00
Pascal Quantin
d57552df5d Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7371 :
Add dissection of Release 8 or higher P-GW QoS profile

svn path=/trunk/; revision=43280
2012-06-16 13:09:51 +00:00
Bill Meier
1463b2b0c8 Minor cleanup:
- Use _U_ on a fcn parameter so can remove "prevent compiler warning" line of useless code;
- indentation
- ...

svn path=/trunk/; revision=43273
2012-06-15 15:49:05 +00:00
Bill Meier
a9690db5a3 Minor Changes:
- checkcol() not needed;
- remove unneeded #include <expert.h>
- remove 'if(tree)' so "bytes dissected" returned always the same.

svn path=/trunk/; revision=43272
2012-06-15 15:15:48 +00:00
Anders Broman
cf28e12ed7 Correct a discrepancy in the specification.
svn path=/trunk/; revision=43270
2012-06-15 11:23:40 +00:00
Chris Maynard
0acb6e6f34 Fix Coverity CID 703858: Unused pointer value.
svn path=/trunk/; revision=43268
2012-06-14 23:56:59 +00:00
Chris Maynard
718a61d6f4 Fix Coverity CID 703859: Unused pointer value.
Fix Coverity CID 703860: Unused pointer value.

svn path=/trunk/; revision=43267
2012-06-14 23:39:44 +00:00
Anders Broman
17da162356 Try to fix a couple of warnings.
svn path=/trunk/; revision=43259
2012-06-14 15:50:24 +00:00
Pascal Quantin
2d4d566636 Add dissection of utra-BCCH-Container-r10
svn path=/trunk/; revision=43257
2012-06-14 10:43:54 +00:00
Anders Broman
d4aaeccac7 Pretify columns.
svn path=/trunk/; revision=43256
2012-06-14 08:44:45 +00:00
Pascal Quantin
41b3988bbd Fix function name (it is an Authentication failure, not an Attach failure)
svn path=/trunk/; revision=43255
2012-06-14 07:25:53 +00:00
Pascal Quantin
3c20eeb452 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7368 :
Identity request, Identity response and Authentication failure message dissection are swapped

svn path=/trunk/; revision=43253
2012-06-14 07:14:59 +00:00
Pascal Quantin
b9debc4467 Use value_string_ext for arrays with more than 15 entries
svn path=/trunk/; revision=43243
2012-06-13 22:02:12 +00:00
Pascal Quantin
96231f396a Use value_string_ext for arrays with more than 15 entries
svn path=/trunk/; revision=43241
2012-06-13 21:05:10 +00:00
Jeff Morriss
75972ddcd9 Mark a couple of parameters as unused.
svn path=/trunk/; revision=43235
2012-06-13 17:25:16 +00:00
Anders Broman
d2d882e4b1 From Michael Mann:
length bugfix + proto_tree_add_text() cleanup

Fixed the Web-Cache Identity Info dissection.  Also converted many of the
proto_tree_add_text() to "more filterable" APIs.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5141

svn path=/trunk/; revision=43231
2012-06-13 15:27:41 +00:00
Jeff Morriss
f00c8309af From Michael Mann via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3317
Add SSL/TLS support to the POP dissector (functionality copied from the
SMTP dissector).

svn path=/trunk/; revision=43230
2012-06-13 14:56:33 +00:00
Jeff Morriss
4fdc3c3cc2 Create, and start using, file name preferences.
File name preferences are basically just string preferences except that the
GUI will present a "Browse" button that allows the user to go and find the
file s/he wants (rather than having to blindly type in the full path).

svn path=/trunk/; revision=43228
2012-06-13 01:13:12 +00:00
Pascal Quantin
f0a74f3a5c Upgrade GSM BSSMAP dissection to Release 9 (V9.8.0)
svn path=/trunk/; revision=43227
2012-06-12 21:36:55 +00:00
Bill Meier
1b17369504 Fix: code under 'if(tree)' (in)directly calls sub-dissector/col_...()/expert...() fcns
svn path=/trunk/; revision=43226
2012-06-12 21:22:46 +00:00
Jörg Mayer
f679b89649 Revert r41952
BACKPORT to 1.8

svn path=/trunk/; revision=43222
2012-06-12 10:44:57 +00:00
Jörg Mayer
9228ece476 Manually revert r41953
BACKPORT to 1.8

svn path=/trunk/; revision=43221
2012-06-12 10:38:22 +00:00
Bill Meier
4f47eefa79 Fix bugs and other issues:
- remove 'if (tree)' around code which (eventually) calls col_...() functions;
- remove unneeded check_col() usage;
- use extended value-strings where appropriate;
- use col_set_str() instead of col_add_fstr();
- fix mismatch between proto_tree_add_item() size arg and the FT type in the
   referenced hf[] entry (in a few cases);
- FT_STRING fields should have ENC_ASCII|ENC_NA as the 'encoding' arg
   in the corresponding proto_tree_add_item() call;
- do whitespace cleanup.

Note: 1 issue remains:
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260#c12


svn path=/trunk/; revision=43217
2012-06-11 20:51:47 +00:00
Bill Meier
bdebbb9bdf Re-order 2 value_string arrays so that entries are in ascending order by value.
svn path=/trunk/; revision=43216
2012-06-11 20:35:00 +00:00
Pascal Quantin
aa0ebee47c From Alexander via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7361 :
Add BSS supported Codec list dissection to Assigment Complete message

svn path=/trunk/; revision=43215
2012-06-11 20:28:31 +00:00
Pascal Quantin
653f74bfcf From Alexander via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7360 :
Service handover IE is not correctly dissected

svn path=/trunk/; revision=43214
2012-06-11 20:12:17 +00:00
Bill Meier
5e3066f006 Use dscp_vals_ext everyplace (instead of dscp_vals);
(dscp_vals is now a static array in packet-ip.c)

svn path=/trunk/; revision=43211
2012-06-11 19:07:53 +00:00
Bill Meier
70cc6362fe Don't define value_string arrays in a .h file (included in multiple places).
Also:
 - don't use val_to_str_const() with a "format" default string;
 - rename 'opt_len_type' enumeration  identifiers to be less generic.

svn path=/trunk/; revision=43210
2012-06-11 18:47:42 +00:00
Bill Meier
afab63c34c Fix another compiler warning
svn path=/trunk/; revision=43209
2012-06-11 16:53:49 +00:00
Bill Meier
332f743f6c Fix a compiler warning
svn path=/trunk/; revision=43208
2012-06-11 16:44:42 +00:00
Bill Meier
8469651f54 General cleanup:
- remove some redundant code;
- use ep_strdup_printf() instead of g_snprintf() to a static buffer;
- create and use extended-value-strings as appropriate;
- define a value_string array as static (not as an automatic);
- use val_to_str_const() instead of val_to_str() as appropriate;
- reformat hf[] array entries;
- do general formatting cleanup;
- do whitespace cleanup (e.g., indentation & 4-space tabs).

svn path=/trunk/; revision=43207
2012-06-11 16:33:56 +00:00
Bill Meier
df07bfeba4 Create dscp_vals_ext value_str_ext (based upon dscp_vals); Use it as appropriate.
Also:
 - use val_to_str_const() [instead of val_to_str()] in a few cases;
 - do some trivial formatting cleanup.

svn path=/trunk/; revision=43204
2012-06-11 15:47:50 +00:00
Pascal Quantin
a923c28ede Use restricted character string decoding for IA5String type
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6246

svn path=/trunk/; revision=43203
2012-06-11 13:54:06 +00:00
Anders Broman
4f2c3a8e86 len is no longer used.
svn path=/trunk/; revision=43200
2012-06-11 08:07:48 +00:00
Anders Broman
8456dcbceb From Michael Mann:
Implemented RFC 4954 within the SMTP dissector.  On principle, the decryption
is disabled by default (making this feature not obviously present). However I
don't think there will ever be enough data that the performance would be an
issue if the default was changed.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7349

svn path=/trunk/; revision=43197
2012-06-11 07:10:18 +00:00
Anders Broman
34cb6f96d3 From Michael Mann:
NUL terminate the decoded string.  
Updated only dissector that uses epan_base64_decode() (packet-http.c) to assume
NULL termination.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7349

svn path=/trunk/; revision=43196
2012-06-11 07:09:11 +00:00
Bill Meier
7b94cadffd From Evan Huus: Missing breaks in packet-rsvp.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7353

svn path=/trunk/; revision=43194
2012-06-11 03:36:04 +00:00
Chris Maynard
339bedb75c Fix UDP-Lite checksum verification bug introduced with r40387 and reported by "answer" via http://ask.wireshark.org/questions/11798/is-udp-lite-checksum-correct-ipv6
There is a difference between the UDP and UDP-Lite pseudo header that wasn't realized when r40387 was committed.  Details of the difference in http://tools.ietf.org/html/rfc3828#section-3.2

svn path=/trunk/; revision=43187
2012-06-10 19:43:40 +00:00
Chris Maynard
ebe8ed3a3e Fix the other part of Coverity CID 703086. I thought I got it with r42798, but apparently that was only 1/2 the fix as sometimes they group more than one bug into a single CID.
svn path=/trunk/; revision=43185
2012-06-10 19:02:03 +00:00
Anders Broman
912ba5d00b From Michael Mann: Added dissection of IceP over UDP as well as a few preferences mentioned in the TODO. Also replaced a few proto_tree_add_text with expert_add_info_format. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1646
svn path=/trunk/; revision=43182
2012-06-10 08:24:18 +00:00
Bill Meier
4b4bb7acf5 Fix compiler error
svn path=/trunk/; revision=43181
2012-06-09 18:42:20 +00:00
Bill Meier
61d278c921 str_to_ipaddr() had a bug; use inet_pton() instead;
See: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844#c27

Also: Improve handling of an invalid value for the 'proxy IP Address'
preference. If the address is invalid, setting the preference
to "" in proto_reg_handoff...() doesn't work well.
Instead, issue a g_warning for an invalid IP address when it'
s processed in proto_reg_handoff...()
(AFAIK, there's not a way for a dissector to validate the semantic
value of a preference and report an error).

svn path=/trunk/; revision=43180
2012-06-09 18:24:09 +00:00
Chris Maynard
951b5b9c54 Do not use BASE_NONE for FT_*INT* types.
svn path=/trunk/; revision=43179
2012-06-09 17:56:08 +00:00
Chris Maynard
0169f77ac6 Do not use BASE_NONE for FT_*INT* types.
svn path=/trunk/; revision=43178
2012-06-09 17:51:30 +00:00
Chris Maynard
d9a5e3a1d2 Do not use BASE_NONE for FT_*INT* types.
svn path=/trunk/; revision=43177
2012-06-09 17:47:58 +00:00
Chris Maynard
365139b5cf Do not use BASE_NONE for FT_UINT8 types.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7333 (I think).

svn path=/trunk/; revision=43176
2012-06-09 17:08:46 +00:00
Chris Maynard
8fe8287a39 Add sip.to.tag and sip.from.tag filters.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5226

svn path=/trunk/; revision=43175
2012-06-09 15:54:15 +00:00
Chris Maynard
bf35ccfbce Allow syslog to work with "Decode As" for TCP.
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5241

svn path=/trunk/; revision=43174
2012-06-09 15:43:08 +00:00
Jeff Morriss
be965bff75 Don't register 3 (IPAddress) hf's with the same abbreviation but with 3
different types; instead use different abbreviations (filters).

This is in order to prevent running into

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2402

and seg-faulting when someone applies a filter of, for example,
diameter.Framed-IP-Address .

svn path=/trunk/; revision=43166
2012-06-08 22:23:11 +00:00
Bill Meier
836ed4ccfc Fix bug I introduced in SVN #43129.
Fixes fuzz crash reported in Bug #7346.


svn path=/trunk/; revision=43164
2012-06-08 21:17:42 +00:00
Jeff Morriss
b4f3ea200c Thinking about it more, how we're storing the application ID isn't a problem.
svn path=/trunk/; revision=43163
2012-06-08 20:08:43 +00:00
Jeff Morriss
c75657ad14 Don't call val_to_str() only to then compare the result with "Uknown": use
match_strval() instead.

Also, don't retrieve the application ID 3 more times; we've already got it
in a variable...

Point out a bug regarding how we're storing the application ID for use by
subdissectors (from r34570).

svn path=/trunk/; revision=43162
2012-06-08 19:59:33 +00:00
Gerald Combs
39dbd45c9f Fix some dead assignments.
svn path=/trunk/; revision=43157
2012-06-08 17:20:44 +00:00
Anders Broman
ae43364681 Only dissect as SDp if it's IPBCP (text encoded).
svn path=/trunk/; revision=43152
2012-06-08 11:50:52 +00:00
Anders Broman
98b74816ae From Stefan Hoffmeister:
ActiveSync WBXML CodeSpace updated to match official documentation.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7345

svn path=/trunk/; revision=43151
2012-06-08 06:26:55 +00:00
Bill Meier
fabd558ffe Fix invalid hf[] entry 'display' field value.
result: incorect display of value (and, incidentally,
        a crash in 'tshark -G values'

svn path=/trunk/; revision=43147
2012-06-07 17:39:11 +00:00
Anders Broman
059d407e19 From Niels de Vos: GlusterFS: Display SETATTR attribute valid as a list of flags https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7341
svn path=/trunk/; revision=43144
2012-06-06 20:44:21 +00:00
Anders Broman
7881fe8493 From Stephen Donnelly: Correct ERF name, add WTAP_ENCAP string display https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7313
svn path=/trunk/; revision=43141
2012-06-06 20:35:37 +00:00
Pascal Quantin
2f035a3c0f From Frank Lahm via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7334 :
FPSpotlightRPC dates structure can contain multiple dates

svn path=/trunk/; revision=43133
2012-06-06 16:55:48 +00:00
Bill Meier
027b57b472 Fix compiler error (I hope)
svn path=/trunk/; revision=43131
2012-06-06 05:58:42 +00:00
Bill Meier
e18d46784f Fix compiler error
svn path=/trunk/; revision=43130
2012-06-06 05:36:43 +00:00
Bill Meier
57c6467b81 Fix some bugs & do extensive cleanup;
Bugs fixed:
 - Calling col_...() fcns or dissectors under 'if (tree)'
 - Potential buffer overflows (if bad data)
 - Misc incorrect data display issues
Cleanup including;
 - Remove unneeded #includes
 - Fix excessive use of value_strings
 - Use extended value_strings & val_to_str_(ext_)const as appropriate
 - Optimize repeated fetches of the same data from a tvb
 - Do general code simplification
 - Remove or #if 0 unused code;
 - Add XXX comments for code which may be incorrect
 - Remove unneeded prefs callback to proto_reg_handoff...()
 - Remove unneeded use of check_col()
 - Define several functions as static
 - Move proto_reg_handoff...() to the end of the file
 - Fix whitespace (including "4 space tabs")
 - ...

svn path=/trunk/; revision=43129
2012-06-06 04:54:47 +00:00
Jörg Mayer
f554994823 Just fix some clang analysis warnings
svn path=/trunk/; revision=43126
2012-06-05 23:03:13 +00:00
Jakub Zawadzki
cf25f08af0 yami: dissect header messages, add parameter names to parent tree item.
svn path=/trunk/; revision=43117
2012-06-05 15:52:08 +00:00
Jeff Morriss
49c359bf2d Fix Coverity 703495: reference fpinf *after* checking that it is not NULL.
Also replace some 4 space tabs with spaces.

svn path=/trunk/; revision=43113
2012-06-05 15:05:17 +00:00
Jakub Zawadzki
97d51ce67f packet-yami: cleanup, remove non-ASCII character.
svn path=/trunk/; revision=43112
2012-06-05 15:02:49 +00:00
Jakub Zawadzki
7d075658b1 packet-wreth: cleanup
- make function and arrays static
- comment out unused hf-entry.
- comment out unused variable.

svn path=/trunk/; revision=43111
2012-06-05 14:50:37 +00:00