Skip to content

Commit

Permalink
chore: add reference for BPF_F_NETFILTER_IP_DEFRAG
Browse files Browse the repository at this point in the history
  • Loading branch information
ianchen0119 authored and dylandreimerink committed Dec 2, 2024
1 parent 2559084 commit c20d8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/linux/program-type/BPF_PROG_TYPE_NETFILTER.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ struct {

`flags` is a bitmask of flags. Supported flags are:

* `BPF_F_NETFILTER_IP_DEFRAG` - Enable defragmentation of IP fragments, this hook will only see defragmented packets. If the `BPF_F_NETFILTER_IP_DEFRAG` flag is set, the priority must be higher than `NF_IP_PRI_CONNTRACK_DEFRAG` (-400) for ensuring the prog runs after nf_defrag.
* `BPF_F_NETFILTER_IP_DEFRAG` - Enable defragmentation of IP fragments, this hook will only see defragmented packets. If the `BPF_F_NETFILTER_IP_DEFRAG` [:octicons-tag-24: v6.6](https://github.com/torvalds/linux/commit/91721c2d02d3a0141df8a4787c7079b89b0d0607) flag is set, the priority must be higher than `NF_IP_PRI_CONNTRACK_DEFRAG` (-400) for ensuring the prog runs after nf_defrag.

## Example

Expand Down

0 comments on commit c20d8ff

Please sign in to comment.