summaryrefslogtreecommitdiff
path: root/include/net-common.h
diff options
context:
space:
mode:
authorJerome Forissier <jerome.forissier@linaro.org>2025-06-25 15:19:19 +0200
committerJerome Forissier <jerome.forissier@linaro.org>2025-07-08 11:07:37 +0200
commita2a0c7527eb86e69bc7a78d9250eb5a1068ae5b7 (patch)
tree8bad02b896f50468d1a4fe1010a95aef29d68ce9 /include/net-common.h
parent77f0bed326b658fcb57f278bd5228afbe382401a (diff)
lwip: add sntp command
Implement the sntp command when NET_LWIP=y. Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Diffstat (limited to 'include/net-common.h')
-rw-r--r--include/net-common.h11
1 files changed, 11 insertions, 0 deletions
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
@@ -492,6 +492,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
*
* @cmdtp: Command information for tftpboot