github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/proto_vendor/golang.org/x/net/ipv6/zsys_darwin.go (about)

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_darwin.go
     3  
     4  package ipv6
     5  
     6  const (
     7  	sysIPV6_UNICAST_HOPS   = 0x4
     8  	sysIPV6_MULTICAST_IF   = 0x9
     9  	sysIPV6_MULTICAST_HOPS = 0xa
    10  	sysIPV6_MULTICAST_LOOP = 0xb
    11  	sysIPV6_JOIN_GROUP     = 0xc
    12  	sysIPV6_LEAVE_GROUP    = 0xd
    13  
    14  	sysIPV6_PORTRANGE    = 0xe
    15  	sysICMP6_FILTER      = 0x12
    16  	sysIPV6_2292PKTINFO  = 0x13
    17  	sysIPV6_2292HOPLIMIT = 0x14
    18  	sysIPV6_2292NEXTHOP  = 0x15
    19  	sysIPV6_2292HOPOPTS  = 0x16
    20  	sysIPV6_2292DSTOPTS  = 0x17
    21  	sysIPV6_2292RTHDR    = 0x18
    22  
    23  	sysIPV6_2292PKTOPTIONS = 0x19
    24  
    25  	sysIPV6_CHECKSUM = 0x1a
    26  	sysIPV6_V6ONLY   = 0x1b
    27  
    28  	sysIPV6_IPSEC_POLICY = 0x1c
    29  
    30  	sysIPV6_RECVTCLASS = 0x23
    31  	sysIPV6_TCLASS     = 0x24
    32  
    33  	sysIPV6_RTHDRDSTOPTS = 0x39
    34  
    35  	sysIPV6_RECVPKTINFO = 0x3d
    36  
    37  	sysIPV6_RECVHOPLIMIT = 0x25
    38  	sysIPV6_RECVRTHDR    = 0x26
    39  	sysIPV6_RECVHOPOPTS  = 0x27
    40  	sysIPV6_RECVDSTOPTS  = 0x28
    41  
    42  	sysIPV6_USE_MIN_MTU = 0x2a
    43  	sysIPV6_RECVPATHMTU = 0x2b
    44  
    45  	sysIPV6_PATHMTU = 0x2c
    46  
    47  	sysIPV6_PKTINFO  = 0x2e
    48  	sysIPV6_HOPLIMIT = 0x2f
    49  	sysIPV6_NEXTHOP  = 0x30
    50  	sysIPV6_HOPOPTS  = 0x31
    51  	sysIPV6_DSTOPTS  = 0x32
    52  	sysIPV6_RTHDR    = 0x33
    53  
    54  	sysIPV6_AUTOFLOWLABEL = 0x3b
    55  
    56  	sysIPV6_DONTFRAG = 0x3e
    57  
    58  	sysIPV6_PREFER_TEMPADDR = 0x3f
    59  
    60  	sysIPV6_MSFILTER            = 0x4a
    61  	sysMCAST_JOIN_GROUP         = 0x50
    62  	sysMCAST_LEAVE_GROUP        = 0x51
    63  	sysMCAST_JOIN_SOURCE_GROUP  = 0x52
    64  	sysMCAST_LEAVE_SOURCE_GROUP = 0x53
    65  	sysMCAST_BLOCK_SOURCE       = 0x54
    66  	sysMCAST_UNBLOCK_SOURCE     = 0x55
    67  
    68  	sysIPV6_BOUND_IF = 0x7d
    69  
    70  	sysIPV6_PORTRANGE_DEFAULT = 0x0
    71  	sysIPV6_PORTRANGE_HIGH    = 0x1
    72  	sysIPV6_PORTRANGE_LOW     = 0x2
    73  
    74  	sizeofSockaddrStorage = 0x80
    75  	sizeofSockaddrInet6   = 0x1c
    76  	sizeofInet6Pktinfo    = 0x14
    77  	sizeofIPv6Mtuinfo     = 0x20
    78  
    79  	sizeofIPv6Mreq       = 0x14
    80  	sizeofGroupReq       = 0x84
    81  	sizeofGroupSourceReq = 0x104
    82  
    83  	sizeofICMPv6Filter = 0x20
    84  )
    85  
    86  type sockaddrStorage struct {
    87  	Len         uint8
    88  	Family      uint8
    89  	X__ss_pad1  [6]int8
    90  	X__ss_align int64
    91  	X__ss_pad2  [112]int8
    92  }
    93  
    94  type sockaddrInet6 struct {
    95  	Len      uint8
    96  	Family   uint8
    97  	Port     uint16
    98  	Flowinfo uint32
    99  	Addr     [16]byte /* in6_addr */
   100  	Scope_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 icmpv6Filter struct {
   119  	Filt [8]uint32
   120  }
   121  
   122  type groupReq struct {
   123  	Interface uint32
   124  	Pad_cgo_0 [128]byte
   125  }
   126  
   127  type groupSourceReq struct {
   128  	Interface uint32
   129  	Pad_cgo_0 [128]byte
   130  	Pad_cgo_1 [128]byte
   131  }