Lines Matching refs:network
15 // testableNetwork reports whether network is testable on the current
17 func testableNetwork(network string) bool {
18 ss := strings.Split(network, ":")
64 // testableAddress reports whether address of network is testable on
66 func testableAddress(network, address string) bool {
67 switch ss := strings.Split(network, ":"); ss[0] {
79 func testableListenArgs(network, address, client string) bool {
80 if !testableNetwork(network) || !testableAddress(network, address) {
86 switch ss := strings.Split(network, ":"); ss[0] {
138 if !supportsIPv4map && supportsIPv4 && (network == "tcp" || network == "udp" || network == "ip") && wildcard {