ring: use xzmalloc_aligned
[netsniff-ng.git] / dissector_netlink.c
blob1884d745bba329a203b61d1cd3f0555dbdcff38e
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2014 Tobias Klauser.
4 * Subject to the GPL, version 2.
5 */
7 #include "dissector.h"
8 #include "dissector_netlink.h"
10 static inline void dissector_init_entry(int type)
12 dissector_set_print_type(dissector_get_netlink_entry_point(), type);
15 static inline void dissector_init_exit(int type)
17 dissector_set_print_type(&none_ops, type);
20 void dissector_init_netlink(int fnttype)
22 dissector_init_entry(fnttype);
23 dissector_init_exit(fnttype);
26 void dissector_cleanup_netlink(void)