@ -37,6 +37,9 @@ impl TryFrom<u32> for crate::generated::bpf_map_type {
x if x = = BPF_MAP_TYPE_CPUMAP as u32 = > BPF_MAP_TYPE_CPUMAP ,
x if x = = BPF_MAP_TYPE_CPUMAP as u32 = > BPF_MAP_TYPE_CPUMAP ,
x if x = = BPF_MAP_TYPE_XSKMAP as u32 = > BPF_MAP_TYPE_XSKMAP ,
x if x = = BPF_MAP_TYPE_XSKMAP as u32 = > BPF_MAP_TYPE_XSKMAP ,
x if x = = BPF_MAP_TYPE_SOCKHASH as u32 = > BPF_MAP_TYPE_SOCKHASH ,
x if x = = BPF_MAP_TYPE_SOCKHASH as u32 = > BPF_MAP_TYPE_SOCKHASH ,
x if x = = BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED as u32 = > {
BPF_MAP_TYPE_CGROUP_STORAGE_DEPRECATED
}
x if x = = BPF_MAP_TYPE_CGRP_STORAGE as u32 = > BPF_MAP_TYPE_CGRP_STORAGE ,
x if x = = BPF_MAP_TYPE_CGRP_STORAGE as u32 = > BPF_MAP_TYPE_CGRP_STORAGE ,
x if x = = BPF_MAP_TYPE_REUSEPORT_SOCKARRAY as u32 = > BPF_MAP_TYPE_REUSEPORT_SOCKARRAY ,
x if x = = BPF_MAP_TYPE_REUSEPORT_SOCKARRAY as u32 = > BPF_MAP_TYPE_REUSEPORT_SOCKARRAY ,
x if x = = BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE as u32 = > {
x if x = = BPF_MAP_TYPE_PERCPU_CGROUP_STORAGE as u32 = > {
@ -50,6 +53,9 @@ impl TryFrom<u32> for crate::generated::bpf_map_type {
x if x = = BPF_MAP_TYPE_RINGBUF as u32 = > BPF_MAP_TYPE_RINGBUF ,
x if x = = BPF_MAP_TYPE_RINGBUF as u32 = > BPF_MAP_TYPE_RINGBUF ,
x if x = = BPF_MAP_TYPE_INODE_STORAGE as u32 = > BPF_MAP_TYPE_INODE_STORAGE ,
x if x = = BPF_MAP_TYPE_INODE_STORAGE as u32 = > BPF_MAP_TYPE_INODE_STORAGE ,
x if x = = BPF_MAP_TYPE_TASK_STORAGE as u32 = > BPF_MAP_TYPE_TASK_STORAGE ,
x if x = = BPF_MAP_TYPE_TASK_STORAGE as u32 = > BPF_MAP_TYPE_TASK_STORAGE ,
x if x = = BPF_MAP_TYPE_BLOOM_FILTER as u32 = > BPF_MAP_TYPE_BLOOM_FILTER ,
x if x = = BPF_MAP_TYPE_USER_RINGBUF as u32 = > BPF_MAP_TYPE_USER_RINGBUF ,
x if x = = BPF_MAP_TYPE_CGRP_STORAGE as u32 = > BPF_MAP_TYPE_CGRP_STORAGE ,
_ = > return Err ( InvalidMapTypeError { map_type } ) ,
_ = > return Err ( InvalidMapTypeError { map_type } ) ,
} )
} )
}
}