const syscall.offsetofInet4
4 uses
syscall (current package)
route_bsd.go#L116: offsetofInet4 = int(unsafe.Offsetof(RawSockaddrInet4{}.Addr))
route_bsd.go#L163: copy(sa.Addr[:], b[offsetofInet4:])
route_bsd.go#L167: if l-1 < offsetofInet4 {
route_bsd.go#L170: copy(sa.Addr[:], b[l-offsetofInet4:l])
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |