diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/iptables/filter_input.go | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/iptables/filter_input.go b/test/iptables/filter_input.go index 706c09cea..b2fb6401a 100644 --- a/test/iptables/filter_input.go +++ b/test/iptables/filter_input.go @@ -420,7 +420,7 @@ func (FilterInputReturnUnderflow) LocalAction(ip net.IP) error { return sendUDPLoop(ip, acceptPort, sendloopDuration) } -// Verify that we can serialize jumps. +// FilterInputSerializeJump verifies that we can serialize jumps. type FilterInputSerializeJump struct{} // Name implements TestCase.Name. @@ -445,7 +445,7 @@ func (FilterInputSerializeJump) LocalAction(ip net.IP) error { return nil } -// Jump to a chain and execute a rule there. +// FilterInputJumpBasic jumps to a chain and executes a rule there. type FilterInputJumpBasic struct{} // Name implements TestCase.Name. @@ -474,7 +474,7 @@ func (FilterInputJumpBasic) LocalAction(ip net.IP) error { return sendUDPLoop(ip, acceptPort, sendloopDuration) } -// Jump, return, and execute a rule. +// FilterInputJumpReturn jumps, returns, and executes a rule. type FilterInputJumpReturn struct{} // Name implements TestCase.Name. @@ -504,6 +504,7 @@ func (FilterInputJumpReturn) LocalAction(ip net.IP) error { return sendUDPLoop(ip, acceptPort, sendloopDuration) } +// FilterInputJumpReturnDrop jumps to a chain, returns, and DROPs packets. type FilterInputJumpReturnDrop struct{} // Name implements TestCase.Name. @@ -540,7 +541,7 @@ func (FilterInputJumpReturnDrop) LocalAction(ip net.IP) error { return sendUDPLoop(ip, dropPort, sendloopDuration) } -// Jumping to a top-levl chain is illegal. +// FilterInputJumpBuiltin verifies that jumping to a top-levl chain is illegal. type FilterInputJumpBuiltin struct{} // Name implements TestCase.Name. @@ -562,7 +563,7 @@ func (FilterInputJumpBuiltin) LocalAction(ip net.IP) error { return nil } -// Jump twice, then return twice and execute a rule. +// FilterInputJumpTwice jumps twice, then returns twice and executes a rule. type FilterInputJumpTwice struct{} // Name implements TestCase.Name. |