Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/images
diff options
context:
space:
mode:
authorZeyad Yasser <zeyady98@gmail.com>2021-06-12 21:45:03 +0300
committerAndrei Vagin <avagin@gmail.com>2021-09-03 20:31:00 +0300
commitb85fad797c983ebc840534a64e3f6f29ca659297 (patch)
tree4f3a060529562d2be54bcfa24a2cb24431166b38 /images
parent2e30db5c3d467b57c8a0343bdd66e0c871bd74c7 (diff)
cr-service: add network_lock option to RPC and libcriu
v2: run make indent Signed-off-by: Zeyad Yasser <zeyady98@gmail.com>
Diffstat (limited to 'images')
-rw-r--r--images/rpc.proto6
1 files changed, 6 insertions, 0 deletions
diff --git a/images/rpc.proto b/images/rpc.proto
index 61e1b24f4..a9f51ac4b 100644
--- a/images/rpc.proto
+++ b/images/rpc.proto
@@ -49,6 +49,11 @@ enum criu_cg_mode {
DEFAULT = 6;
};
+enum criu_network_lock_method {
+ IPTABLES = 1;
+ NFTABLES = 2;
+};
+
enum criu_pre_dump_mode {
SPLICE = 1;
VM_READ = 2;
@@ -131,6 +136,7 @@ message criu_opts {
optional criu_pre_dump_mode pre_dump_mode = 61 [default = SPLICE];
optional int32 pidfd_store_sk = 62;
optional string lsm_mount_context = 63;
+ optional criu_network_lock_method network_lock = 64 [default = IPTABLES];
/* optional bool check_mounts = 128; */
}