summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-18 19:44:22 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-18 19:44:22 +0000
commit218ff9ada492460b9b9e982c41986946061f7fd7 (patch)
tree3a9ae8b82d48df0ac51fb1c0956acceca304881b /pkg/abi
parentbebb2738057c950646ec1384964dd77a02dc2cfc (diff)
parent7fdb609b3ee80e2d245ba4c76f97077b5a765073 (diff)
Merge release-20200211.0-31-g7fdb609 (automated)
Diffstat (limited to 'pkg/abi')
-rw-r--r--pkg/abi/linux/netfilter.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkg/abi/linux/netfilter.go b/pkg/abi/linux/netfilter.go
index bbc4df74c..bd2e13ba1 100644
--- a/pkg/abi/linux/netfilter.go
+++ b/pkg/abi/linux/netfilter.go
@@ -225,11 +225,14 @@ type XTEntryTarget struct {
// SizeOfXTEntryTarget is the size of an XTEntryTarget.
const SizeOfXTEntryTarget = 32
-// XTStandardTarget is a builtin target, one of ACCEPT, DROP, JUMP, QUEUE, or
-// RETURN. It corresponds to struct xt_standard_target in
+// XTStandardTarget is a built-in target, one of ACCEPT, DROP, JUMP, QUEUE,
+// RETURN, or jump. It corresponds to struct xt_standard_target in
// include/uapi/linux/netfilter/x_tables.h.
type XTStandardTarget struct {
- Target XTEntryTarget
+ Target XTEntryTarget
+ // A positive verdict indicates a jump, and is the offset from the
+ // start of the table to jump to. A negative value means one of the
+ // other built-in targets.
Verdict int32
_ [4]byte
}