summaryrefslogtreecommitdiff
path: root/extmod/modnetwork.h
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-07-07 12:32:29 +1000
committerDamien George <damien@micropython.org>2025-07-17 13:38:58 +1000
commitcf490ed34618782cef591a41438a62e1437d7d5c (patch)
tree2065fe0fe7854d18c5f71a5e5ff91035482ebc9c /extmod/modnetwork.h
parent8504391766cf9cd181ea178669b75e362043694d (diff)
extmod/network_lwip: Add sys_untimeout_all_with_arg helper function.
Really lwIP should provide this, to deregister all callbacks on the given netif. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'extmod/modnetwork.h')
-rw-r--r--extmod/modnetwork.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/modnetwork.h b/extmod/modnetwork.h
index d16329f07..754f6e124 100644
--- a/extmod/modnetwork.h
+++ b/extmod/modnetwork.h
@@ -82,6 +82,9 @@ extern const struct _mp_obj_type_t mp_network_ppp_lwip_type;
#endif
struct netif;
+
+void sys_untimeout_all_with_arg(void *arg);
+
void mod_network_lwip_init(void);
void mod_network_lwip_poll_wrapper(uint32_t ticks_ms);
mp_obj_t mod_network_nic_ifconfig(struct netif *netif, size_t n_args, const mp_obj_t *args);