package networking
import "github.com/dotcloud/docker/internal/testutils/networking"
Index ¶
Functions ¶
func SetFilterForwardPolicies ¶
SetFilterForwardPolicies sets the default policy for the FORWARD chain in the filter tables for both IPv4 and IPv6. The original policy is restored using t.Cleanup().
There's only one filter-FORWARD policy, so this won't behave well if used by tests running in parallel in a single network namespace that expect different behaviour.
Source Files ¶
- Version
- v28.0.0-rc.1+incompatible
- Published
- Feb 6, 2025
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.