BPF hashmap not showing correct value when retrieving

前端 未结 0 1742
感动是毒
感动是毒 2021-01-18 06:01

I\'m trying to create a hashmap in BPF in kernel code, as follows:

struct bpf_map_def SEC("maps") hash_map = {
    .type = BPF_MAP_TYPE_HASH,
    .k         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题