Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Field reg

From: "Kumar, Hemant" <kumarh@xxxxxxxxxxxx>
Date: Tue, 5 Aug 2008 11:52:24 -0700

Hi Martin

 

I have raised this question sometime ago. Well There is no limit on the size of this array.

But just make it sure that you do not repeat any data structure of same name “hf_type” again in this array.

This will cause all the data structure declared after the repeated name to be ignored and results in error.

 

Thanks

Hemant

 

 


From: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Martin Corraine (mcorrain)
Sent: Tuesday, August 05, 2008 11:47 AM
To: Developer support list for Wireshark
Subject: [Wireshark-dev] Field reg

 

Hello all,

 

I'm working on a proprietary protocol that is very extensive. It has some fields that need to be registered in hf_register_info hf[]. Is there a limit to this array?

 

Thanks,

Martin