lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] ICMP disable - runtime


From: Jonathan Larmour
Subject: Re: [lwip-devel] ICMP disable - runtime
Date: Mon, 10 Nov 2008 16:58:33 +0000
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

Piero 74 wrote:
> Hi all.
> 
> Our marketing group asked me if it could be possible add a feature to my
> lwip based board:
> they want that board implements ICMP (so, sends ping answer) in default
> version, but they also want the possibility to disable it using a tcp
> command. (to avoid hacking)
> I have non volatile memory on my board, so i can save this information
> and force a hot restart of board (so, restart lwip stack and application).
> 
> But i saw in code only a define for compile/not compile ICMP: how can
> change this  to manage ICMP on/off after a reset?
> (i'm thinking to put an "if(optionPingEnabled)..." everywhere i see
> LWIP_ICMP, but i'd like don't change lwip code... i'm searching a
> workaround if exist)

I think that's a bizarre enough requirement that the answer is no. What you
suggest is instead the only way I'd expect to be able to do that.

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine




reply via email to

[Prev in Thread] Current Thread [Next in Thread]