Skip to content

Commit

Permalink
Fix mimic_rb size
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric committed Mar 29, 2024
1 parent 902c333 commit 5c2f5cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bpf/mimic.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern struct mimic_settings_map {

extern struct mimic_rb_map {
__uint(type, BPF_MAP_TYPE_RINGBUF);
__uint(max_entries, sizeof(struct log_event) * 32);
__uint(max_entries, sizeof(struct rb_item) * 32);
} mimic_rb;

#define IPV4_CSUM_OFF (offsetof(struct iphdr, check))
Expand Down

0 comments on commit 5c2f5cf

Please sign in to comment.