]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - src/libcharon/config/child_cfg.h
child-cfg: Store connection specific replay window on CHILD_SA config
[people/ms/strongswan.git] / src / libcharon / config / child_cfg.h
index 43ad1c5c89f125f3c213236b0507160141f75351..9f7a92b7027214414d0171d158dcbcc966c2687f 100644 (file)
@@ -234,6 +234,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.
         *