lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #8680] Add support for LwIP static route table


From: Pradip De
Subject: [lwip-devel] [patch #8680] Add support for LwIP static route table
Date: Wed, 25 Jan 2017 21:32:01 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Follow-up Comment #36, patch #8680 (project lwip):

The hooks that I was proposing earlier were about adding/deleting prefix
routes in the routing table when an address is added/deleted to a netif.
Currently, the core code does not have a place that these hooks can be placed
in(because they need additional parameters supplied, e.g., gateway address) so
I was thinking of adding 2 APIs in netif.c that could have these hooks
embedded. 
Again, these are convenience APIs and I was planning on encapsulating them
within the hook ifdef so that they would be compiled out if the hook is not
defined. Otherwise, the application is burdened with adding/deleting these
routes whenever it adds/deletes the address to the netif. Thoughts?

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?8680>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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