Add an Android specific kernel_ipsec_t implementation

This is pretty much a proxy class that delegates everything (that is
currently supported) to libipsec.
This commit is contained in:
Tobias Brunner
2012-08-13 11:00:27 +02:00
parent 24447cf49f
commit 175088517f
4 changed files with 244 additions and 0 deletions
@@ -21,6 +21,7 @@
#include "charonservice.h"
#include "android_jni.h"
#include "kernel/android_ipsec.h"
#include "kernel/android_net.h"
#include <daemon.h>
@@ -98,6 +99,8 @@ static void charonservice_init(JNIEnv *env, jobject service)
static plugin_feature_t features[] = {
PLUGIN_CALLBACK(kernel_net_register, kernel_android_net_create),
PLUGIN_PROVIDE(CUSTOM, "kernel-net"),
PLUGIN_CALLBACK(kernel_ipsec_register, kernel_android_ipsec_create),
PLUGIN_PROVIDE(CUSTOM, "kernel-ipsec"),
};
INIT(this,