github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/proto_vendor/golang.org/x/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  	sysIPV6_UNICAST_HOPS   = 0x5
     8  	sysIPV6_MULTICAST_IF   = 0x6
     9  	sysIPV6_MULTICAST_HOPS = 0x7
    10  	sysIPV6_MULTICAST_LOOP = 0x8
    11  	sysIPV6_JOIN_GROUP     = 0x9
    12  	sysIPV6_LEAVE_GROUP    = 0xa
    13  
    14  	sysIPV6_PKTINFO = 0xb
    15  
    16  	sysIPV6_HOPLIMIT = 0xc
    17  	sysIPV6_NEXTHOP  = 0xd
    18  	sysIPV6_HOPOPTS  = 0xe
    19  	sysIPV6_DSTOPTS  = 0xf
    20  
    21  	sysIPV6_RTHDR        = 0x10
    22  	sysIPV6_RTHDRDSTOPTS = 0x11
    23  
    24  	sysIPV6_RECVPKTINFO  = 0x12
    25  	sysIPV6_RECVHOPLIMIT = 0x13
    26  	sysIPV6_RECVHOPOPTS  = 0x14
    27  
    28  	sysIPV6_RECVRTHDR = 0x16
    29  
    30  	sysIPV6_RECVRTHDRDSTOPTS = 0x17
    31  
    32  	sysIPV6_CHECKSUM        = 0x18
    33  	sysIPV6_RECVTCLASS      = 0x19
    34  	sysIPV6_USE_MIN_MTU     = 0x20
    35  	sysIPV6_DONTFRAG        = 0x21
    36  	sysIPV6_SEC_OPT         = 0x22
    37  	sysIPV6_SRC_PREFERENCES = 0x23
    38  	sysIPV6_RECVPATHMTU     = 0x24
    39  	sysIPV6_PATHMTU         = 0x25
    40  	sysIPV6_TCLASS          = 0x26
    41  	sysIPV6_V6ONLY          = 0x27
    42  
    43  	sysIPV6_RECVDSTOPTS = 0x28
    44  
    45  	sysMCAST_JOIN_GROUP         = 0x29
    46  	sysMCAST_LEAVE_GROUP        = 0x2a
    47  	sysMCAST_BLOCK_SOURCE       = 0x2b
    48  	sysMCAST_UNBLOCK_SOURCE     = 0x2c
    49  	sysMCAST_JOIN_SOURCE_GROUP  = 0x2d
    50  	sysMCAST_LEAVE_SOURCE_GROUP = 0x2e
    51  
    52  	sysIPV6_PREFER_SRC_HOME   = 0x1
    53  	sysIPV6_PREFER_SRC_COA    = 0x2
    54  	sysIPV6_PREFER_SRC_PUBLIC = 0x4
    55  	sysIPV6_PREFER_SRC_TMP    = 0x8
    56  	sysIPV6_PREFER_SRC_NONCGA = 0x10
    57  	sysIPV6_PREFER_SRC_CGA    = 0x20
    58  
    59  	sysIPV6_PREFER_SRC_MIPMASK    = 0x3
    60  	sysIPV6_PREFER_SRC_MIPDEFAULT = 0x1
    61  	sysIPV6_PREFER_SRC_TMPMASK    = 0xc
    62  	sysIPV6_PREFER_SRC_TMPDEFAULT = 0x4
    63  	sysIPV6_PREFER_SRC_CGAMASK    = 0x30
    64  	sysIPV6_PREFER_SRC_CGADEFAULT = 0x10
    65  
    66  	sysIPV6_PREFER_SRC_MASK = 0x3f
    67  
    68  	sysIPV6_PREFER_SRC_DEFAULT = 0x15
    69  
    70  	sysIPV6_BOUND_IF   = 0x41
    71  	sysIPV6_UNSPEC_SRC = 0x42
    72  
    73  	sysICMP6_FILTER = 0x1
    74  
    75  	sizeofSockaddrStorage = 0x100
    76  	sizeofSockaddrInet6   = 0x20
    77  	sizeofInet6Pktinfo    = 0x14
    78  	sizeofIPv6Mtuinfo     = 0x24
    79  
    80  	sizeofIPv6Mreq       = 0x14
    81  	sizeofGroupReq       = 0x104
    82  	sizeofGroupSourceReq = 0x204
    83  
    84  	sizeofICMPv6Filter = 0x20
    85  )
    86  
    87  type sockaddrStorage struct {
    88  	Family     uint16
    89  	X_ss_pad1  [6]int8
    90  	X_ss_align float64
    91  	X_ss_pad2  [240]int8
    92  }
    93  
    94  type sockaddrInet6 struct {
    95  	Family         uint16
    96  	Port           uint16
    97  	Flowinfo       uint32
    98  	Addr           [16]byte /* in6_addr */
    99  	Scope_id       uint32
   100  	X__sin6_src_id uint32
   101  }
   102  
   103  type inet6Pktinfo struct {
   104  	Addr    [16]byte /* in6_addr */
   105  	Ifindex uint32
   106  }
   107  
   108  type ipv6Mtuinfo struct {
   109  	Addr sockaddrInet6
   110  	Mtu  uint32
   111  }
   112  
   113  type ipv6Mreq struct {
   114  	Multiaddr [16]byte /* in6_addr */
   115  	Interface uint32
   116  }
   117  
   118  type groupReq struct {
   119  	Interface uint32
   120  	Pad_cgo_0 [256]byte
   121  }
   122  
   123  type groupSourceReq struct {
   124  	Interface uint32
   125  	Pad_cgo_0 [256]byte
   126  	Pad_cgo_1 [256]byte
   127  }
   128  
   129  type icmpv6Filter struct {
   130  	X__icmp6_filt [8]uint32
   131  }