kernel-interface: Add destination prefix to get_nexthop()
authorTobias Brunner <tobias@strongswan.org>
Wed, 18 Jun 2014 07:55:39 +0000 (09:55 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 19 Jun 2014 12:33:40 +0000 (14:33 +0200)
commitc005073d0ba715153e3bea4c41589d1643ae9b64
treea3485ced3ebbcf84191dc25459f1493650c1f517
parent73b22aa842ae0f32d3aaeb79101894cc719ceaf2
kernel-interface: Add destination prefix to get_nexthop()

This allows to determine the next hop to reach a subnet, for instance, when
installing routes for shunt policies.
src/libcharon/plugins/kernel_iph/kernel_iph_net.c
src/libcharon/plugins/kernel_libipsec/kernel_libipsec_ipsec.c
src/libcharon/plugins/kernel_wfp/kernel_wfp_ipsec.c
src/libhydra/kernel/kernel_interface.c
src/libhydra/kernel/kernel_interface.h
src/libhydra/kernel/kernel_net.h
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
src/libhydra/plugins/kernel_netlink/kernel_netlink_net.c
src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c
src/libhydra/plugins/kernel_pfroute/kernel_pfroute_net.c