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
+6 -4
View File
@@ -99,8 +99,10 @@ struct stroke_msg_t {
enum {
/* initiate a connection */
STR_INITIATE,
/* install SPD entries for a connection */
STR_INSTALL,
/* install SPD entries for a policy */
STR_ROUTE,
/* uninstall SPD entries for a policy */
STR_UNROUTE,
/* add a connection */
STR_ADD_CONN,
/* delete a connection */
@@ -123,10 +125,10 @@ struct stroke_msg_t {
} type;
union {
/* data for STR_INITIATE, STR_INSTALL, STR_UP, STR_DOWN, ... */
/* data for STR_INITIATE, STR_ROUTE, STR_UP, STR_DOWN, ... */
struct {
char *name;
} initiate, install, terminate, status, del_conn;
} initiate, route, unroute, terminate, status, del_conn;
/* data for STR_ADD_CONN */
struct {