diff options
author | Thomas Graf <tgr@lsx.localdomain> | 2009-09-02 18:31:14 +0200 |
---|---|---|
committer | Thomas Graf <tgr@lsx.localdomain> | 2009-09-02 18:31:14 +0200 |
commit | ef858fb492dfe98e3ae194264fbc73649cf8493a (patch) | |
tree | 86e6c7adc5f4ba2294cb31a386c3f8d90c8b88be /include/netlink/list.h | |
parent | 7d249fc2e1d0cb06cd4a4dfcc0a3c425ce63def7 (diff) | |
download | libnl-ef858fb492dfe98e3ae194264fbc73649cf8493a.tar.gz |
- Reworked the classifier interface.
- Added initial ematch support
- Added support for the basic classifier
- Added support for the cgroup classifier
Diffstat (limited to 'include/netlink/list.h')
-rw-r--r-- | include/netlink/list.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/netlink/list.h b/include/netlink/list.h index c6876a7..28712ed 100644 --- a/include/netlink/list.h +++ b/include/netlink/list.h @@ -18,6 +18,11 @@ struct nl_list_head struct nl_list_head * prev; }; +static inline void NL_INIT_LIST_HEAD(struct nl_list_head *list) +{ + list->next = list; + list->prev = list; +} static inline void __nl_list_add(struct nl_list_head *obj, struct nl_list_head *prev, |