github.com/goplus/igop@v0.25.0/pkg/net/go118_export.go (about) 1 // export by github.com/goplus/igop/cmd/qexp 2 3 //go:build go1.18 && !go1.19 4 // +build go1.18,!go1.19 5 6 package net 7 8 import ( 9 q "net" 10 11 "go/constant" 12 "reflect" 13 14 "github.com/goplus/igop" 15 ) 16 17 func init() { 18 igop.RegisterPackage(&igop.Package{ 19 Name: "net", 20 Path: "net", 21 Deps: map[string]string{ 22 "context": "context", 23 "errors": "errors", 24 "internal/bytealg": "bytealg", 25 "internal/godebug": "godebug", 26 "internal/itoa": "itoa", 27 "internal/nettrace": "nettrace", 28 "internal/poll": "poll", 29 "internal/singleflight": "singleflight", 30 "io": "io", 31 "net/netip": "netip", 32 "os": "os", 33 "runtime": "runtime", 34 "runtime/cgo": "cgo", 35 "sort": "sort", 36 "sync": "sync", 37 "sync/atomic": "atomic", 38 "syscall": "syscall", 39 "time": "time", 40 "unsafe": "unsafe", 41 "vendor/golang.org/x/net/dns/dnsmessage": "dnsmessage", 42 "vendor/golang.org/x/net/route": "route", 43 }, 44 Interfaces: map[string]reflect.Type{ 45 "Addr": reflect.TypeOf((*q.Addr)(nil)).Elem(), 46 "Conn": reflect.TypeOf((*q.Conn)(nil)).Elem(), 47 "Error": reflect.TypeOf((*q.Error)(nil)).Elem(), 48 "Listener": reflect.TypeOf((*q.Listener)(nil)).Elem(), 49 "PacketConn": reflect.TypeOf((*q.PacketConn)(nil)).Elem(), 50 }, 51 NamedTypes: map[string]reflect.Type{ 52 "AddrError": reflect.TypeOf((*q.AddrError)(nil)).Elem(), 53 "Buffers": reflect.TypeOf((*q.Buffers)(nil)).Elem(), 54 "DNSConfigError": reflect.TypeOf((*q.DNSConfigError)(nil)).Elem(), 55 "DNSError": reflect.TypeOf((*q.DNSError)(nil)).Elem(), 56 "Dialer": reflect.TypeOf((*q.Dialer)(nil)).Elem(), 57 "Flags": reflect.TypeOf((*q.Flags)(nil)).Elem(), 58 "HardwareAddr": reflect.TypeOf((*q.HardwareAddr)(nil)).Elem(), 59 "IP": reflect.TypeOf((*q.IP)(nil)).Elem(), 60 "IPAddr": reflect.TypeOf((*q.IPAddr)(nil)).Elem(), 61 "IPConn": reflect.TypeOf((*q.IPConn)(nil)).Elem(), 62 "IPMask": reflect.TypeOf((*q.IPMask)(nil)).Elem(), 63 "IPNet": reflect.TypeOf((*q.IPNet)(nil)).Elem(), 64 "Interface": reflect.TypeOf((*q.Interface)(nil)).Elem(), 65 "InvalidAddrError": reflect.TypeOf((*q.InvalidAddrError)(nil)).Elem(), 66 "ListenConfig": reflect.TypeOf((*q.ListenConfig)(nil)).Elem(), 67 "MX": reflect.TypeOf((*q.MX)(nil)).Elem(), 68 "NS": reflect.TypeOf((*q.NS)(nil)).Elem(), 69 "OpError": reflect.TypeOf((*q.OpError)(nil)).Elem(), 70 "ParseError": reflect.TypeOf((*q.ParseError)(nil)).Elem(), 71 "Resolver": reflect.TypeOf((*q.Resolver)(nil)).Elem(), 72 "SRV": reflect.TypeOf((*q.SRV)(nil)).Elem(), 73 "TCPAddr": reflect.TypeOf((*q.TCPAddr)(nil)).Elem(), 74 "TCPConn": reflect.TypeOf((*q.TCPConn)(nil)).Elem(), 75 "TCPListener": reflect.TypeOf((*q.TCPListener)(nil)).Elem(), 76 "UDPAddr": reflect.TypeOf((*q.UDPAddr)(nil)).Elem(), 77 "UDPConn": reflect.TypeOf((*q.UDPConn)(nil)).Elem(), 78 "UnixAddr": reflect.TypeOf((*q.UnixAddr)(nil)).Elem(), 79 "UnixConn": reflect.TypeOf((*q.UnixConn)(nil)).Elem(), 80 "UnixListener": reflect.TypeOf((*q.UnixListener)(nil)).Elem(), 81 "UnknownNetworkError": reflect.TypeOf((*q.UnknownNetworkError)(nil)).Elem(), 82 }, 83 AliasTypes: map[string]reflect.Type{}, 84 Vars: map[string]reflect.Value{ 85 "DefaultResolver": reflect.ValueOf(&q.DefaultResolver), 86 "ErrClosed": reflect.ValueOf(&q.ErrClosed), 87 "ErrWriteToConnected": reflect.ValueOf(&q.ErrWriteToConnected), 88 "IPv4allrouter": reflect.ValueOf(&q.IPv4allrouter), 89 "IPv4allsys": reflect.ValueOf(&q.IPv4allsys), 90 "IPv4bcast": reflect.ValueOf(&q.IPv4bcast), 91 "IPv4zero": reflect.ValueOf(&q.IPv4zero), 92 "IPv6interfacelocalallnodes": reflect.ValueOf(&q.IPv6interfacelocalallnodes), 93 "IPv6linklocalallnodes": reflect.ValueOf(&q.IPv6linklocalallnodes), 94 "IPv6linklocalallrouters": reflect.ValueOf(&q.IPv6linklocalallrouters), 95 "IPv6loopback": reflect.ValueOf(&q.IPv6loopback), 96 "IPv6unspecified": reflect.ValueOf(&q.IPv6unspecified), 97 "IPv6zero": reflect.ValueOf(&q.IPv6zero), 98 }, 99 Funcs: map[string]reflect.Value{ 100 "CIDRMask": reflect.ValueOf(q.CIDRMask), 101 "Dial": reflect.ValueOf(q.Dial), 102 "DialIP": reflect.ValueOf(q.DialIP), 103 "DialTCP": reflect.ValueOf(q.DialTCP), 104 "DialTimeout": reflect.ValueOf(q.DialTimeout), 105 "DialUDP": reflect.ValueOf(q.DialUDP), 106 "DialUnix": reflect.ValueOf(q.DialUnix), 107 "FileConn": reflect.ValueOf(q.FileConn), 108 "FileListener": reflect.ValueOf(q.FileListener), 109 "FilePacketConn": reflect.ValueOf(q.FilePacketConn), 110 "IPv4": reflect.ValueOf(q.IPv4), 111 "IPv4Mask": reflect.ValueOf(q.IPv4Mask), 112 "InterfaceAddrs": reflect.ValueOf(q.InterfaceAddrs), 113 "InterfaceByIndex": reflect.ValueOf(q.InterfaceByIndex), 114 "InterfaceByName": reflect.ValueOf(q.InterfaceByName), 115 "Interfaces": reflect.ValueOf(q.Interfaces), 116 "JoinHostPort": reflect.ValueOf(q.JoinHostPort), 117 "Listen": reflect.ValueOf(q.Listen), 118 "ListenIP": reflect.ValueOf(q.ListenIP), 119 "ListenMulticastUDP": reflect.ValueOf(q.ListenMulticastUDP), 120 "ListenPacket": reflect.ValueOf(q.ListenPacket), 121 "ListenTCP": reflect.ValueOf(q.ListenTCP), 122 "ListenUDP": reflect.ValueOf(q.ListenUDP), 123 "ListenUnix": reflect.ValueOf(q.ListenUnix), 124 "ListenUnixgram": reflect.ValueOf(q.ListenUnixgram), 125 "LookupAddr": reflect.ValueOf(q.LookupAddr), 126 "LookupCNAME": reflect.ValueOf(q.LookupCNAME), 127 "LookupHost": reflect.ValueOf(q.LookupHost), 128 "LookupIP": reflect.ValueOf(q.LookupIP), 129 "LookupMX": reflect.ValueOf(q.LookupMX), 130 "LookupNS": reflect.ValueOf(q.LookupNS), 131 "LookupPort": reflect.ValueOf(q.LookupPort), 132 "LookupSRV": reflect.ValueOf(q.LookupSRV), 133 "LookupTXT": reflect.ValueOf(q.LookupTXT), 134 "ParseCIDR": reflect.ValueOf(q.ParseCIDR), 135 "ParseIP": reflect.ValueOf(q.ParseIP), 136 "ParseMAC": reflect.ValueOf(q.ParseMAC), 137 "Pipe": reflect.ValueOf(q.Pipe), 138 "ResolveIPAddr": reflect.ValueOf(q.ResolveIPAddr), 139 "ResolveTCPAddr": reflect.ValueOf(q.ResolveTCPAddr), 140 "ResolveUDPAddr": reflect.ValueOf(q.ResolveUDPAddr), 141 "ResolveUnixAddr": reflect.ValueOf(q.ResolveUnixAddr), 142 "SplitHostPort": reflect.ValueOf(q.SplitHostPort), 143 "TCPAddrFromAddrPort": reflect.ValueOf(q.TCPAddrFromAddrPort), 144 "UDPAddrFromAddrPort": reflect.ValueOf(q.UDPAddrFromAddrPort), 145 }, 146 TypedConsts: map[string]igop.TypedConst{ 147 "FlagBroadcast": {reflect.TypeOf(q.FlagBroadcast), constant.MakeInt64(int64(q.FlagBroadcast))}, 148 "FlagLoopback": {reflect.TypeOf(q.FlagLoopback), constant.MakeInt64(int64(q.FlagLoopback))}, 149 "FlagMulticast": {reflect.TypeOf(q.FlagMulticast), constant.MakeInt64(int64(q.FlagMulticast))}, 150 "FlagPointToPoint": {reflect.TypeOf(q.FlagPointToPoint), constant.MakeInt64(int64(q.FlagPointToPoint))}, 151 "FlagUp": {reflect.TypeOf(q.FlagUp), constant.MakeInt64(int64(q.FlagUp))}, 152 }, 153 UntypedConsts: map[string]igop.UntypedConst{ 154 "IPv4len": {"untyped int", constant.MakeInt64(int64(q.IPv4len))}, 155 "IPv6len": {"untyped int", constant.MakeInt64(int64(q.IPv6len))}, 156 }, 157 }) 158 }