Skip to content

Include frame header in buffer length#371

Merged
rsmarples merged 1 commit intoNetworkConfiguration:masterfrom
acst1223:bpf-size
Sep 26, 2024
Merged

Include frame header in buffer length#371
rsmarples merged 1 commit intoNetworkConfiguration:masterfrom
acst1223:bpf-size

Conversation

@acst1223
Copy link
Contributor

Since we are capturing packets at L2 we should not be using ETH_DATA_LEN but ETH_FRAME_LEN to include also dst/src MAC and EtherType.

Since we are capturing packets at L2 we should not be using ETH_DATA_LEN
but ETH_FRAME_LEN to include also dst/src MAC and EtherType.
@rsmarples rsmarples merged commit 0051112 into NetworkConfiguration:master Sep 26, 2024
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

Successfully merging this pull request may close these issues.

3 participants