SYS_SLIST_FOR_EACH_CONTAINER macro
Provide the primitive to iterate on a list under a container Note: the loop is unsafe and thus __cn should not be detached User _MUST_ add the loop statement curly braces enclosing its own code: SYS_SLIST_FOR_EACH_CONTAINER(l, c, n) { }
Arguments
__sl
A pointer on a sys_slist_t to iterate on
__cn
A pointer to peek each entry of the list
__n
The field name of sys_node_t within the container struct