const golang.org/x/sys/unix.SizeofCmsghdr
6 uses
golang.org/x/sys/unix (current package)
sockcmsg_unix.go#L18: return cmsgAlignOf(SizeofCmsghdr) + datalen
sockcmsg_unix.go#L24: return cmsgAlignOf(SizeofCmsghdr) + cmsgAlignOf(datalen)
sockcmsg_unix.go#L28: return unsafe.Pointer(uintptr(unsafe.Pointer(h)) + uintptr(cmsgAlignOf(SizeofCmsghdr)) + offset)
sockcmsg_unix.go#L56: if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) {
sockcmsg_unix.go#L59: return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil
ztypes_darwin_arm64.go#L269: SizeofCmsghdr = 0xc
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)