diff options
author | Martin Willi <martin@revosec.ch> | 2014-06-16 17:26:33 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2014-06-17 15:42:02 +0200 |
commit | bdcaa5e680b6b9f9637c7f513e3953dddfc0e7f7 (patch) | |
tree | afd9adf0ee33ba733704df155cbb678eb87d7af2 /src/libcharon/config/child_cfg.h | |
parent | a2c2ce9693a2bff7b5074519c20be0c35efa9704 (diff) | |
download | strongswan-bdcaa5e680b6b9f9637c7f513e3953dddfc0e7f7.tar.bz2 strongswan-bdcaa5e680b6b9f9637c7f513e3953dddfc0e7f7.tar.xz |
child-cfg: Store connection specific replay window on CHILD_SA config
Diffstat (limited to 'src/libcharon/config/child_cfg.h')
-rw-r--r-- | src/libcharon/config/child_cfg.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/libcharon/config/child_cfg.h b/src/libcharon/config/child_cfg.h index 43ad1c5c8..9f7a92b70 100644 --- a/src/libcharon/config/child_cfg.h +++ b/src/libcharon/config/child_cfg.h @@ -235,6 +235,20 @@ struct child_cfg_t { u_int32_t (*get_tfc)(child_cfg_t *this); /** + * Get anti-replay window size + * + * @return anti-replay window size + */ + u_int32_t (*get_replay_window)(child_cfg_t *this); + + /** + * Set anti-replay window size + * + * @param window anti-replay window size + */ + void (*set_replay_window)(child_cfg_t *this, u_int32_t window); + + /** * Sets two options needed for Mobile IPv6 interoperability. * * @param proxy_mode use IPsec transport proxy mode (default FALSE) |