Cleaned code.

This commit is contained in:
Christian Deacon
2020-05-07 04:05:54 +00:00
parent 5a4cda8d70
commit 4d5eb050bd
3 changed files with 2 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ struct bpf_map_def SEC("maps") ip_stats_map =
.type = BPF_MAP_TYPE_PERCPU_HASH,
.key_size = sizeof(uint32_t),
.value_size = sizeof(struct xdpfw_ip_stats),
.max_entries = LRU_MAP_SIZE
.max_entries = MAX_TRACK_IPS
};
SEC("xdp_prog")