mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-13 03:36:59 +08:00
netif: Add getter for loopif for unit tests
This commit is contained in:
@@ -674,6 +674,11 @@ void netif_invoke_ext_callback(struct netif* netif, netif_nsc_reason_t reason, c
|
||||
#define netif_invoke_ext_callback(netif, reason, args)
|
||||
#endif
|
||||
|
||||
#if LWIP_TESTMODE && LWIP_HAVE_LOOPIF
|
||||
struct netif* netif_get_loopif(void);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user