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

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_dragonfly.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  	sysIPV6_PORTRANGE      = 0xe
    14  	sysICMP6_FILTER        = 0x12
    15  
    16  	sysIPV6_CHECKSUM = 0x1a
    17  	sysIPV6_V6ONLY   = 0x1b
    18  
    19  	sysIPV6_IPSEC_POLICY = 0x1c
    20  
    21  	sysIPV6_RTHDRDSTOPTS = 0x23
    22  	sysIPV6_RECVPKTINFO  = 0x24
    23  	sysIPV6_RECVHOPLIMIT = 0x25
    24  	sysIPV6_RECVRTHDR    = 0x26
    25  	sysIPV6_RECVHOPOPTS  = 0x27
    26  	sysIPV6_RECVDSTOPTS  = 0x28
    27  
    28  	sysIPV6_USE_MIN_MTU = 0x2a
    29  	sysIPV6_RECVPATHMTU = 0x2b
    30  
    31  	sysIPV6_PATHMTU = 0x2c
    32  
    33  	sysIPV6_PKTINFO  = 0x2e
    34  	sysIPV6_HOPLIMIT = 0x2f
    35  	sysIPV6_NEXTHOP  = 0x30
    36  	sysIPV6_HOPOPTS  = 0x31
    37  	sysIPV6_DSTOPTS  = 0x32
    38  	sysIPV6_RTHDR    = 0x33
    39  
    40  	sysIPV6_RECVTCLASS = 0x39
    41  
    42  	sysIPV6_AUTOFLOWLABEL = 0x3b
    43  
    44  	sysIPV6_TCLASS   = 0x3d
    45  	sysIPV6_DONTFRAG = 0x3e
    46  
    47  	sysIPV6_PREFER_TEMPADDR = 0x3f
    48  
    49  	sysIPV6_PORTRANGE_DEFAULT = 0x0
    50  	sysIPV6_PORTRANGE_HIGH    = 0x1
    51  	sysIPV6_PORTRANGE_LOW     = 0x2
    52  
    53  	sizeofSockaddrInet6 = 0x1c
    54  	sizeofInet6Pktinfo  = 0x14
    55  	sizeofIPv6Mtuinfo   = 0x20
    56  
    57  	sizeofIPv6Mreq = 0x14
    58  
    59  	sizeofICMPv6Filter = 0x20
    60  )
    61  
    62  type sockaddrInet6 struct {
    63  	Len      uint8
    64  	Family   uint8
    65  	Port     uint16
    66  	Flowinfo uint32
    67  	Addr     [16]byte /* in6_addr */
    68  	Scope_id uint32
    69  }
    70  
    71  type inet6Pktinfo struct {
    72  	Addr    [16]byte /* in6_addr */
    73  	Ifindex uint32
    74  }
    75  
    76  type ipv6Mtuinfo struct {
    77  	Addr sockaddrInet6
    78  	Mtu  uint32
    79  }
    80  
    81  type ipv6Mreq struct {
    82  	Multiaddr [16]byte /* in6_addr */
    83  	Interface uint32
    84  }
    85  
    86  type icmpv6Filter struct {
    87  	Filt [8]uint32
    88  }