]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: lwip: Use ipaddr helpers
authorJonas Karlman <jonas@kwiboo.se>
Sat, 17 Jan 2026 00:24:40 +0000 (00:24 +0000)
committerJerome Forissier <jerome.forissier@arm.com>
Wed, 4 Feb 2026 08:04:36 +0000 (09:04 +0100)
commit8d89b16ea4bae5b0df1080f0c3b8ea4a751f40ea
treec1ae83316260f2aa5dfe98874b4bb7c73164e168
parent3299bffc7c8e57059be3738bc53c7709b7f981be
net: lwip: Use ipaddr helpers

The ip_addr_t of lwIP has support for both IPv6 and IPv4 addresses.
Some lwIP commans is directly accessing the internal addr field of the
ip_addr_t instead of using ipaddr helper functions.

Change to use ipaddr helper functions where appropriate to remove direct
access of the internal addr field. Also change a few instances from ip4
to the version less ipaddr helpers.

There is no intended functional change, besides the change from using
ip4 addr helper to using version less ipaddr helper.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Jerome Forissier <jerome.forissier@arm.com>
cmd/lwip/ping.c
net/lwip/dhcp.c
net/lwip/dns.c
net/lwip/nfs.c
net/lwip/tftp.c