github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/proto_vendor/golang.org/x/net/ipv6/zsys_linux_mips64.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_linux.go 3 4 package ipv6 5 6 const ( 7 sysIPV6_ADDRFORM = 0x1 8 sysIPV6_2292PKTINFO = 0x2 9 sysIPV6_2292HOPOPTS = 0x3 10 sysIPV6_2292DSTOPTS = 0x4 11 sysIPV6_2292RTHDR = 0x5 12 sysIPV6_2292PKTOPTIONS = 0x6 13 sysIPV6_CHECKSUM = 0x7 14 sysIPV6_2292HOPLIMIT = 0x8 15 sysIPV6_NEXTHOP = 0x9 16 sysIPV6_FLOWINFO = 0xb 17 18 sysIPV6_UNICAST_HOPS = 0x10 19 sysIPV6_MULTICAST_IF = 0x11 20 sysIPV6_MULTICAST_HOPS = 0x12 21 sysIPV6_MULTICAST_LOOP = 0x13 22 sysIPV6_ADD_MEMBERSHIP = 0x14 23 sysIPV6_DROP_MEMBERSHIP = 0x15 24 sysMCAST_JOIN_GROUP = 0x2a 25 sysMCAST_LEAVE_GROUP = 0x2d 26 sysMCAST_JOIN_SOURCE_GROUP = 0x2e 27 sysMCAST_LEAVE_SOURCE_GROUP = 0x2f 28 sysMCAST_BLOCK_SOURCE = 0x2b 29 sysMCAST_UNBLOCK_SOURCE = 0x2c 30 sysMCAST_MSFILTER = 0x30 31 sysIPV6_ROUTER_ALERT = 0x16 32 sysIPV6_MTU_DISCOVER = 0x17 33 sysIPV6_MTU = 0x18 34 sysIPV6_RECVERR = 0x19 35 sysIPV6_V6ONLY = 0x1a 36 sysIPV6_JOIN_ANYCAST = 0x1b 37 sysIPV6_LEAVE_ANYCAST = 0x1c 38 39 sysIPV6_FLOWLABEL_MGR = 0x20 40 sysIPV6_FLOWINFO_SEND = 0x21 41 42 sysIPV6_IPSEC_POLICY = 0x22 43 sysIPV6_XFRM_POLICY = 0x23 44 45 sysIPV6_RECVPKTINFO = 0x31 46 sysIPV6_PKTINFO = 0x32 47 sysIPV6_RECVHOPLIMIT = 0x33 48 sysIPV6_HOPLIMIT = 0x34 49 sysIPV6_RECVHOPOPTS = 0x35 50 sysIPV6_HOPOPTS = 0x36 51 sysIPV6_RTHDRDSTOPTS = 0x37 52 sysIPV6_RECVRTHDR = 0x38 53 sysIPV6_RTHDR = 0x39 54 sysIPV6_RECVDSTOPTS = 0x3a 55 sysIPV6_DSTOPTS = 0x3b 56 sysIPV6_RECVPATHMTU = 0x3c 57 sysIPV6_PATHMTU = 0x3d 58 sysIPV6_DONTFRAG = 0x3e 59 60 sysIPV6_RECVTCLASS = 0x42 61 sysIPV6_TCLASS = 0x43 62 63 sysIPV6_ADDR_PREFERENCES = 0x48 64 65 sysIPV6_PREFER_SRC_TMP = 0x1 66 sysIPV6_PREFER_SRC_PUBLIC = 0x2 67 sysIPV6_PREFER_SRC_PUBTMP_DEFAULT = 0x100 68 sysIPV6_PREFER_SRC_COA = 0x4 69 sysIPV6_PREFER_SRC_HOME = 0x400 70 sysIPV6_PREFER_SRC_CGA = 0x8 71 sysIPV6_PREFER_SRC_NONCGA = 0x800 72 73 sysIPV6_MINHOPCOUNT = 0x49 74 75 sysIPV6_ORIGDSTADDR = 0x4a 76 sysIPV6_RECVORIGDSTADDR = 0x4a 77 sysIPV6_TRANSPARENT = 0x4b 78 sysIPV6_UNICAST_IF = 0x4c 79 80 sysICMPV6_FILTER = 0x1 81 82 sysICMPV6_FILTER_BLOCK = 0x1 83 sysICMPV6_FILTER_PASS = 0x2 84 sysICMPV6_FILTER_BLOCKOTHERS = 0x3 85 sysICMPV6_FILTER_PASSONLY = 0x4 86 87 sizeofKernelSockaddrStorage = 0x80 88 sizeofSockaddrInet6 = 0x1c 89 sizeofInet6Pktinfo = 0x14 90 sizeofIPv6Mtuinfo = 0x20 91 sizeofIPv6FlowlabelReq = 0x20 92 93 sizeofIPv6Mreq = 0x14 94 sizeofGroupReq = 0x88 95 sizeofGroupSourceReq = 0x108 96 97 sizeofICMPv6Filter = 0x20 98 ) 99 100 type kernelSockaddrStorage struct { 101 Family uint16 102 X__data [126]int8 103 } 104 105 type sockaddrInet6 struct { 106 Family uint16 107 Port uint16 108 Flowinfo uint32 109 Addr [16]byte /* in6_addr */ 110 Scope_id uint32 111 } 112 113 type inet6Pktinfo struct { 114 Addr [16]byte /* in6_addr */ 115 Ifindex int32 116 } 117 118 type ipv6Mtuinfo struct { 119 Addr sockaddrInet6 120 Mtu uint32 121 } 122 123 type ipv6FlowlabelReq struct { 124 Dst [16]byte /* in6_addr */ 125 Label uint32 126 Action uint8 127 Share uint8 128 Flags uint16 129 Expires uint16 130 Linger uint16 131 X__flr_pad uint32 132 } 133 134 type ipv6Mreq struct { 135 Multiaddr [16]byte /* in6_addr */ 136 Ifindex int32 137 } 138 139 type groupReq struct { 140 Interface uint32 141 Pad_cgo_0 [4]byte 142 Group kernelSockaddrStorage 143 } 144 145 type groupSourceReq struct { 146 Interface uint32 147 Pad_cgo_0 [4]byte 148 Group kernelSockaddrStorage 149 Source kernelSockaddrStorage 150 } 151 152 type icmpv6Filter struct { 153 Data [8]uint32 154 }