Skip to content

Optimize packetparserPacket struct fields to minimize padding #1121

@SRodi

Description

@SRodi

Issue

Extra padding is present in packetparserPacket struct. This should be optimized.

Goal

Look into a way to re-arrange the struct so that we can minimize the paddings.

Suggested Solution

Remove struct fields as some fields could be combined - for example TrafficDirection, Proto and IsReply, which could be merged into the Flags field, or a new field

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions