From a2a0c7527eb86e69bc7a78d9250eb5a1068ae5b7 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Wed, 25 Jun 2025 15:19:19 +0200 Subject: lwip: add sntp command Implement the sntp command when NET_LWIP=y. Signed-off-by: Jerome Forissier --- include/net-common.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/net-common.h b/include/net-common.h index d4512c3a4d1..1112af381a9 100644 --- a/include/net-common.h +++ b/include/net-common.h @@ -491,6 +491,17 @@ int dhcp_run(ulong addr, const char *fname, bool autoload); */ int do_ping(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); +/** + * do_sntp - Run the sntp command + * + * @cmdtp: Unused + * @flag: Command flags (CMD_FLAG_...) + * @argc: Number of arguments + * @argv: List of arguments + * Return: result (see enum command_ret_t) + */ +int do_sntp(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); + /** * do_tftpb - Run the tftpboot command * -- cgit v1.3.1