Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] AMQP dissector patch

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: "Luis Ontanon" <luis.ontanon@xxxxxxxxx>
Date: Sun, 3 Jun 2007 21:33:05 +0200

You could use _U_ in the template for all those arguments that might
not be used, regardless of whether they're actually used or not. If
_U_ is not necessary there's no problem if it is present.

L

On 6/1/07, Martin Sustrik <sustrik@xxxxxxxxxx> wrote:
Steve,

The problem is that the code is generated from the protocol
specification. If I was to find out which parameters actually need _U_
and which do note, the code generation would get considerably more
complex (two passes instead of single one).

Martin

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 21 May 2007 14:02:33 -0700

On Mon, May 21, 2007 at 02:30:59PM +0200, Martin Sustrik wrote:

 > Here's the patch for following issues:
 >
 > - If there are several AMQP frames in single TCP packet, all of them are
 > shown in the 'info' column
 > - AMQP heartbeat is dissected correctly, it doesn't assert any more
 >
 > Can you please apply the patch to the SVN?

I have one question before applying the patch.  Both in your patch and
in the existing code, many functions have _U_ for every paramter in
functions, even when those variables are used within the function.  Any
idea why that is?


Steve

_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev



--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan

  • References:
    • Re: [Wireshark-dev] AMQP dissector patch
      • From: Martin Sustrik
  • Prev by Date: [Wireshark-dev] Modified dissectors for TCP Quick-Start (RFC 4782)
  • Next by Date: [Wireshark-dev] INAP regenerated with IN CS4 asn1 files
  • Previous by thread: Re: [Wireshark-dev] AMQP dissector patch
  • Next by thread: Re: [Wireshark-dev] AMQP dissector patch
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation