Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-17 Thread Paul Offord
…Paul From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Paul Offord Sent: 17 September 2016 10:23 To: Developer support list for Wireshark <wireshark-dev@wireshark.org> Subject: Re: [Wireshark-dev] I need wmem_alloc advice please I moved the

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-17 Thread Paul Offord
<wireshark-dev@wireshark.org> Subject: Re: [Wireshark-dev] I need wmem_alloc advice please Hi Pascal, I’ve submitted the code to Gerrit – see https://code.wireshark.org/review/#/c/17750/ Best regards…Paul From: wireshark-dev-boun...@wireshark.org<mailto:wireshark-dev-boun...@wire

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-16 Thread Paul Offord
for Wireshark <wireshark-dev@wireshark.org> Subject: Re: [Wireshark-dev] I need wmem_alloc advice please Hi Paul, Le 15 sept. 2016 19:39, "Paul Offord" <paul.off...@advance7.com<mailto:paul.off...@advance7.com>> a écrit : > > Hi Pascal, > > > >

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-15 Thread Paul Offord
/2016 18:45 (GMT+00:00) To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] I need wmem_alloc advice please Hi Paul, Le 15 sept. 2016 19:39, "Paul Offord" <paul.off...@advance7.com<mailto:paul.off...@advance7.com>> a écrit : > > Hi Pascal, > >

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-15 Thread Pascal Quantin
From: wireshark-dev-boun...@wireshark.org [mailto: wireshark-dev-boun...@wireshark.org] On Behalf Of Pascal Quantin > Sent: 15 September 2016 17:49 > To: Developer support list for Wireshark <wireshark-dev@wireshark.org> > Subject: Re: [Wireshark-dev] I need wmem_alloc advice please >

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-15 Thread Paul Offord
<wireshark-dev@wireshark.org> Subject: Re: [Wireshark-dev] I need wmem_alloc advice please Hi Paul, 2016-09-15 18:44 GMT+02:00 Paul Offord <paul.off...@advance7.com<mailto:paul.off...@advance7.com>>: My porting of TRANSUM from LUA to C continues. I now have a working dissecto

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-15 Thread Evan Huus
Based on the name, this looks like memory that is only ever needed in the scope of dissection for a single packet. If that is the case, it should allocated in packet-scope when needed and not be global at all. Evan On Thu, Sep 15, 2016 at 12:48 PM, Pascal Quantin

Re: [Wireshark-dev] I need wmem_alloc advice please

2016-09-15 Thread Pascal Quantin
Hi Paul, 2016-09-15 18:44 GMT+02:00 Paul Offord : > My porting of TRANSUM from LUA to C continues. I now have a working > dissector but I then read README.developer and noted the guidance regarding > use of static buffers. I assume this applies to arrays too and so