gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/net/ipv6/zsys_solaris.go (about)

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_solaris.go
     3  
     4  package ipv6
     5  
     6  const (
     7  	sizeofSockaddrStorage = 0x100
     8  	sizeofSockaddrInet6   = 0x20
     9  	sizeofInet6Pktinfo    = 0x14
    10  	sizeofIPv6Mtuinfo     = 0x24
    11  
    12  	sizeofIPv6Mreq       = 0x14
    13  	sizeofGroupReq       = 0x104
    14  	sizeofGroupSourceReq = 0x204
    15  
    16  	sizeofICMPv6Filter = 0x20
    17  )
    18  
    19  type sockaddrStorage struct {
    20  	Family     uint16
    21  	X_ss_pad1  [6]int8
    22  	X_ss_align float64
    23  	X_ss_pad2  [240]int8
    24  }
    25  
    26  type sockaddrInet6 struct {
    27  	Family         uint16
    28  	Port           uint16
    29  	Flowinfo       uint32
    30  	Addr           [16]byte /* in6_addr */
    31  	Scope_id       uint32
    32  	X__sin6_src_id uint32
    33  }
    34  
    35  type inet6Pktinfo struct {
    36  	Addr    [16]byte /* in6_addr */
    37  	Ifindex uint32
    38  }
    39  
    40  type ipv6Mtuinfo struct {
    41  	Addr sockaddrInet6
    42  	Mtu  uint32
    43  }
    44  
    45  type ipv6Mreq struct {
    46  	Multiaddr [16]byte /* in6_addr */
    47  	Interface uint32
    48  }
    49  
    50  type groupReq struct {
    51  	Interface uint32
    52  	Pad_cgo_0 [256]byte
    53  }
    54  
    55  type groupSourceReq struct {
    56  	Interface uint32
    57  	Pad_cgo_0 [256]byte
    58  	Pad_cgo_1 [256]byte
    59  }
    60  
    61  type icmpv6Filter struct {
    62  	X__icmp6_filt [8]uint32
    63  }