import "golang.org/x/net/internal/nettest"
Package nettest provides utilities for IP testing.
error_posix.go interface.go rlimit.go rlimit_unix.go stack.go stack_unix.go
IsMulticastCapable reports whether ifi is an IP multicast-capable network interface. Network must be "ip", "ip4" or "ip6".
MaxOpenFiles returns the maximum number of open files for the caller's process.
ProtocolNotSupported reports whether err is a protocol not supported error.
RoutedInterface returns a network interface that can route IP traffic and satisfies flags. It returns nil when an appropriate network interface is not found. Network must be "ip", "ip4" or "ip6".
SupportsIPv4 reports whether the platform supports IPv4 networking functionality.
SupportsIPv6 reports whether the platform supports IPv6 networking functionality.
SupportsRawIPSocket reports whether the platform supports raw IP sockets.
Package nettest imports 5 packages (graph). Updated 5 days ago. Refresh now. Tools for package owners.