2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

sockopt: Add basic options dump/restore

Only snd and rcv bufs and timeouts. Just as an example, others will be adder
sequentially.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-05-05 03:11:56 +04:00
parent 7f82ae1133
commit 33051cd3b3
3 changed files with 75 additions and 5 deletions

View File

@@ -169,6 +169,10 @@ struct pipe_data_entry {
#define USK_EXTERN (1 << 0)
struct sk_opts_entry {
u32 so_sndbuf;
u32 so_rcvbuf;
u64 so_snd_tmo[2];
u64 so_rcv_tmo[2];
};
struct unix_sk_entry {