zsys_aix_ppc64.go raw

   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  
   7  package ipv6
   8  
   9  const (
  10  	sizeofSockaddrStorage = 0x508
  11  	sizeofSockaddrInet6   = 0x1c
  12  	sizeofInet6Pktinfo    = 0x14
  13  	sizeofIPv6Mtuinfo     = 0x20
  14  
  15  	sizeofIPv6Mreq       = 0x14
  16  	sizeofGroupReq       = 0x510
  17  	sizeofGroupSourceReq = 0xa18
  18  
  19  	sizeofICMPv6Filter = 0x20
  20  )
  21  
  22  type sockaddrStorage struct {
  23  	X__ss_len   uint8
  24  	Family      uint8
  25  	X__ss_pad1  [6]uint8
  26  	X__ss_align int64
  27  	X__ss_pad2  [1265]uint8
  28  	Pad_cgo_0   [7]byte
  29  }
  30  
  31  type sockaddrInet6 struct {
  32  	Len      uint8
  33  	Family   uint8
  34  	Port     uint16
  35  	Flowinfo uint32
  36  	Addr     [16]byte /* in6_addr */
  37  	Scope_id uint32
  38  }
  39  
  40  type inet6Pktinfo struct {
  41  	Addr    [16]byte /* in6_addr */
  42  	Ifindex int32
  43  }
  44  
  45  type ipv6Mtuinfo struct {
  46  	Addr sockaddrInet6
  47  	Mtu  uint32
  48  }
  49  
  50  type ipv6Mreq struct {
  51  	Multiaddr [16]byte /* in6_addr */
  52  	Interface uint32
  53  }
  54  
  55  type icmpv6Filter struct {
  56  	Filt [8]uint32
  57  }
  58  
  59  type groupReq struct {
  60  	Interface uint32
  61  	Group     sockaddrStorage
  62  }
  63  
  64  type groupSourceReq struct {
  65  	Interface uint32
  66  	Group     sockaddrStorage
  67  	Source    sockaddrStorage
  68  }
  69