H A D | ntp_lists.h | 2 * ntp_lists.h - linked lists common code 4 * SLIST: singly-linked lists 7 * These macros implement a simple singly-linked list template. Both 8 * the listhead and per-entry next fields are declared as pointers to 13 * The name of the next link field is passed as an argument to allow 14 * membership in several lists at once using multiple next link fields. 16 * When possible, placing the link field first in the entry structure 50 * FIFO: singly-linked lists plus tail pointer 53 * This is the same as FreeBSD's sys/queue.h STAILQ -- 257 gen_node * link; global() member 355 DECL_DLIST_LINK(entrytype,link) global() argument 361 INIT_DLIST(listhead,link) global() argument 367 HEAD_DLIST(listhead,link) global() argument 374 TAIL_DLIST(listhead,link) global() argument 381 NEXT_DLIST(listhead,entry,link) global() argument 388 PREV_DLIST(listhead,entry,link) global() argument 395 LINK_DLIST(listhead,pentry,link) global() argument 403 LINK_TAIL_DLIST(listhead,pentry,link) global() argument 411 UNLINK_DLIST(ptounlink,link) global() argument 419 ITER_DLIST_BEGIN(listhead,iter,link,entrytype) global() argument 431 REV_ITER_DLIST_BEGIN(listhead,iter,link,entrytype) global() argument [all...] |