Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WireGuard/wireguard-go
/ functions
Functions
712 in github.com/WireGuard/wireguard-go
⨍
Functions
712
◇
Types & classes
136
Method
SrcToString
()
conn/sticky_default.go:20
Method
SrcToString
()
conn/bind_windows.go:178
Method
SrcToString
()
conn/bindtest/bindtest.go:60
Method
SrcToString
()
device/endpoint_test.go:28
Method
String
()
tai64n/tai64n.go:39
Method
String
()
device/noise-protocol.go:32
Method
String
()
device/devicestate_string.go:11
Function
TestAcceptAfterCloseFails
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:367
Function
TestBatchSize
(t *testing.T)
device/device_test.go:450
Function
TestChecksum
(t *testing.T)
tun/checksum_test.go:38
Function
TestCloseAbortsListen
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:286
Function
TestCloseClientEOFServer
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:320
Function
TestCloseServerEOFClient
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:330
Function
TestCloseWriteEOF
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:340
Function
TestCommonBits
(t *testing.T)
device/allowedips_test.go:21
Function
TestConcurrencySafety
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
Function
TestConnectRace
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:560
Function
TestCookieMAC1
(t *testing.T)
device/cookie_test.go:12
Function
TestCurveWrappers
(t *testing.T)
device/noise_test.go:17
Function
TestDialAccessDeniedWithRestrictedSD
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:149
Function
TestDialContextListenerTimesOut
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:110
Function
TestDialListenerGetsCancelled
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:128
Function
TestDialListenerTimesOut
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:94
Function
TestDialTimesOutByDefault
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:380
Function
TestDialUnknownFailsImmediately
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:87
Function
TestEchoWithMessaging
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:495
Function
TestFormatting
(t *testing.T)
format_test.go:18
Function
TestFullListenDialReadWrite
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:247
Function
TestKDF
(t *testing.T)
device/kdf_test.go:29
Function
TestListenConnectRace
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:651
Function
TestMessageReadMode
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:590
Function
TestMonotonic
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
Function
TestNativeTunAlignment
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
Function
TestNoiseHandshake
(t *testing.T)
device/noise_test.go:59
Function
TestPingPong
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:35
Function
TestPrettyName
(t *testing.T)
conn/conn_test.go:12
Function
TestPseudoHeaderChecksum
(t *testing.T)
tun/checksum_test.go:51
Function
TestRateJugglerAlignment
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
Function
TestRatelimiter
(t *testing.T)
ratelimiter/ratelimiter_test.go:20
Function
TestReadTimeout
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:208
Function
TestReplay
(t *testing.T)
replay/replay_test.go:19
Function
TestStdNetBindReceiveFuncAfterClose
(t *testing.T)
conn/bind_std_test.go:11
Function
TestTimeoutPendingRead
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:396
Function
TestTimeoutPendingWrite
(t *testing.T)
ipc/namedpipe/namedpipe_test.go:444
Function
TestTrieIPv4
* Test ported from kernel implementation: * selftest/allowedips.h */
device/allowedips_test.go:89
Function
TestTrieIPv6
* Test ported from kernel implementation: * selftest/allowedips.h */
device/allowedips_test.go:203
Function
TestTrieRandom
(t *testing.T)
device/allowedips_rand_test.go:81
Function
TestTwoDevicePing
(t *testing.T)
device/device_test.go:195
Function
TestUpDown
(t *testing.T)
device/device_test.go:206
Function
TestWaitPool
(t *testing.T)
device/pools_test.go:17
Function
Test_coalesceMessages
(t *testing.T)
conn/bind_std_test.go:35
Function
Test_getSrcFromControl
(t *testing.T)
conn/sticky_linux_test.go:130
Function
Test_handleGRO
(t *testing.T)
tun/offload_linux_test.go:310
Function
Test_handleVirtioRead
(t *testing.T)
tun/offload_linux_test.go:169
Function
Test_listenConfig
(t *testing.T)
conn/sticky_linux_test.go:214
Function
Test_packetIsGROCandidate
(t *testing.T)
tun/offload_linux_test.go:532
Function
Test_setSrcControl
(t *testing.T)
conn/sticky_linux_test.go:56
Function
Test_splitCoalescedMessages
(t *testing.T)
conn/bind_std_test.go:132
Function
Test_udpPacketsCanCoalesce
(t *testing.T)
tun/offload_linux_test.go:654
Function
UAPIListen
(name string, file *os.File)
ipc/uapi_bsd.go:56
Function
UAPIListen
(name string)
ipc/uapi_windows.go:62
Method
Unwrap
()
conn/bind_std.go:337
Method
Unwrap
()
device/uapi.go:33
Method
Write
(bufs [][]byte, offset int)
tun/tun_linux.go:335
Method
Write
(bufs [][]byte, offset int)
tun/tun_darwin.go:222
Method
Write
(bufs [][]byte, offset int)
tun/tun_openbsd.go:222
Method
Write
(bufs [][]byte, offset int)
tun/tun_windows.go:184
Method
Write
(bufs [][]byte, offset int)
tun/tun_freebsd.go:351
Method
Write
(buf [][]byte, offset int)
tun/netstack/tun.go:137
Method
Write
(p []byte)
tun/netstack/tun.go:434
Method
Write
(p []byte)
rwcancel/rwcancel.go:97
Method
Write
(bufs [][]byte, offset int)
device/device_test.go:443
Method
Write
Write writes to a file handle.
ipc/namedpipe/file.go:214
Method
Write
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
Method
WriteNotify
()
tun/netstack/tun.go:157
Method
clearPointers
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
Function
errShouldDisableUDPGSO
(_ error)
conn/errors_default.go:10
Function
expiredNewHandshake
(peer *Peer)
device/timers.go:119
Function
expiredPersistentKeepalive
(peer *Peer)
device/timers.go:131
Function
expiredRetransmitHandshake
(peer *Peer)
device/timers.go:79
Function
expiredSendKeepalive
(peer *Peer)
device/timers.go:109
Function
expiredZeroKeyMaterial
(peer *Peer)
device/timers.go:126
Function
getGSOSize
getGSOSize parses control for UDP_GRO and if found returns its GSO size data.
conn/gso_default.go:11
Function
getGSOSize
getGSOSize parses control for UDP_GRO and if found returns its GSO size data.
conn/gso_linux.go:22
Function
getSrcFromControl
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
Function
init
()
conn/controlfns_linux.go:45
Function
init
()
conn/controlfns_windows.go:14
Function
init
()
conn/controlfns_unix.go:16
Function
init
()
conn/mark_unix.go:18
Function
init
* Do basic precomputations */
device/noise-protocol.go:265
Function
init
()
ipc/uapi_windows.go:54
Function
initIo
()
ipc/namedpipe/file.go:41
Method
initNameCache
()
tun/tun_linux.go:307
Method
lookupOrInsert
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
Function
main
()
main_windows.go:27
Function
main
()
main.go:60
Function
main
()
tun/netstack/examples/http_client.go:21
Function
main
()
tun/netstack/examples/ping_client.go:25
Function
main
()
tun/netstack/examples/http_server.go:22
Method
marshal
(b []byte)
device/noise-protocol.go:137
← previous
next →
601–700 of 712, ranked by callers