configuration of different marks for inbound and outbound direction

This commit is contained in:
Andreas Steffen
2010-07-09 09:06:07 +02:00
parent 6f07f5e3d4
commit 26c4d0102a
17 changed files with 108 additions and 55 deletions
+9 -2
View File
@@ -95,6 +95,13 @@ struct also {
also_t *next;
};
typedef struct mark_t mark_t;
struct mark_t{
u_int32_t value;
u_int32_t mask;
};
typedef struct starter_conn starter_conn_t;
struct starter_conn {
@@ -122,8 +129,8 @@ struct starter_conn {
unsigned long sa_keying_tries;
unsigned long sa_rekey_fuzz;
u_int32_t reqid;
u_int32_t mark_value;
u_int32_t mark_mask;
mark_t mark_in;
mark_t mark_out;
sa_family_t addr_family;
sa_family_t tunnel_addr_family;
bool install_policy;