Home | History | Annotate | Download | only in net

Lines Matching full:address

24 	// mapping an IPv4 address inside an IPv6 address at transport
32 // isIPv4 returns true if the Addr contains an IPv4 address.
45 // first returns the first address which satisfies strategy, or if
46 // none do, then the first address of any kind.
56 // partition divides an address list into two categories, using a
57 // strategy function to assign a boolean label to each address.
58 // The first address, and any with a matching label, are returned as
76 var errNoSuitableAddress = errors.New("no suitable address found")
80 // and ipv6only. It returns every address when the filter is nil.
81 // The result contains at least one address when error is nil.
96 // and addr is an IPv4 address.
102 // and addr is an IPv6 address except IPv4-mapped IPv6 address.
107 // SplitHostPort splits a network address of the form "host:port",
109 // ipv6-host%zone and port. A literal address or host name for IPv6
125 err = &AddrError{Err: "missing ']' in address", Addr: hostport}
154 err = &AddrError{Err: "unexpected '[' in address", Addr: hostport}
158 err = &AddrError{Err: "unexpected ']' in address", Addr: hostport}
166 err = &AddrError{Err: "missing port in address", Addr: hostport}
170 err = &AddrError{Err: "too many colons in address", Addr: hostport}
174 err = &AddrError{Err: "missing brackets in address", Addr: hostport}
189 // JoinHostPort combines host and port into a network address of the
201 // address or a DNS name, and returns a list of internet protocol
202 // family addresses. The result contains at least one address when
242 // Try as a literal IP address.