Sorry, but i am having the following difficulty in a c code. what is the 3rd line for:
#define LIST_FOR_EACH_SAFE(ITER, NEXT, MEMBER, LIST) \
for (INIT_CONTAINER(ITER, (LIST)->next, MEMBER); \
(&(ITER)->MEMBER != (LIST) \
? INIT_CONTAINER(NEXT, (ITER)->MEMBER.next, MEMBER), 1 \
: 0); \
(ITER) = (NEXT))
The entire code can be found at: https://github.com/openvswitch/ovs/blob/ff261703821658243bba13c80311130d036eeb52/include/openvswitch/list.h
SORRY, but this might take up some time for you to get the entire code.