summaryrefslogtreecommitdiff
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2005-07-30Remove packet-fcse.hJörg Mayer1-1/+0
svn path=/trunk/; revision=15145
2005-07-30Declare many functions static, move the #defines from packet-fcse.h toJörg Mayer2-66/+33
packet-fcse.c and remove packet-fcse.h svn path=/trunk/; revision=15144
2005-07-29Pick up some fixes and enhancements fromGerald Combs2-20/+21
http://cvs.fedora.redhat.com/viewcvs/rpms/ethereal/FC-4/: In the LPD dissector, make lpd_client_code a value_string so that we don't segfault. Do the same for lpd_server_code, although it's not strictly necessary. Check to see if htmlview is installed, and use it as our HTML viewer. The Fedora RPM has other patches, but I'm not sure if they should be applied. svn path=/trunk/; revision=15143
2005-07-29some more ememification of tvb_get_string()Ronnie Sahlberg1-15/+6
svn path=/trunk/; revision=15142
2005-07-29Suggest that perhaps displaying chunks in the chunked encoding with theGuy Harris1-0/+7
data dissector might be overkill, as it causes each of those chunks to be dumped in hex in Tethereal output - along with whatever's done with the data reassembled from those chunks. svn path=/trunk/; revision=15141
2005-07-29Use "PROTO_ITEM_SET_GENERATED()" to mark generated items as such; itGuy Harris1-4/+7
takes care of the square brackets, etc.. svn path=/trunk/; revision=15140
2005-07-29If we do reassembly and hand the packet to the dissector, and theGuy Harris2-8/+24
dissector says "sorry, I need even more data in this packet", don't flag that packet as being reassembled in that frame. Indicate that we should perhaps do all the "partial reassembly" stuff in "fragment_set_partial_assembly()", which would obviate the need for the hack in the TCP dissector. Clean up indentation. svn path=/trunk/; revision=15139
2005-07-29Constify some variables, functions, and structure members to squelchGuy Harris2-5/+6
compiler warnings. svn path=/trunk/; revision=15138
2005-07-29Constify some variables and arguments to squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15137
2005-07-29Include <epan/emem.h> to declare ep_alloc().Guy Harris1-0/+1
svn path=/trunk/; revision=15136
2005-07-29Cast away some (otherwise unremovable, and harmless, in this case)Guy Harris1-4/+4
warnings. svn path=/trunk/; revision=15135
2005-07-28more emeification of tvb_get_string()Ronnie Sahlberg2-9/+4
svn path=/trunk/; revision=15133
2005-07-28ememify some more calls to tvb_get_string()Ronnie Sahlberg4-8/+4
this fixes an obvious memleak in ms-mms svn path=/trunk/; revision=15132
2005-07-28some more memification of tvb_get_string() no obvious memleaks fixed this ↵Ronnie Sahlberg9-27/+11
time :-( svn path=/trunk/; revision=15131
2005-07-28ememify some more tvb_get_string() callsRonnie Sahlberg3-27/+11
one memleak in vnc related to tvb_get_string() closed. svn path=/trunk/; revision=15130
2005-07-28ememify the tvb_get_string() and tvb_fake_unicode() calls in tdsRonnie Sahlberg1-35/+22
svn path=/trunk/; revision=15129
2005-07-28add an ep version of tvb_fake_unicode()Ronnie Sahlberg2-0/+44
svn path=/trunk/; revision=15128
2005-07-28packet_ber has for some time been doing sanity checking of the BER Length fieldsRonnie Sahlberg2-5/+5
that they are not longer than the reported length of the tvb. this triggers some bugs since in packet-ber we are a bit too lax in setting reported_length of the tvb_new_subset() tvb. this cause short kerberos packets to not be decoded at all and the same for other short asn based packets as well. fix some of these instances. svn path=/trunk/; revision=15127
2005-07-28char -> const char warning fixesJörg Mayer16-149/+144
svn path=/trunk/; revision=15126
2005-07-28Warning fixesJörg Mayer1-1/+1
svn path=/trunk/; revision=15125
2005-07-27Squelch another qualifier warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15122
2005-07-27As Guy mentioned: last patch replaced one occurrence too many,Jörg Mayer1-1/+1
thus the dictionary keyword encrypt was changed from encrypt to encrypted too. Undo this. svn path=/trunk/; revision=15121
2005-07-27The variable encrypt collides with the declaration in <unistd.h> onJörg Mayer1-6/+6
some platforms. Rename encrypt to encrypted. svn path=/trunk/; revision=15120
2005-07-27Move preference initialization to its own routine and make sure it gets runGerald Combs1-145/+157
when we pass "-G defaultprefs" on the command line. svn path=/trunk/; revision=15119
2005-07-27Revert my previous patch - something else was seriously screwed upJörg Mayer1-2/+0
svn path=/trunk/; revision=15118
2005-07-27gcc-4.0 (GCC) 4.0.2 20050720 (prerelease) (SUSE Linux)Jörg Mayer1-0/+2
fails when trying to use varargs. Due to a missing include config.h we were using varargs with proto.h svn path=/trunk/; revision=15117
2005-07-27The latest patch used the fieldsJörg Mayer1-1/+3
hf_qos_buf_ac, hf_qos_buf_load and hf_qos_buf_state but failed to add them to the hf_ array. Commented out their use for now. svn path=/trunk/; revision=15116
2005-07-27Ankur Aggarwal:Jörg Mayer1-63/+424
IEEE 802.11 QoS decoding svn path=/trunk/; revision=15115
2005-07-27Fix >2600 warnings by doing char -> const char changes.Jörg Mayer9-645/+443
Additionally in dissectors/packet-ansi_map.c: Flag unused parameters as such and remove dummy param = param; statements. svn path=/trunk/; revision=15114
2005-07-27Squelch another const warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15111
2005-07-27*Removing* an include is usally not the right way of removing warnings;Guy Harris1-1/+1
if some function takes, for example, a "char *" as an argument, but you're passing it an "unsigned char *", you don't squelch the warning by removing the include of the header that declares that function (you then get warnings about the function not being declared, at least with some compilers), you put in a cast (if the signedness doesn't matter) or arrange that you pass a "char *". svn path=/trunk/; revision=15110
2005-07-27Remove two warningsLuis Ontanon1-3/+3
svn path=/trunk/; revision=15109
2005-07-26Rewrite of MAP_dialouge asn1 code, export and use of functions from gsm_map.Anders Broman4-211/+151
svn path=/trunk/; revision=15106
2005-07-26Fixes from Gisle Vanem.Gerald Combs1-2/+2
svn path=/trunk/; revision=15101
2005-07-26new functions:Luis Ontanon5-3/+136
ep_tvb_memdup() ep_alloc0() ep_strsplit() add all of the ep_ allocators to libethereal.def svn path=/trunk/; revision=15100
2005-07-26add "BadOutOfService" quality codeUlf Lamping1-0/+1
svn path=/trunk/; revision=15095
2005-07-26Don't add a new data source if we don't have any data.Gerald Combs1-1/+1
svn path=/trunk/; revision=15089
2005-07-26add iFCP ELS UNBIND dissectionRonnie Sahlberg2-5/+57
svn path=/trunk/; revision=15087
2005-07-26From Maynard, Chris :Anders Broman6-70/+71
The attached patches, generated via svn diff , correct various compiler & lint warnings, among them: lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers packet-ber.c(212) : warning C4018: '<=' : signed/unsigned mismatch packet-ber.c(228) : warning C4018: '>=' : signed/unsigned mismatch packet-bootp.c(2112) : warning C4018: '<' : signed/unsigned mismatch packet-iscsi.c(801) : warning C4018: '>=' : signed/unsigned mismatch svn path=/trunk/; revision=15085
2005-07-26Get rid of an unused variable.Anders Broman1-1/+0
svn path=/trunk/; revision=15082
2005-07-26From Hannes Gredler:Anders Broman1-65/+286
a patch that adds support for dissecting packets captured on ML-, LS- and AS PICs using Multi-link PPP encapsulation, running JUNOS 7.3 or higher; additional there i did some clean-up in the juniper dissector that makes future addition of JUNIPER_DLTs easier; svn path=/trunk/; revision=15081
2005-07-26add decoding of ELS iFCP CBIND packetsRonnie Sahlberg2-0/+101
svn path=/trunk/; revision=15080
2005-07-26char -> const char warning fixesJörg Mayer19-43/+43
svn path=/trunk/; revision=15079
2005-07-26From fred hoekstraRonnie Sahlberg2-0/+1580
New protocol: DEC DNA Routing protocol svn path=/trunk/; revision=15078
2005-07-26iFCP uses one dedicated TCP session per fc-endpoint pair.Ronnie Sahlberg3-13/+44
The FC D_id and S_id fields in teh FC frame encapsulated inside iFCP unfortunately has "undefined" (semi-random) values so we can not use th S_/D_id matching in FC when transported atop iFCP. Change iFCP to call a new fc_ifcp handler instead of the fc handler. Add a new handler to FC specific to iFCP. Only set the pinfo->src/dst fields to the S_id/D_id fields IFF the FC frame was NOT transported ontop of iFCP. Othervise we just use the TCP/IP values that are already stored there. Some Hosts use RelativeOffset fields for FC. We can only dissect the RelOff field with offset 0. Change FC to only call the FCP subdissector if offset==0 when relative offsets are used. Some hosts when using relative offsets do not specify a proper value for rxid in teh commands instead htey lkeave it as 0xffff Change the FCP conversation matching to ignore RXID when searching for a conversation. svn path=/trunk/; revision=15076
2005-07-25Avoid leaking tap info by using emem allocatorsLuis Ontanon1-24/+13
svn path=/trunk/; revision=15075
2005-07-25From Thomas Anders:Luis Ontanon3-4/+205
SNMP Engine ID dissection according to RFC3411 svn path=/trunk/; revision=15073
2005-07-25From Ronnie: Offset checking/handling fix.Gerald Combs1-31/+29
Fix up whitespace and newlines. svn path=/trunk/; revision=15072
2005-07-25from abooRonnie Sahlberg1-13/+13
fix multiple pdus in one segment svn path=/trunk/; revision=15069
2005-07-25Warning fixesJörg Mayer3-12/+12
svn path=/trunk/; revision=15067