HomeSort by relevance Sort by last modified time
    Searched refs:IPv4 (Results 1 - 25 of 130) sorted by null

1 2 3 4 5 6

  /external/curl/docs/cmdline-opts/
ipv4.d 2 Long: ipv4
9 Help: Resolve names to IPv4 addresses
11 This option tells curl to resolve names to IPv4 addresses only, and not for
dns-ipv4-addr.d 1 Long: dns-ipv4-addr
3 Help: IPv4 address to use for DNS requests
9 Tell curl to bind to <ip-address> when making IPv4 DNS requests, so that
11 single IPv4 address.
ipv6.d 12 example try IPv4.
  /prebuilts/go/darwin-x86/src/net/
ipsock_test.go 26 {IP: IPv4(127, 0, 0, 1)},
30 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
31 addrList{&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}},
39 {IP: IPv4(127, 0, 0, 1)},
42 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
44 addrList{&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}},
50 {IP: IPv4(127, 0, 0, 1)},
51 {IP: IPv4(192, 168, 0, 1)},
54 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
56 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}
    [all...]
interface_windows_test.go 66 {IP: IPv4(172, 16, 0, 0), Mask: IPv4Mask(255, 255, 0, 0)},
67 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 0)},
68 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 128)},
69 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 192)},
71 IPv4(192, 168, 0, 1),
87 {IP: IPv4(127, 0, 0, 0).To4(), Mask: IPv4Mask(255, 0, 0, 0)},
88 {IP: IPv4(10, 0, 0, 0).To4(), Mask: IPv4Mask(255, 0, 0, 0)},
89 {IP: IPv4(172, 16, 0, 0).To4(), Mask: IPv4Mask(255, 255, 0, 0)},
90 {IP: IPv4(192, 168, 255, 0), Mask: IPv4Mask(255, 255, 255, 0)},
93 IPv4(192, 168, 0, 1)
    [all...]
ip_test.go 18 {"127.0.1.2", IPv4(127, 0, 1, 2)},
19 {"127.0.0.1", IPv4(127, 0, 0, 1)},
20 {"127.001.002.003", IPv4(127, 1, 2, 3)},
21 {"::ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
22 {"::ffff:127.001.002.003", IPv4(127, 1, 2, 3)},
23 {"::ffff:7f01:0203", IPv4(127, 1, 2, 3)},
24 {"0:0:0:0:0000:ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
25 {"0:0:0:0:000000:ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
26 {"0:0:0:0::ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
137 // IPv4 addres
    [all...]
cgo_linux.go 16 // in the flags (it includes IPv4 results only on IPv4 systems,
main_test.go 31 // If external IPv4 connectivity exists, we can try dialing
32 // non-node/interface local scope IPv4 addresses.
33 // On Windows, Lookup APIs may not return IPv4-related
34 // resource records when a node has no external IPv4
36 testIPv4 = flag.Bool("ipv4", true, "assume external IPv4 connectivity exists")
75 {"tcp", "localhost:1", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil},
76 {"tcp4", "localhost:2", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 2}, nil},
79 {"udp", "localhost:1", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil},
80 {"udp4", "localhost:2", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 2}, nil}
    [all...]
ipsock_posix.go 26 // Should we try to use the IPv4 socket interface if we're
27 // only dealing with IPv4 sockets? As long as the host system
28 // understands IPv6, it's okay to pass IPv4 addresses to the IPv6
33 // probeIPv6Stack probes both basic IPv6 capability and IPv6 IPv4-
38 // boolean value is true, kernel supports IPv6 IPv4-mapping.
46 // IPv4-mapped IPv6 address communication capability
47 {laddr: TCPAddr{IP: IPv4(127, 0, 0, 1)}, value: 0},
94 // If the platform supports both IPv6 and IPv6 IPv4-mapping
95 // capabilities, or does not support IPv4, we assume that
96 // the user wants to listen on both IPv4 and IPv6 wildcar
    [all...]
iprawsock_test.go 14 // golang.org/x/net/ipv4
26 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
27 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
28 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
38 {"", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil}, // Go 1.0 behavior
83 {"ip4:icmp", &IPAddr{IP: IPv4(127, 0, 0, 1)}},
110 raddr := &IPAddr{IP: IPv4(127, 0, 0, 1).To4()}
111 c, err := DialIP("ip:tcp", &IPAddr{IP: IPv4(127, 0, 0, 1)}, raddr)
addrselect_test.go 210 {IPv4(0xe0, 0, 0, 0), scopeGlobal}, // IPv4 link-local multicast as 16 bytes
211 {IPv4(0xe0, 2, 2, 2), scopeGlobal}, // IPv4 global multicast as 16 bytes
212 {IPv4(0xe0, 0, 0, 0).To4(), scopeGlobal}, // IPv4 link-local multicast as 4 bytes
213 {IPv4(0xe0, 2, 2, 2).To4(), scopeGlobal}, // IPv4 global multicast as 4 bytes
231 {IPv4(1, 2, 3, 4), IP{1, 2, 3, 4}, 32},
ip.go 7 // IPv4 addresses are 4 bytes; IPv6 addresses are 16 bytes.
8 // An IPv4 address can be converted to an IPv6 address by
22 // Functions in this package accept either 4-byte (IPv4)
26 // IP address as an IPv4 address or an IPv6 address
29 // be an IPv4 address.
41 // IPv4 returns the IP address (in 16-byte form) of the
42 // IPv4 address a.b.c.d.
43 func IPv4(a, b, c, d byte) IP {
56 // IPv4 mask a.b.c.d.
91 // Well-known IPv4 addresse
    [all...]
  /prebuilts/go/linux-x86/src/net/
ipsock_test.go 26 {IP: IPv4(127, 0, 0, 1)},
30 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
31 addrList{&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}},
39 {IP: IPv4(127, 0, 0, 1)},
42 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
44 addrList{&TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}},
50 {IP: IPv4(127, 0, 0, 1)},
51 {IP: IPv4(192, 168, 0, 1)},
54 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682},
56 &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 5682}
    [all...]
interface_windows_test.go 66 {IP: IPv4(172, 16, 0, 0), Mask: IPv4Mask(255, 255, 0, 0)},
67 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 0)},
68 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 128)},
69 {IP: IPv4(192, 168, 0, 0), Mask: IPv4Mask(255, 255, 255, 192)},
71 IPv4(192, 168, 0, 1),
87 {IP: IPv4(127, 0, 0, 0).To4(), Mask: IPv4Mask(255, 0, 0, 0)},
88 {IP: IPv4(10, 0, 0, 0).To4(), Mask: IPv4Mask(255, 0, 0, 0)},
89 {IP: IPv4(172, 16, 0, 0).To4(), Mask: IPv4Mask(255, 255, 0, 0)},
90 {IP: IPv4(192, 168, 255, 0), Mask: IPv4Mask(255, 255, 255, 0)},
93 IPv4(192, 168, 0, 1)
    [all...]
ip_test.go 18 {"127.0.1.2", IPv4(127, 0, 1, 2)},
19 {"127.0.0.1", IPv4(127, 0, 0, 1)},
20 {"127.001.002.003", IPv4(127, 1, 2, 3)},
21 {"::ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
22 {"::ffff:127.001.002.003", IPv4(127, 1, 2, 3)},
23 {"::ffff:7f01:0203", IPv4(127, 1, 2, 3)},
24 {"0:0:0:0:0000:ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
25 {"0:0:0:0:000000:ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
26 {"0:0:0:0::ffff:127.1.2.3", IPv4(127, 1, 2, 3)},
137 // IPv4 addres
    [all...]
cgo_linux.go 16 // in the flags (it includes IPv4 results only on IPv4 systems,
main_test.go 31 // If external IPv4 connectivity exists, we can try dialing
32 // non-node/interface local scope IPv4 addresses.
33 // On Windows, Lookup APIs may not return IPv4-related
34 // resource records when a node has no external IPv4
36 testIPv4 = flag.Bool("ipv4", true, "assume external IPv4 connectivity exists")
75 {"tcp", "localhost:1", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil},
76 {"tcp4", "localhost:2", &TCPAddr{IP: IPv4(127, 0, 0, 1), Port: 2}, nil},
79 {"udp", "localhost:1", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 1}, nil},
80 {"udp4", "localhost:2", &UDPAddr{IP: IPv4(127, 0, 0, 1), Port: 2}, nil}
    [all...]
ipsock_posix.go 26 // Should we try to use the IPv4 socket interface if we're
27 // only dealing with IPv4 sockets? As long as the host system
28 // understands IPv6, it's okay to pass IPv4 addresses to the IPv6
33 // probeIPv6Stack probes both basic IPv6 capability and IPv6 IPv4-
38 // boolean value is true, kernel supports IPv6 IPv4-mapping.
46 // IPv4-mapped IPv6 address communication capability
47 {laddr: TCPAddr{IP: IPv4(127, 0, 0, 1)}, value: 0},
94 // If the platform supports both IPv6 and IPv6 IPv4-mapping
95 // capabilities, or does not support IPv4, we assume that
96 // the user wants to listen on both IPv4 and IPv6 wildcar
    [all...]
iprawsock_test.go 14 // golang.org/x/net/ipv4
26 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
27 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
28 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
38 {"", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil}, // Go 1.0 behavior
83 {"ip4:icmp", &IPAddr{IP: IPv4(127, 0, 0, 1)}},
110 raddr := &IPAddr{IP: IPv4(127, 0, 0, 1).To4()}
111 c, err := DialIP("ip:tcp", &IPAddr{IP: IPv4(127, 0, 0, 1)}, raddr)
addrselect_test.go 210 {IPv4(0xe0, 0, 0, 0), scopeGlobal}, // IPv4 link-local multicast as 16 bytes
211 {IPv4(0xe0, 2, 2, 2), scopeGlobal}, // IPv4 global multicast as 16 bytes
212 {IPv4(0xe0, 0, 0, 0).To4(), scopeGlobal}, // IPv4 link-local multicast as 4 bytes
213 {IPv4(0xe0, 2, 2, 2).To4(), scopeGlobal}, // IPv4 global multicast as 4 bytes
231 {IPv4(1, 2, 3, 4), IP{1, 2, 3, 4}, 32},
ip.go 7 // IPv4 addresses are 4 bytes; IPv6 addresses are 16 bytes.
8 // An IPv4 address can be converted to an IPv6 address by
22 // Functions in this package accept either 4-byte (IPv4)
26 // IP address as an IPv4 address or an IPv6 address
29 // be an IPv4 address.
41 // IPv4 returns the IP address (in 16-byte form) of the
42 // IPv4 address a.b.c.d.
43 func IPv4(a, b, c, d byte) IP {
56 // IPv4 mask a.b.c.d.
91 // Well-known IPv4 addresse
    [all...]
  /external/iptables/etc/
ethertypes 12 IPv4 0800 ip ip4 # Internet IP (IPv4)
  /prebuilts/go/darwin-x86/test/
escape_slice.go 123 func IPv4(a, b, c, d byte) IP {
148 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
149 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
150 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
158 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"
162 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"
  /prebuilts/go/linux-x86/test/
escape_slice.go 123 func IPv4(a, b, c, d byte) IP {
148 {"ip", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
149 {"ip4", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
150 {"ip4:icmp", "127.0.0.1", &IPAddr{IP: IPv4(127, 0, 0, 1)}, nil},
158 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"
162 &IPAddr{IP: IPv4(127, 0, 0, 1)}, // ERROR "&IPAddr literal escapes to heap"
  /external/ltp/testcases/network/stress/ns-tools/
ns-echoclient 36 # 4: IPv4
74 4: IPv4

Completed in 866 milliseconds

1 2 3 4 5 6