diff options
author | Martin Willi <martin@strongswan.org> | 2006-09-08 13:10:52 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-09-08 13:10:52 +0000 |
commit | a095243f604ea0dd3023acbef3622a0d53200dd3 (patch) | |
tree | a39ef49d8dab1999fb633b2b774a5c11aaee7601 /src/charon/threads/kernel_interface.h | |
parent | 1239c6f40b9940a9b15d514a72e93dae323c6c04 (diff) | |
download | strongswan-a095243f604ea0dd3023acbef3622a0d53200dd3.tar.bz2 strongswan-a095243f604ea0dd3023acbef3622a0d53200dd3.tar.xz |
add priority management for kernel policy
let ROUTED policies installed, until manuall removed
introduced new naming scheme to allow proper shutdown of IKE/CHILD_SAs
ike_sa_manager cleanups
Diffstat (limited to 'src/charon/threads/kernel_interface.h')
-rw-r--r-- | src/charon/threads/kernel_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/charon/threads/kernel_interface.h b/src/charon/threads/kernel_interface.h index bafb1a6d1..4370e8253 100644 --- a/src/charon/threads/kernel_interface.h +++ b/src/charon/threads/kernel_interface.h @@ -207,6 +207,7 @@ struct kernel_interface_t { * @param direction direction of traffic, POLICY_IN, POLICY_OUT, POLICY_FWD * @param protocol protocol to use to protect traffic (AH/ESP) * @param reqid uniqe ID of an SA to use to enforce policy + * @param high_prio if TRUE, uses a higher priority than any with FALSE * @param update update an existing policy, if TRUE * @return * - SUCCESS @@ -217,7 +218,7 @@ struct kernel_interface_t { traffic_selector_t *src_ts, traffic_selector_t *dst_ts, policy_dir_t direction, protocol_id_t protocol, - u_int32_t reqid, bool update); + u_int32_t reqid, bool high_prio, bool update); /** * @brief Query the use time of a policy. |