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