golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/internal/socket/zsys_solaris_amd64.go (about)

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_solaris.go
     3  
     4  package socket
     5  
     6  type iovec struct {
     7  	Base *int8
     8  	Len  uint64
     9  }
    10  
    11  type msghdr struct {
    12  	Name         *byte
    13  	Namelen      uint32
    14  	Pad_cgo_0    [4]byte
    15  	Iov          *iovec
    16  	Iovlen       int32
    17  	Pad_cgo_1    [4]byte
    18  	Accrights    *int8
    19  	Accrightslen int32
    20  	Pad_cgo_2    [4]byte
    21  }
    22  
    23  type cmsghdr struct {
    24  	Len   uint32
    25  	Level int32
    26  	Type  int32
    27  }
    28  
    29  const (
    30  	sizeofIovec  = 0x10
    31  	sizeofMsghdr = 0x30
    32  )