zsys_freebsd_arm.go raw

   1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
   2  // cgo -godefs defs_freebsd.go
   3  
   4  package ipv6
   5  
   6  const (
   7  	sizeofSockaddrStorage = 0x80
   8  	sizeofSockaddrInet6   = 0x1c
   9  	sizeofInet6Pktinfo    = 0x14
  10  	sizeofIPv6Mtuinfo     = 0x20
  11  
  12  	sizeofIPv6Mreq       = 0x14
  13  	sizeofGroupReq       = 0x88
  14  	sizeofGroupSourceReq = 0x108
  15  
  16  	sizeofICMPv6Filter = 0x20
  17  )
  18  
  19  type sockaddrStorage struct {
  20  	Len         uint8
  21  	Family      uint8
  22  	X__ss_pad1  [6]int8
  23  	X__ss_align int64
  24  	X__ss_pad2  [112]int8
  25  }
  26  
  27  type sockaddrInet6 struct {
  28  	Len      uint8
  29  	Family   uint8
  30  	Port     uint16
  31  	Flowinfo uint32
  32  	Addr     [16]byte /* in6_addr */
  33  	Scope_id uint32
  34  }
  35  
  36  type inet6Pktinfo struct {
  37  	Addr    [16]byte /* in6_addr */
  38  	Ifindex uint32
  39  }
  40  
  41  type ipv6Mtuinfo struct {
  42  	Addr sockaddrInet6
  43  	Mtu  uint32
  44  }
  45  
  46  type ipv6Mreq struct {
  47  	Multiaddr [16]byte /* in6_addr */
  48  	Interface uint32
  49  }
  50  
  51  type groupReq struct {
  52  	Interface uint32
  53  	Pad_cgo_0 [4]byte
  54  	Group     sockaddrStorage
  55  }
  56  
  57  type groupSourceReq struct {
  58  	Interface uint32
  59  	Pad_cgo_0 [4]byte
  60  	Group     sockaddrStorage
  61  	Source    sockaddrStorage
  62  }
  63  
  64  type icmpv6Filter struct {
  65  	Filt [8]uint32
  66  }
  67