lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #9007] netif: add additional getters/setters


From: Jan Breuer
Subject: [lwip-devel] [patch #9007] netif: add additional getters/setters
Date: Tue, 24 May 2016 09:12:39 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Follow-up Comment #2, patch #9007 (project lwip):

It was just some terminal/telnet function to show current network
configuration.

I was using direct access to the netif->netmask field but as you told me in
different patch, I should not do that.

netmask field is type ip_addr_t so I use this type. After converting the code
to getters, there ware only ip4_addr_t getter for netmask but there ware
ip_addr_t getters for all other fields.

It was just simplier to define one missing macro and not rewrite entire code
to use ip4_addr_t.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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