Re: [PATCH v2 07/14] net-lwip: add dns command

2024-06-06 Thread Maxim Uvarov
чт, 6 июн. 2024 г. в 09:29, Ilias Apalodimas : > > Hi Jerome, > > [...] > > > + > > +static ulong start; > > +static ip_addr_t host_ipaddr; > > +static bool done; > > + > > +static void do_dns_tmr(void *arg) > > +{ > > + dns_tmr(); > > +} > > + > > +static void dns_cb(const char *name, const ip

Re: [PATCH v2 07/14] net-lwip: add dns command

2024-06-06 Thread Jerome Forissier
On 6/6/24 08:29, Ilias Apalodimas wrote: > Hi Jerome, > > [...] > >> + >> +static ulong start; >> +static ip_addr_t host_ipaddr; >> +static bool done; >> + >> +static void do_dns_tmr(void *arg) >> +{ >> + dns_tmr(); >> +} >> + >> +static void dns_cb(const char *name, const ip_addr_t *ipadd

Re: [PATCH v2 07/14] net-lwip: add dns command

2024-06-05 Thread Ilias Apalodimas
Hi Jerome, [...] > + > +static ulong start; > +static ip_addr_t host_ipaddr; > +static bool done; > + > +static void do_dns_tmr(void *arg) > +{ > + dns_tmr(); > +} > + > +static void dns_cb(const char *name, const ip_addr_t *ipaddr, void *arg) > +{ > + char *var = (char *)arg; const char

[PATCH v2 07/14] net-lwip: add dns command

2024-05-24 Thread Jerome Forissier
Add CONFIG_CMD_DNS_LWIP depending on CONFIG_NET_LWIP to provide the dns command using lwIP. Signed-off-by: Jerome Forissier --- cmd/Kconfig| 6 +++ cmd/net-lwip.c | 8 include/net-lwip.h | 1 + net-lwip/Makefile | 1 + net-lwip/dns.c | 107 ++