Lines Matching refs:IP
30 // IPAddr represents the address of an IP end point.
32 IP IP
36 // Network returns the address's network name, "ip".
37 func (a *IPAddr) Network() string { return "ip" }
43 ip := ipEmptyString(a.IP)
45 return ip + "%" + a.Zone
47 return ip
51 if a == nil || a.IP == nil {
54 return a.IP.IsUnspecified()
64 // ResolveIPAddr parses addr as an IP address of the form "host" or
66 // which must be "ip", "ip4" or "ip6".
69 // one of its IP addresses.
72 net = "ip"
79 case "ip", "ip4", "ip6":
91 // for IP network connections.
96 // ReadFromIP reads an IP packet from c, copying the payload into b.
144 // WriteToIP writes an IP packet to addr via c, copying the payload
195 // netProto, which must be "ip", "ip4", or "ip6" followed by a colon
205 // ListenIP listens for incoming IP packets addressed to the local
207 // methods can be used to receive and send IP packets with per-packet