SYS_SLIST_FOR_EACH_NODE macro
Provide the primitive to iterate on a list Note: the loop is unsafe and thus __sn should not be removed User _MUST_ add the loop statement curly braces enclosing its own code: SYS_SLIST_FOR_EACH_NODE(l, n) { } This and other SYS_SLIST_*() macros are not thread safe.
Arguments
__sl
A pointer on a sys_slist_t to iterate on
__sn
A sys_snode_t pointer to peek each node of the list