aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/stroke.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-03-20 15:43:26 +0000
committerMartin Willi <martin@strongswan.org>2006-03-20 15:43:26 +0000
commit87a217f9f1640ed08dbe06564f6fbcd3cdfdeefb (patch)
tree928291a14cedbcb875d205b5a38527a37f515561 /Source/charon/threads/stroke.h
parente8d25806f3281b71d2512e926c08f50f72d5d505 (diff)
downloadstrongswan-87a217f9f1640ed08dbe06564f6fbcd3cdfdeefb.tar.bz2
strongswan-87a217f9f1640ed08dbe06564f6fbcd3cdfdeefb.tar.xz
- works quite well now with ipsec.conf & ipsec starter
Diffstat (limited to 'Source/charon/threads/stroke.h')
-rw-r--r--Source/charon/threads/stroke.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/Source/charon/threads/stroke.h b/Source/charon/threads/stroke.h
index 4fc0fe5e7..267c455f0 100644
--- a/Source/charon/threads/stroke.h
+++ b/Source/charon/threads/stroke.h
@@ -60,20 +60,10 @@ struct stroke_msg_t {
struct {
char *name;
struct {
- union {
- u_int16_t family;
- struct sockaddr saddr;
- struct sockaddr_in v4;
- struct sockaddr_in6 v6;
- } address;
char *id;
- union {
- u_int16_t family;
- struct sockaddr saddr;
- struct sockaddr_in v4;
- struct sockaddr_in6 v6;
- } subnet;
- u_int8_t subnet_netbits;
+ char *address;
+ char *subnet;
+ u_int8_t subnet_mask;
} me, other;
} add_conn;
};
@@ -99,10 +89,12 @@ typedef struct stroke_t stroke_t;
* stroke_t.interface_xy to access the specific interface! You have
* been warned...
*
+ * @todo Add clean thread cancellation
+ *
* @b Constructors:
* - stroke_create()
*
- * @ingroup config
+ * @ingroup threads
*/
struct stroke_t {
@@ -135,7 +127,7 @@ struct stroke_t {
*
* @return stroke_t object
*
- * @ingroup config
+ * @ingroup threads
*/
stroke_t *stroke_create();