FlowbeeData is also trivially copyable.

This commit is contained in:
Herbert Wolverson
2024-10-24 12:40:18 -05:00
parent 7e3e5c0355
commit a0b5edca89

View File

@@ -25,7 +25,7 @@ pub struct FlowbeeKey {
}
/// Mapped representation of the eBPF `flow_data_t` type.
#[derive(Debug, Clone, Default, FromBytes)]
#[derive(Debug, Clone, Copy, Default, FromBytes)]
#[repr(C)]
pub struct FlowbeeData {
/// Time (nanos) when the connection was established