![]() |
The Netsukuku Project
0.0.9
An Alternative routing method
|

Data Structures | |
| struct | linked_list |
Macros | |
| #define | LLIST_C |
| #define | LLIST_HDR(_struct) _struct *next, *prev |
| #define | is_list_zero(list) |
| #define | list_copy(list, new) |
| #define | list_dup(list) |
| #define | list_init(list, new) |
| #define | list_last(list) |
| #define | list_head(tail) |
| #define | list_append(_head, _tail, _new) |
| #define | list_add(_head, _new) |
| #define | list_join(head, list) |
| #define | list_free(list) |
| #define | list_del(head, list) |
| #define | list_ins(list, new) |
| #define | list_substitute(old_list, new_list) |
| #define | list_swap(a, b) |
| #define | list_moveback(list) |
| #define | list_movefwd(list) |
| #define | list_moveontop(_head, _list) |
| #define | list_for(i) for(; (i); (i)=(typeof (i))(i)->next) |
| #define | list_count(_head) |
| #define | list_safe_for(_ii, _next_ptr) |
| #define | list_pos(list, pos) |
| #define | list_get_pos(head, list) |
| #define | list_destroy(list) |
| #define | list_copy_some(list, check_func, func_args...) |
| #define | list_copy_all_yes(_nil) (1) |
| #define | list_copy_all(list) list_copy_some((list), list_copy_all_yes) |
| #define | clist_add(_head, _counter, _list) |
| #define | clist_append(_head, _tail, _counter, _list) |
| #define | clist_del(_head, _counter, _list) |
| #define | clist_ins(_head, _counter, _list) |
| #define | clist_join(_head, _counter, _list) |
| #define | clist_init(_counter) |
| #define | clist_destroy(_head, _counter) |
| #define | clist_qsort(_new_head, _head, _counter, _cmp_func) |
Typedefs | |
| typedef struct linked_list | l_list |
Variables | |
| struct linked_list | linked_list |
| #define clist_add | ( | _head, | |
| _counter, | |||
| _list | |||
| ) |
| #define clist_append | ( | _head, | |
| _tail, | |||
| _counter, | |||
| _list | |||
| ) |
| #define clist_del | ( | _head, | |
| _counter, | |||
| _list | |||
| ) |
| #define clist_destroy | ( | _head, | |
| _counter | |||
| ) |
| #define clist_init | ( | _counter | ) |
| #define clist_ins | ( | _head, | |
| _counter, | |||
| _list | |||
| ) |
| #define clist_join | ( | _head, | |
| _counter, | |||
| _list | |||
| ) |
| #define clist_qsort | ( | _new_head, | |
| _head, | |||
| _counter, | |||
| _cmp_func | |||
| ) |
| #define is_list_zero | ( | list | ) |
| #define list_add | ( | _head, | |
| _new | |||
| ) |
| #define list_append | ( | _head, | |
| _tail, | |||
| _new | |||
| ) |
| #define list_copy | ( | list, | |
| new | |||
| ) |
| #define list_copy_all | ( | list | ) | list_copy_some((list), list_copy_all_yes) |
| #define list_copy_all_yes | ( | _nil | ) | (1) |
| #define list_copy_some | ( | list, | |
| check_func, | |||
| func_args... | |||
| ) |
| #define list_count | ( | _head | ) |
| #define list_del | ( | head, | |
| list | |||
| ) |
| #define list_destroy | ( | list | ) |
| #define list_dup | ( | list | ) |
| #define list_for | ( | i | ) | for(; (i); (i)=(typeof (i))(i)->next) |
| #define list_free | ( | list | ) |
| #define list_get_pos | ( | head, | |
| list | |||
| ) |
| #define list_head | ( | tail | ) |
| #define list_init | ( | list, | |
| new | |||
| ) |
| #define list_ins | ( | list, | |
| new | |||
| ) |
| #define list_join | ( | head, | |
| list | |||
| ) |
| #define list_last | ( | list | ) |
| #define list_moveback | ( | list | ) |
| #define list_movefwd | ( | list | ) |
| #define list_moveontop | ( | _head, | |
| _list | |||
| ) |
| #define list_pos | ( | list, | |
| pos | |||
| ) |
| #define list_safe_for | ( | _ii, | |
| _next_ptr | |||
| ) |
| #define list_substitute | ( | old_list, | |
| new_list | |||
| ) |
| #define list_swap | ( | a, | |
| b | |||
| ) |
| #define LLIST_C |
| #define LLIST_HDR | ( | _struct | ) | _struct *next, *prev |
| typedef struct linked_list l_list |
| struct linked_list linked_list |