<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/lwip/ping.c, branch v2026.01</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/cmd/lwip/ping.c?h=v2026.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/cmd/lwip/ping.c?h=v2026.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-08-18T13:47:58Z</updated>
<entry>
<title>net: lwip: ping: set net_try_count to 1</title>
<updated>2025-08-18T13:47:58Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-08-04T12:51:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=90c05f68fcab57d669233033d34e52b8d55d57dd'/>
<id>urn:sha1:90c05f68fcab57d669233033d34e52b8d55d57dd</id>
<content type='text'>
The legacy network stack sets net_try_count to 1 at the beginning of the
net_loop() function. This is required for net_start_again() to work
properly. Therefore, set the variable accordingly in the do_ping()
function when NET_LWIP=y. This fixes an issue where a ping to an
unreachable destination would run twice on the same network device. For
example with qemu_arm64_lwip_defconfig:

 =&gt; dhcp
 DHCP client bound to address 10.0.2.15 (3 ms)
 =&gt; ping 10.0.0.1
 Using virtio-net#32 device
 ping failed; host 10.0.0.1 is not alive
 Using virtio-net#32 device
 ping failed; host 10.0.0.1 is not alive
 =&gt; QEMU: Terminated

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: ping: accept host name when CONFIG_CMD_DNS=y</title>
<updated>2025-07-08T09:07:37Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-06-25T13:19:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ab1fdb5436a33da35db2730ca66e6914dd9d5f4c'/>
<id>urn:sha1:ab1fdb5436a33da35db2730ca66e6914dd9d5f4c</id>
<content type='text'>
Update the ping command so that a host name is accepted in addition to
an IP address, provided DNS support is enabled.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: split cmd/net-lwip.c into one file per command</title>
<updated>2025-07-08T09:07:37Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-06-25T13:19:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ba814b8b5a74d1bc0cecd3f6031eecb025f28f15'/>
<id>urn:sha1:ba814b8b5a74d1bc0cecd3f6031eecb025f28f15</id>
<content type='text'>
Move each command in cmd/net-lwip.c into its own file
(cmd/lwip/${cmd}.c).

Suggested-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
<entry>
<title>lwip: move net/lwip/ping.c to cmd/lwip</title>
<updated>2025-07-08T09:07:37Z</updated>
<author>
<name>Jerome Forissier</name>
<email>jerome.forissier@linaro.org</email>
</author>
<published>2025-06-25T13:19:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d63c4434bfa2727b1ecb8162ba49e8a7e69e24b2'/>
<id>urn:sha1:d63c4434bfa2727b1ecb8162ba49e8a7e69e24b2</id>
<content type='text'>
Prepare to split the ping command from cmd/net-lwip.c by moving the
implementation from net/lwip/dns.c to cmd/lwip.

Signed-off-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
</content>
</entry>
</feed>
