diff --git a/ebpf/bypass_filter.c b/ebpf/bypass_filter.c index 48604ebe28..6d5206ecd5 100644 --- a/ebpf/bypass_filter.c +++ b/ebpf/bypass_filter.c @@ -52,8 +52,8 @@ struct flowv6_keys { }; struct pair { - __u64 packets; - __u64 bytes; + __u32 packets; + __u32 bytes; __u32 hash; }; diff --git a/ebpf/xdp_filter.c b/ebpf/xdp_filter.c index b20d90e622..597ef4883b 100644 --- a/ebpf/xdp_filter.c +++ b/ebpf/xdp_filter.c @@ -72,8 +72,8 @@ struct flowv6_keys { }; struct pair { - __u64 packets; - __u64 bytes; + __u32 packets; + __u32 bytes; __u32 hash; }; diff --git a/src/util-ebpf.h b/src/util-ebpf.h index 91398ed6bb..c613f9bf3a 100644 --- a/src/util-ebpf.h +++ b/src/util-ebpf.h @@ -56,8 +56,8 @@ struct flowv6_keys { }; struct pair { - uint64_t packets; - uint64_t bytes; + uint32_t packets; + uint32_t bytes; uint32_t hash; };