Lines Matching full:ipaddr
29 return &IPAddr{IP: sa.Addr[0:]}
31 return &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
36 func (a *IPAddr) family() int {
46 func (a *IPAddr) sockaddr(family int) (syscall.Sockaddr, error) {
68 func (c *IPConn) ReadFromIP(b []byte) (int, *IPAddr, error) {
74 var addr *IPAddr
78 addr = &IPAddr{IP: sa.Addr[0:]}
81 addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
120 func (c *IPConn) ReadMsgIP(b, oob []byte) (n, oobn, flags int, addr *IPAddr, err error) {
128 addr = &IPAddr{IP: sa.Addr[0:]}
130 addr = &IPAddr{IP: sa.Addr[0:], Zone: zoneToString(int(sa.ZoneId))}
145 func (c *IPConn) WriteToIP(b []byte, addr *IPAddr) (int, error) {
171 a, ok := addr.(*IPAddr)
181 func (c *IPConn) WriteMsgIP(b, oob []byte, addr *IPAddr) (n, oobn int, err error) {
206 func DialIP(netProto string, laddr, raddr *IPAddr) (*IPConn, error) {
210 func dialIP(netProto string, laddr, raddr *IPAddr, deadline time.Time) (*IPConn, error) {
234 func ListenIP(netProto string, laddr *IPAddr) (*IPConn, error) {