added possibility to route CHILD_SAs, without to set them up

support for auto=route parameter
	support for ipsec route and ipsec unroute
	initiating of CHILD and/or IKE_SAs based on kernel acquires
This commit is contained in:
Martin Willi
2006-07-21 13:31:53 +00:00
parent c0593835f4
commit 45f76a7ddd
26 changed files with 1011 additions and 142 deletions
+3 -3
View File
@@ -159,7 +159,7 @@ int starter_stroke_del_conn(starter_conn_t *conn)
msg.type = STR_DEL_CONN;
msg.length = offsetof(stroke_msg_t, buffer);
msg.install.name = push_string(&msg, connection_name(conn));
msg.del_conn.name = push_string(&msg, connection_name(conn));
return send_stroke_msg(&msg);
}
@@ -167,9 +167,9 @@ int starter_stroke_route_conn(starter_conn_t *conn)
{
stroke_msg_t msg;
msg.type = STR_INSTALL;
msg.type = STR_ROUTE;
msg.length = offsetof(stroke_msg_t, buffer);
msg.install.name = push_string(&msg, connection_name(conn));
msg.route.name = push_string(&msg, connection_name(conn));
return send_stroke_msg(&msg);
}