1 /*****************************************************************************\
3 * | || | ___ | |_ _ __ | | _ _ __ _ |_ ) *
4 * | __ |/ _ \| _|| '_ \| || || |/ _` | / / *
5 * |_||_|\___/ \__|| .__/|_| \_,_|\__, |/___| *
7 \*****************************************************************************/
9 #ifndef HOTPLUG2_UTILS_H
10 #define HOTPLUG2_UTILS_H 1
14 #define NETLINK_UNDEFINED 0
15 #define NETLINK_CONNECT 1
16 #define NETLINK_BIND 2
18 inline event_seqnum_t
get_kernel_seqnum();
19 inline int init_netlink_socket(int);