aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pana.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-09-10Initial commit to support yet another method of passing data between dissectors.Jakub Zawadzki1-1/+1
Add new parameter 'data' to heur_dissector_t and new_dissector_t, for now it's always NULL svn path=/trunk/; revision=44860
2012-06-28Update FSF address - part II.Jakub Zawadzki1-1/+1
svn path=/trunk/; revision=43538
2011-08-08Remove unneeded #includes: proto.h,tvbuff.h,value_string.h,stdlib.h,...Bill Meier1-1/+0
svn path=/trunk/; revision=38413
2011-07-29From Colin O'Flynn & Robert Craige via ↵Alexis La Goutte1-3/+24
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6109 Add support for PANA Relay svn path=/trunk/; revision=38257
2011-06-19Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.Bill Meier1-2/+0
svn path=/trunk/; revision=37716
2010-10-04From Yasuyuki Tanaka: Fix PANA (RFC 5191) packets are dissected incorrectly.Bill Meier1-217/+215
(AVP length as being interpreted incorrectly). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5183 From me: General dissector code cleanup & bug fixing: - Show/dissect AVP "value" for non-vendor-specific AVPs; - Tighten & cleanup heuristic; - Fix some potential overflow issues; - #include <stdio.h> #include <stdlib.h> not req'd; - Fix some whitespace & formatting; svn path=/trunk/; revision=34366
2010-05-13As suggested in ↵Jeff Morriss1-14/+2
http://www.wireshark.org/lists/wireshark-dev/200809/msg00075.html (as referenced in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907 ) and https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3411 : Write a new convenience routine for finding a conversation and, if it is not found, create it. The frame number and addresses are taken from pinfo (as is the common case). Use this function in a bunch of dissectors. svn path=/trunk/; revision=32790
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32410
2010-01-13From Didier Gautheron:Anders Broman1-1/+0
col_clear.diff Remove calls to col_clear : - called twice. - before functions which also clear the column - by replacing col_clear + col_append_xxx with col_add_xxx https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 svn path=/trunk/; revision=31517
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29340
2009-07-07From Kovarththanan Rajaratnam:Stig Bjørlykke1-2/+2
More FT_XXX cleanup. svn path=/trunk/; revision=28971
2009-05-29tvb_new_real_data -> tvb_new_child_real_dataAnders Broman1-1/+1
svn path=/trunk/; revision=28517
2008-12-19Back out r27047 and r27053.Gerald Combs1-0/+1
svn path=/trunk/; revision=27062
2008-12-18Update calls to proto_tree_add_bytes_format to reflect r27047.Gerald Combs1-1/+0
svn path=/trunk/; revision=27053
2008-09-30Minor cleanup related to proto_register, proto_reg_handoffBill Meier1-9/+4
svn path=/trunk/; revision=26307
2008-04-16The right length to use when scanning all the data in a packet is theGuy Harris1-26/+50
*reported* length, so that if the packet was cut short by a snapshot length, we get an exception because we run past the end, and the packet is marked as having been cut short. Do not use DISSECTOR_ASSERT() to check for the validity of packet data; dissectors should try to handle even malformed packets, they shouldn't report malformed packets as dissector bugs (if DISSECTOR_ASSERT(), that is *ipso facto* evidence of a dissector bug, *even if the packet is malformed*). Update the offset when scanning the packet even if we *aren't* building the protocol tree. svn path=/trunk/; revision=25068
2008-04-15Call DISSECTOR_ASSERT instead of g_assert in dissector code.Stig Bjørlykke1-1/+1
This fixes bug 2464. svn path=/trunk/; revision=25039
2008-03-15From http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1539 :Jeff Morriss1-2/+2
Hexadecimal and octal are unsigned. Don't let dissectors register signed fields (FT_INT*) to be displayed in hexadecimal (including HEX_DEC and DEC_HEX) or octal. Fix dissectors that do that mostly by changing the fields to unsigned though in PANA it appears the fields are meant to be signed so change those fields to be displayed in decimal. This fixes an assertion crash in hfinfo_numeric_format() if/when someone tries to create a filter using one of these mixed signed/unsigned fields (because that routine does not know how to present the user with a signed value in hex). Also add FT_*INT64 to the "make sure it's not BASE_NONE" check. svn path=/trunk/; revision=24643
2008-03-04match_strval() may return NULL so don't blindly pass its return value into ↵Jeff Morriss1-4/+5
col_add_*() or proto_add_*(); use val_to_str() (returning "Unknown (%d)" if no match is found) instead. svn path=/trunk/; revision=24557
2007-10-12Fix bug 1908: strengthen the PANA new-style-dissector heuristics by checking ↵Jeff Morriss1-0/+17
that the length of the first AVP is less than the length of the message. svn path=/trunk/; revision=23167
2007-08-22The reserved field is now 16 bits. Treat it as such.Jaap Keuter1-2/+2
svn path=/trunk/; revision=22585
2007-08-22From Victor Fajardo:Jaap Keuter1-57/+38
Updated patches to support draft-ietf-pana-pana-18.txt. svn path=/trunk/; revision=22583
2007-07-10Fix reserved bits bitmask.Jaap Keuter1-1/+1
svn path=/trunk/; revision=22282
2007-06-14From Victor Fajardo:Jaap Keuter1-74/+39
Attached is a patch file for the PANA protocol dissector. The changes updates the packet-pana.c dissector to support draft-ietf-pana-pana-15.txt. svn path=/trunk/; revision=22098
2007-05-08From Victor Fajardo:Stephen Fisher1-1/+1
The packet-pana.c dissector I have submitted previously [SVN rev 21447] had a minor issue. The following are the fixes: Change packet-pana.c, Line 823: { "Ping","pana.flags.e", to: { "Error","pana.flags.e", svn path=/trunk/; revision=21731
2007-04-18Don't use DISSECTOR_ASSERT to (essentially) verify packet data. InsteadJeff Morriss1-2/+12
add an expert info entry if the AVP length is 0 and just return after dissecting that AVP. svn path=/trunk/; revision=21465
2007-04-16Replace g_assert() with DISSECTOR_ASSERT()Jeff Morriss1-1/+1
svn path=/trunk/; revision=21448
2007-04-16From Victor Fajardo: update the PANA dissector to draft-15aJeff Morriss1-136/+99
svn path=/trunk/; revision=21447
2007-04-14fix MacOSX gcc-3.3 warnings about unused tfs/value_string variablesSebastien Tandel1-1/+1
most have been tagged unused (few have been deleted if dissector has not been modified since a long time) move packet-ssl-utils.c to DISSECTOR_SRC svn path=/trunk/; revision=21431
2007-04-10Fix bug 1511:Jeff Morriss1-1/+1
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1511 by replacing g_assert() with DISSECTOR_ASSERT(). svn path=/trunk/; revision=21366
2006-08-14rename some structures and defines from the se_tree to the emem_tree prefixRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18894
2006-07-14add request response tracking and response timesRonnie Sahlberg1-44/+162
svn path=/trunk/; revision=18738
2006-07-14dont dissect reserved bits in a bitmapRonnie Sahlberg1-186/+0
svn path=/trunk/; revision=18734
2006-07-14new protocol PANA fromRonnie Sahlberg1-0/+1056
Peter Racz svn path=/trunk/; revision=18733