summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r--pkg/abi/linux/netfilter.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkg/abi/linux/netfilter.go b/pkg/abi/linux/netfilter.go
index 7363185b7..bbc4df74c 100644
--- a/pkg/abi/linux/netfilter.go
+++ b/pkg/abi/linux/netfilter.go
@@ -370,11 +370,12 @@ type XTTCP struct {
// Option specifies that a particular TCP option must be set.
Option uint8
- // FlagMask masks the FlagCompare byte when comparing to the TCP flag
- // fields.
+ // FlagMask masks TCP flags when comparing to the FlagCompare byte. It allows
+ // for specification of which flags are important to the matcher.
FlagMask uint8
- // FlagCompare is binary and-ed with the TCP flag fields.
+ // FlagCompare, in combination with FlagMask, is used to match only packets
+ // that have certain flags set.
FlagCompare uint8
// InverseFlags flips the meaning of certain fields. See the