mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 05:48:05 +00:00
images: adding support for BPF map file name and ifindex
This commit adds a BPF map's name and ifindex to its protobuf image. ifindex is the index of the network interface to which the BPF map is attached and can be specified via a parameter while creating the BPF map (BPF_MAP_CREATE). This commit also provides a default value of false to the field 'frozen'. Source files modified: * images/bpfmap-file.proto Signed-off-by: Abhishek Vijeev <abhishek.vijeev@gmail.com>
This commit is contained in:
parent
97ab725db1
commit
02f7e3434d
@ -15,6 +15,8 @@ message bpfmap_file_entry {
|
||||
required uint32 max_entries = 9;
|
||||
required uint32 map_flags = 10;
|
||||
required uint64 memlock = 11;
|
||||
required bool frozen = 12;
|
||||
optional sint32 mnt_id = 13 [default = -1];
|
||||
required bool frozen = 12 [default = false];
|
||||
required string map_name = 13;
|
||||
required uint32 ifindex = 14 [default = 0];
|
||||
optional sint32 mnt_id = 15 [default = -1];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user