less fields required for MAP_CREATE
This commit is contained in:
parent
88f1455dd7
commit
8005624fac
@ -112,9 +112,6 @@ func CreateMap() (MapFD, error) {
|
|||||||
key_size uint32
|
key_size uint32
|
||||||
value_size uint32
|
value_size uint32
|
||||||
max_entries uint32
|
max_entries uint32
|
||||||
map_flags uint32
|
|
||||||
inner_map_fd uint32
|
|
||||||
// minimum of required fields
|
|
||||||
}{
|
}{
|
||||||
map_type: uint32(BPF_MAP_TYPE_HASH),
|
map_type: uint32(BPF_MAP_TYPE_HASH),
|
||||||
key_size: 4,
|
key_size: 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user