MCPcopy Create free account

hub / github.com/WireGuard/wireguard-go / functions

Functions712 in github.com/WireGuard/wireguard-go

↓ 1 callersMethodroutineRouteListener
(tunIfindex int)
tun/tun_darwin.go:31
↓ 1 callersMethodroutineRouteListener
(tunIfindex int)
tun/tun_openbsd.go:39
↓ 1 callersMethodroutineRouteListener
(tunIfindex int)
tun/tun_freebsd.go:79
↓ 1 callersMethodroutineRouteListener
(_ conn.Bind, netlinkSock int, netlinkCancel *rwcancel.RWCancel)
device/sticky_linux.go:50
↓ 1 callersFunctionserver
(l net.Listener, ch chan int)
ipc/namedpipe/namedpipe_test.go:225
↓ 1 callersMethodsetMTU
(n int)
tun/tun_linux.go:231
↓ 1 callersMethodsetMTU
(n int)
tun/tun_darwin.go:263
↓ 1 callersMethodsetMTU
(n int)
tun/tun_openbsd.go:264
↓ 1 callersMethodsetMTU
(n int)
tun/tun_freebsd.go:400
↓ 1 callersFunctionskipToAnswer
(p *dnsmessage.Parser, qtype dnsmessage.Type)
tun/netstack/tun.go:728
↓ 1 callersMethodstartRouteListener
(bind conn.Bind)
device/sticky_linux.go:27
↓ 1 callersFunctiontcpPacketsCanCoalesce
tcpPacketsCanCoalesce evaluates if pkt can be coalesced with the packet described by item. This function makes considerations that match the kernel's
tun/offload_linux.go:334
↓ 1 callersMethodtimersDataReceived
* Should be called after an authenticated data packet is received. */
device/timers.go:145
↓ 1 callersMethodtimersDataSent
* Should be called after an authenticated data packet is sent. */
device/timers.go:138
↓ 1 callersMethodtimersHandshakeInitiated
* Should be called after a handshake initiation message is sent. */
device/timers.go:170
↓ 1 callersMethodtimersInit
()
device/timers.go:201
↓ 1 callersMethodtimersStart
()
device/timers.go:209
↓ 1 callersMethodtimersStop
()
device/timers.go:215
↓ 1 callersFunctiontryDialPipe
tryDialPipe attempts to dial the specified pipe until cancellation or timeout.
ipc/namedpipe/namedpipe.go:117
↓ 1 callersMethodunmarshal
(b []byte)
device/noise-protocol.go:185
↓ 1 callersMethodupLocked
upLocked attempts to bring the device up and reports whether it succeeded. The caller must hold device.state.mu and is responsible for updating device
device/device.go:171
↓ 1 callersFunctionwarning
()
main.go:39
MethodAddr
()
ipc/uapi_linux.go:49
MethodAddr
()
ipc/uapi_bsd.go:52
MethodAddr
()
ipc/uapi_windows.go:48
MethodAddr
()
ipc/namedpipe/namedpipe.go:483
MethodBatchSize
TODO: When all Binds handle IdealBatchSize, remove this dynamic function and rename the IdealBatchSize constant to BatchSize.
conn/bind_std.go:294
MethodBatchSize
TODO: When all Binds handle IdealBatchSize, remove this dynamic function and rename the IdealBatchSize constant to BatchSize.
conn/bind_windows.go:326
MethodBatchSize
()
conn/bindtest/bindtest.go:92
MethodBatchSize
()
tun/tun_linux.go:501
MethodBatchSize
()
tun/tun_darwin.go:306
MethodBatchSize
()
tun/tun_openbsd.go:331
MethodBatchSize
()
tun/tun_windows.go:140
MethodBatchSize
()
tun/tun_freebsd.go:433
MethodBatchSize
BatchSize returns the preferred/max number of packets that can be read or written in a single read/write call. BatchSize must not change over the life
tun/tun.go:52
MethodBatchSize
()
tun/netstack/tun.go:190
MethodBatchSize
()
tun/tuntest/tuntest.go:143
MethodBatchSize
()
device/device_test.go:433
MethodBatchSize
()
device/device_test.go:448
FunctionBenchmarkChecksum
(b *testing.B)
tun/checksum_test.go:72
FunctionBenchmarkLatency
(b *testing.B)
device/device_test.go:326
FunctionBenchmarkSyncPool
(b *testing.B)
device/pools_test.go:119
FunctionBenchmarkThroughput
(b *testing.B)
device/device_test.go:340
FunctionBenchmarkTrieIPv4Peers100Addresses1000
(b *testing.B)
device/allowedips_test.go:70
FunctionBenchmarkTrieIPv4Peers10Addresses10
(b *testing.B)
device/allowedips_test.go:74
FunctionBenchmarkTrieIPv6Peers100Addresses1000
(b *testing.B)
device/allowedips_test.go:78
FunctionBenchmarkTrieIPv6Peers10Addresses10
(b *testing.B)
device/allowedips_test.go:82
FunctionBenchmarkUAPIGet
(b *testing.B)
device/device_test.go:384
FunctionBenchmarkWaitPool
(b *testing.B)
device/pools_test.go:71
FunctionBenchmarkWaitPoolEmpty
(b *testing.B)
device/pools_test.go:95
MethodBindSocketToInterface4
(interfaceIndex uint32, blackhole bool)
conn/conn.go:63
MethodBindSocketToInterface4
(interfaceIndex uint32, blackhole bool)
conn/bind_windows.go:517
MethodBindSocketToInterface4
(interfaceIndex uint32, blackhole bool)
conn/bind_windows.go:557
MethodBindSocketToInterface6
(interfaceIndex uint32, blackhole bool)
conn/conn.go:64
MethodBindSocketToInterface6
(interfaceIndex uint32, blackhole bool)
conn/bind_windows.go:537
MethodBindSocketToInterface6
(interfaceIndex uint32, blackhole bool)
conn/bind_windows.go:571
MethodCancel
()
rwcancel/rwcancel_stub.go:9
MethodClearSrc
()
conn/bind_std.go:100
MethodClearSrc
()
conn/bind_windows.go:132
MethodClearSrc
()
conn/bindtest/bindtest.go:58
MethodClearSrc
()
device/endpoint_test.go:26
MethodClose
()
conn/bind_std.go:301
MethodClose
()
conn/bind_windows.go:306
MethodClose
()
conn/bindtest/bindtest.go:81
MethodClose
()
tun/tun_linux.go:482
MethodClose
()
tun/tun_windows.go:109
MethodClose
()
tun/netstack/tun.go:169
MethodClose
()
tun/netstack/tun.go:397
MethodClose
()
tun/tuntest/tuntest.go:152
MethodClose
()
rwcancel/rwcancel.go:114
MethodClose
()
device/device_test.go:429
MethodClose
()
device/device_test.go:447
MethodClose
()
device/bind_test.go:47
MethodClose
()
ipc/uapi_linux.go:36
MethodClose
()
ipc/uapi_bsd.go:39
MethodClose
()
ipc/uapi_windows.go:44
MethodClose
Close closes a file.
ipc/namedpipe/file.go:105
MethodClose
()
ipc/namedpipe/namedpipe.go:474
MethodCloseAndZero
()
conn/bind_windows.go:204
MethodCloseWrite
()
ipc/namedpipe/namedpipe_test.go:492
MethodCloseWrite
CloseWrite closes the write side of a message pipe in byte mode.
ipc/namedpipe/namedpipe.go:52
FunctionCreateDummyEndpoint
()
device/endpoint_test.go:17
FunctionCreateEventCompletionQueue
(queueSize uint32, event windows.Handle, notifyReset bool)
conn/winrio/rio_windows.go:155
FunctionCreatePolledCompletionQueue
(queueSize uint32)
conn/winrio/rio_windows.go:184
FunctionCreateTUN
(name string, mtu int)
tun/tun_darwin.go:85
FunctionCreateTUN
(name string, mtu int)
tun/tun_openbsd.go:104
FunctionCreateTUN
CreateTUN creates a Wintun interface with the given name. Should a Wintun interface with the same name exist, it is reused.
tun/tun_windows.go:62
FunctionCreateTUN
(name string, mtu int)
tun/tun_freebsd.go:162
FunctionCreateUnmonitoredTUNFromFD
CreateUnmonitoredTUNFromFD creates a Device from the provided file descriptor.
tun/tun_linux.go:637
MethodDialPing
(laddr, raddr *PingAddr)
tun/netstack/tun.go:370
MethodDisableSomeRoamingForBrokenMobileSemantics
DisableSomeRoamingForBrokenMobileSemantics should ideally be called before peers are created, though it will try to deal with it, and race maybe, if c
device/mobilequirks.go:10
FunctionDiscardLogf
Function for use in Logger for discarding logged lines.
device/logger.go:31
MethodDstIP
()
conn/bind_std.go:107
MethodDstIP
()
conn/bind_windows.go:134
MethodDstIP
()
conn/bindtest/bindtest.go:66
MethodDstToBytes
See control_default,linux, etc for implementations of SrcIP and SrcIfidx.
conn/bind_std.go:113
MethodDstToBytes
()
conn/bind_windows.go:148
MethodDstToBytes
()
conn/bindtest/bindtest.go:64
MethodDstToBytes
()
device/endpoint_test.go:36
MethodDstToString
()
conn/bind_std.go:118
← previousnext →401–500 of 712, ranked by callers