Skip to content

Correct documentation for bpf_l4_csum_replace() offset parameter#41

Open
gijs-blanken wants to merge 1 commit intomkerrisk:masterfrom
gijs-blanken:patch-1
Open

Correct documentation for bpf_l4_csum_replace() offset parameter#41
gijs-blanken wants to merge 1 commit intomkerrisk:masterfrom
gijs-blanken:patch-1

Conversation

@gijs-blanken
Copy link

The bpf_l4_csum_replace() helper’s offset parameter points to the transport-layer checksum (e.g., TCP/UDP/ICMP), not the IP checksum. This change updates the misleading reference to “IP checksum” and aligns the documentation with the function’s actual behavior.

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.

1 participant