kernel-netlink: Pass protocol specific enum names to socket constructor
authorMartin Willi <martin@revosec.ch>
Thu, 10 Jul 2014 12:21:20 +0000 (14:21 +0200)
committerMartin Willi <martin@revosec.ch>
Wed, 24 Sep 2014 09:19:59 +0000 (11:19 +0200)
commitc94e93a7ab2f07ee7197fd33d4f0e20f2d7d9671
tree73a36ab5057aea1ddbf474f07e1164ff2851d537
parent5957e76b381179d45ba1094ce5085db42cbad5ac
kernel-netlink: Pass protocol specific enum names to socket constructor

This avoid the hard dependency on enum names, and makes kernel_netlink_shared
independent of kernel_netlink_ipsec.
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_shared.h