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