github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/net/internal/socket/zsys_aix_ppc64.go (about)

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_aix.go
     3  
     4  // Added for go1.11 compatibility
     5  //go:build aix
     6  // +build aix
     7  
     8  package socket
     9  
    10  type iovec struct {
    11  	Base *byte
    12  	Len  uint64
    13  }
    14  
    15  type msghdr struct {
    16  	Name       *byte
    17  	Namelen    uint32
    18  	Iov        *iovec
    19  	Iovlen     int32
    20  	Control    *byte
    21  	Controllen uint32
    22  	Flags      int32
    23  }
    24  
    25  type mmsghdr struct {
    26  	Hdr       msghdr
    27  	Len       uint32
    28  	Pad_cgo_0 [4]byte
    29  }
    30  
    31  type cmsghdr struct {
    32  	Len   uint32
    33  	Level int32
    34  	Type  int32
    35  }
    36  
    37  const (
    38  	sizeofIovec  = 0x10
    39  	sizeofMsghdr = 0x30
    40  )