zsys_zos_s390x.go raw

   1  // Copyright 2020 The Go Authors. All rights reserved.
   2  // Use of this source code is governed by a BSD-style
   3  // license that can be found in the LICENSE file.
   4  
   5  package socket
   6  
   7  type iovec struct {
   8  	Base *byte
   9  	Len  uint64
  10  }
  11  
  12  type msghdr struct {
  13  	Name       *byte
  14  	Iov        *iovec
  15  	Control    *byte
  16  	Flags      int32
  17  	Namelen    uint32
  18  	Iovlen     int32
  19  	Controllen uint32
  20  }
  21  
  22  type cmsghdr struct {
  23  	Len   int32
  24  	Level int32
  25  	Type  int32
  26  }
  27  
  28  const sizeofCmsghdr = 12
  29