MCPcopy Create free account

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

Functions712 in github.com/WireGuard/wireguard-go

MethodSrcToString
()
conn/sticky_default.go:20
MethodSrcToString
()
conn/bind_windows.go:178
MethodSrcToString
()
conn/bindtest/bindtest.go:60
MethodSrcToString
()
device/endpoint_test.go:28
MethodString
()
tai64n/tai64n.go:39
MethodString
()
device/noise-protocol.go:32
MethodString
()
device/devicestate_string.go:11
FunctionTestAcceptAfterCloseFails
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:367
FunctionTestBatchSize
(t *testing.T)
device/device_test.go:450
FunctionTestChecksum
(t *testing.T)
tun/checksum_test.go:38
FunctionTestCloseAbortsListen
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:286
FunctionTestCloseClientEOFServer
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:320
FunctionTestCloseServerEOFClient
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:330
FunctionTestCloseWriteEOF
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:340
FunctionTestCommonBits
(t *testing.T)
device/allowedips_test.go:21
FunctionTestConcurrencySafety
TestConcurrencySafety does other things concurrently with tunnel use. It is intended to be used with the race detector to catch data races.
device/device_test.go:245
FunctionTestConnectRace
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:560
FunctionTestCookieMAC1
(t *testing.T)
device/cookie_test.go:12
FunctionTestCurveWrappers
(t *testing.T)
device/noise_test.go:17
FunctionTestDialAccessDeniedWithRestrictedSD
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:149
FunctionTestDialContextListenerTimesOut
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:110
FunctionTestDialListenerGetsCancelled
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:128
FunctionTestDialListenerTimesOut
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:94
FunctionTestDialTimesOutByDefault
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:380
FunctionTestDialUnknownFailsImmediately
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:87
FunctionTestEchoWithMessaging
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:495
FunctionTestFormatting
(t *testing.T)
format_test.go:18
FunctionTestFullListenDialReadWrite
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:247
FunctionTestKDF
(t *testing.T)
device/kdf_test.go:29
FunctionTestListenConnectRace
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:651
FunctionTestMessageReadMode
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:590
FunctionTestMonotonic
Test that timestamps are monotonic as required by Wireguard and that nanosecond-level information is whitened to prevent side channel attacks.
tai64n/tai64n_test.go:15
FunctionTestNativeTunAlignment
TestNativeTunAlignment checks that atomically-accessed fields are aligned to 64-bit boundaries, as required by the atomic package. Unfortunately, vio
tun/alignment_windows_test.go:51
FunctionTestNoiseHandshake
(t *testing.T)
device/noise_test.go:59
FunctionTestPingPong
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:35
FunctionTestPrettyName
(t *testing.T)
conn/conn_test.go:12
FunctionTestPseudoHeaderChecksum
(t *testing.T)
tun/checksum_test.go:51
FunctionTestRateJugglerAlignment
TestRateJugglerAlignment checks that atomically-accessed fields are aligned to 64-bit boundaries, as required by the atomic package. Unfortunately, v
tun/alignment_windows_test.go:26
FunctionTestRatelimiter
(t *testing.T)
ratelimiter/ratelimiter_test.go:20
FunctionTestReadTimeout
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:208
FunctionTestReplay
(t *testing.T)
replay/replay_test.go:19
FunctionTestStdNetBindReceiveFuncAfterClose
(t *testing.T)
conn/bind_std_test.go:11
FunctionTestTimeoutPendingRead
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:396
FunctionTestTimeoutPendingWrite
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:444
FunctionTestTrieIPv4
* Test ported from kernel implementation: * selftest/allowedips.h */
device/allowedips_test.go:89
FunctionTestTrieIPv6
* Test ported from kernel implementation: * selftest/allowedips.h */
device/allowedips_test.go:203
FunctionTestTrieRandom
(t *testing.T)
device/allowedips_rand_test.go:81
FunctionTestTwoDevicePing
(t *testing.T)
device/device_test.go:195
FunctionTestUpDown
(t *testing.T)
device/device_test.go:206
FunctionTestWaitPool
(t *testing.T)
device/pools_test.go:17
FunctionTest_coalesceMessages
(t *testing.T)
conn/bind_std_test.go:35
FunctionTest_getSrcFromControl
(t *testing.T)
conn/sticky_linux_test.go:130
FunctionTest_handleGRO
(t *testing.T)
tun/offload_linux_test.go:310
FunctionTest_handleVirtioRead
(t *testing.T)
tun/offload_linux_test.go:169
FunctionTest_listenConfig
(t *testing.T)
conn/sticky_linux_test.go:214
FunctionTest_packetIsGROCandidate
(t *testing.T)
tun/offload_linux_test.go:532
FunctionTest_setSrcControl
(t *testing.T)
conn/sticky_linux_test.go:56
FunctionTest_splitCoalescedMessages
(t *testing.T)
conn/bind_std_test.go:132
FunctionTest_udpPacketsCanCoalesce
(t *testing.T)
tun/offload_linux_test.go:654
FunctionUAPIListen
(name string, file *os.File)
ipc/uapi_bsd.go:56
FunctionUAPIListen
(name string)
ipc/uapi_windows.go:62
MethodUnwrap
()
conn/bind_std.go:337
MethodUnwrap
()
device/uapi.go:33
MethodWrite
(bufs [][]byte, offset int)
tun/tun_linux.go:335
MethodWrite
(bufs [][]byte, offset int)
tun/tun_darwin.go:222
MethodWrite
(bufs [][]byte, offset int)
tun/tun_openbsd.go:222
MethodWrite
(bufs [][]byte, offset int)
tun/tun_windows.go:184
MethodWrite
(bufs [][]byte, offset int)
tun/tun_freebsd.go:351
MethodWrite
(buf [][]byte, offset int)
tun/netstack/tun.go:137
MethodWrite
(p []byte)
tun/netstack/tun.go:434
MethodWrite
(p []byte)
rwcancel/rwcancel.go:97
MethodWrite
(bufs [][]byte, offset int)
device/device_test.go:443
MethodWrite
Write writes to a file handle.
ipc/namedpipe/file.go:214
MethodWrite
Write writes bytes to a message pipe in byte mode. Zero-byte writes are ignored, since they are used to implement CloseWrite.
ipc/namedpipe/namedpipe.go:71
MethodWriteNotify
()
tun/netstack/tun.go:157
MethodclearPointers
clearPointers clears elem fields that contain pointers. This makes the garbage collector's life easier and avoids accidentally keeping other objects a
device/receive.go:45
FunctionerrShouldDisableUDPGSO
(_ error)
conn/errors_default.go:10
FunctionexpiredNewHandshake
(peer *Peer)
device/timers.go:119
FunctionexpiredPersistentKeepalive
(peer *Peer)
device/timers.go:131
FunctionexpiredRetransmitHandshake
(peer *Peer)
device/timers.go:79
FunctionexpiredSendKeepalive
(peer *Peer)
device/timers.go:109
FunctionexpiredZeroKeyMaterial
(peer *Peer)
device/timers.go:126
FunctiongetGSOSize
getGSOSize parses control for UDP_GRO and if found returns its GSO size data.
conn/gso_default.go:11
FunctiongetGSOSize
getGSOSize parses control for UDP_GRO and if found returns its GSO size data.
conn/gso_linux.go:22
FunctiongetSrcFromControl
TODO: macOS, FreeBSD and other BSDs likely do support the sticky sockets {get,set}srcControl feature set, but use alternatively named flags and need p
conn/sticky_default.go:30
Functioninit
()
conn/controlfns_linux.go:45
Functioninit
()
conn/controlfns_windows.go:14
Functioninit
()
conn/controlfns_unix.go:16
Functioninit
()
conn/mark_unix.go:18
Functioninit
* Do basic precomputations */
device/noise-protocol.go:265
Functioninit
()
ipc/uapi_windows.go:54
FunctioninitIo
()
ipc/namedpipe/file.go:41
MethodinitNameCache
()
tun/tun_linux.go:307
MethodlookupOrInsert
lookupOrInsert looks up a flow for the provided packet and metadata, returning the packets found for the flow, or inserting a new one if none is found
tun/offload_linux.go:207
Functionmain
()
main_windows.go:27
Functionmain
()
main.go:60
Functionmain
()
tun/netstack/examples/http_client.go:21
Functionmain
()
tun/netstack/examples/ping_client.go:25
Functionmain
()
tun/netstack/examples/http_server.go:22
Methodmarshal
(b []byte)
device/noise-protocol.go:137
← previousnext →601–700 of 712, ranked by callers