lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] ICMP disable - runtime


From: Piero 74
Subject: [lwip-devel] ICMP disable - runtime
Date: Mon, 10 Nov 2008 17:39:58 +0100

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)

Bye,
Piero

reply via email to

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