aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/stroke.h
diff options
context:
space:
mode:
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();