Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add L3 header size #38

Open
anjmao opened this issue May 2, 2023 · 0 comments
Open

Add L3 header size #38

anjmao opened this issue May 2, 2023 · 0 comments

Comments

@anjmao
Copy link
Contributor

anjmao commented May 2, 2023

Conntrack doesn't include L3 header size. Comparing with container_network_transmit_bytes_total egressd reports little less bytes.

For ipv4 we can sum header size as fixed 20 bytes * packets_count. While header can be up to 40 bytes this is not a big issue (right now) for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant