syscall.SockaddrInet6.Port (field)
15 uses
syscall (current package)
syscall_linux.go#L527: if sa.Port < 0 || sa.Port > 0xFFFF {
syscall_linux.go#L532: p[0] = byte(sa.Port >> 8)
syscall_linux.go#L533: p[1] = byte(sa.Port)
syscall_linux.go#L664: sa.Port = int(p[0])<<8 + int(p[1])
syscall_unix.go#L274: Port int
syscall_unix.go#L350: from.Port = int(port[0])<<8 + int(port[1])
syscall_unix.go#L377: from.Port = int(port[0])<<8 + int(port[1])
net
ipsock_posix.go#L178: sa := syscall.SockaddrInet6{Port: port, ZoneId: uint32(zoneCache.index(zone))}
ipsock_posix.go#L228: Port: int(ap.Port()),
tcpsock_posix.go#L21: return &TCPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
udpsock_posix.go#L20: return &UDPAddr{IP: sa.Addr[0:], Port: sa.Port, Zone: zoneCache.name(int(sa.ZoneId))}
udpsock_posix.go#L62: *addr = UDPAddr{IP: ip[:], Port: from.Port, Zone: zoneCache.name(int(from.ZoneId))}
udpsock_posix.go#L88: port = from.Port
udpsock_posix.go#L108: addr = netip.AddrPortFrom(ip, uint16(sa.Port))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |