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
DstToString
()
conn/bind_windows.go:164
Method
DstToString
()
conn/bindtest/bindtest.go:62
Method
DstToString
()
device/endpoint_test.go:32
Method
Events
()
tun/tun_linux.go:478
Method
Events
()
tun/tun_darwin.go:200
Method
Events
()
tun/tun_openbsd.go:203
Method
Events
()
tun/tun_windows.go:105
Method
Events
()
tun/tun_freebsd.go:332
Method
Events
()
tun/netstack/tun.go:119
Method
Events
()
tun/tuntest/tuntest.go:151
Method
Events
()
device/device_test.go:446
Method
File
()
tun/tun_linux.go:58
Method
File
()
tun/tun_darwin.go:196
Method
File
()
tun/tun_openbsd.go:199
Method
File
()
tun/tun_windows.go:101
Method
File
()
tun/tun_freebsd.go:328
Method
File
()
tun/netstack/tun.go:115
Method
File
()
tun/tuntest/tuntest.go:111
Method
File
()
device/device_test.go:439
Method
ForceMTU
TODO: This is a temporary hack. We really need to be monitoring the interface in real time and adapting to MTU changes.
tun/tun_windows.go:129
Method
FromHex
(src string)
device/noise-types.go:48
Method
FromHex
(src string)
device/noise-types.go:76
Function
Fuzz_handleGRO
(f *testing.F)
tun/offload_linux_test.go:276
Method
Init
()
device/indextable.go:32
Method
Init
(pk NoisePublicKey)
device/cookie.go:173
Method
IpcGet
()
device/uapi.go:407
Method
LUID
LUID returns Windows interface instance ID.
tun/tun_windows.go:214
Method
Len
()
device/allowedips_rand_test.go:31
Method
Less
(i, j int)
device/allowedips_rand_test.go:35
Method
ListenPing
(laddr *PingAddr)
tun/netstack/tun.go:381
Method
ListenUDP
(laddr *net.UDPAddr)
tun/netstack/tun.go:280
Method
ListenUDPAddrPort
(laddr netip.AddrPort)
tun/netstack/tun.go:263
Method
LocalAddr
()
ipc/namedpipe/namedpipe.go:37
Method
LookupHost
(host string)
tun/netstack/tun.go:494
Method
MTU
()
tun/tun_linux.go:267
Method
MTU
()
tun/tun_darwin.go:286
Method
MTU
()
tun/tun_windows.go:124
Method
MTU
()
tun/tun_freebsd.go:417
Method
MTU
()
tun/netstack/tun.go:186
Method
MTU
()
tun/tuntest/tuntest.go:149
Method
MTU
()
device/device_test.go:444
Method
Name
()
tun/tun_windows.go:97
Method
Name
()
tun/netstack/tun.go:111
Method
Name
()
tun/tuntest/tuntest.go:150
Method
Name
()
device/device_test.go:445
Method
Network
()
ipc/namedpipe/namedpipe.go:108
Function
NewDefaultBind
()
conn/bind_windows.go:80
Method
Open
(uport uint16)
conn/bind_std.go:140
Method
Open
()
conn/bind_windows.go:220
Method
Open
(family int32, sa windows.Sockaddr)
conn/bind_windows.go:242
Method
Open
(port uint16)
conn/bind_windows.go:271
Method
Open
(port uint16)
conn/bindtest/bindtest.go:70
Method
Open
(port uint16)
device/device_test.go:426
Method
ParseEndpoint
(s string)
conn/bind_std.go:90
Method
ParseEndpoint
(s string)
conn/bind_windows.go:99
Method
ParseEndpoint
(s string)
conn/bindtest/bindtest.go:130
Method
ParseEndpoint
(s string)
device/device_test.go:432
Method
PeekLookAtSocketFd4
()
conn/boundif_android.go:8
Method
PeekLookAtSocketFd4
()
conn/conn.go:70
Method
PeekLookAtSocketFd6
()
conn/boundif_android.go:22
Method
PeekLookAtSocketFd6
()
conn/conn.go:71
Function
PingAddrFromAddr
(addr netip.Addr)
tun/netstack/tun.go:311
Method
Read
(bufs [][]byte, sizes []int, offset int)
tun/tun_linux.go:451
Method
Read
(bufs [][]byte, sizes []int, offset int)
tun/tun_darwin.go:204
Method
Read
(bufs [][]byte, sizes []int, offset int)
tun/tun_openbsd.go:207
Method
Read
Note: Read() and Write() assume the caller comes only from a single thread; there's no locking.
tun/tun_windows.go:147
Method
Read
(bufs [][]byte, sizes []int, offset int)
tun/tun_freebsd.go:336
Method
Read
(buf [][]byte, sizes []int, offset int)
tun/netstack/tun.go:123
Method
Read
(p []byte)
tun/netstack/tun.go:462
Method
Read
(packets [][]byte, sizes []int, offset int)
tun/tuntest/tuntest.go:113
Method
Read
(p []byte)
rwcancel/rwcancel.go:85
Method
Read
(bufs [][]byte, sizes []int, offset int)
device/device_test.go:440
Method
Read
Read reads from a file handle.
ipc/namedpipe/file.go:187
Method
Read
Read reads bytes from a message pipe in byte mode. A read of a zero-byte message on a message mode pipe will return io.EOF, as will all subsequent rea
ipc/namedpipe/namedpipe.go:83
Method
ReceiveIPv4
(buf []byte)
device/bind_test.go:38
Method
ReceiveIPv6
(buf []byte)
device/bind_test.go:29
Function
RegisterBuffer
(buffer []byte)
conn/winrio/rio_windows.go:216
Method
RemoteAddr
()
tun/netstack/tun.go:393
Method
RemoteAddr
()
ipc/namedpipe/namedpipe.go:41
Method
RunningVersion
RunningVersion returns the running version of the Wintun driver.
tun/tun_windows.go:224
Method
Send
(bufs [][]byte, endpoint Endpoint)
conn/bind_std.go:341
Method
Send
(buf []byte, nend *WinRingEndpoint, isOpen *atomic.Uint32)
conn/bind_windows.go:437
Method
Send
(bufs [][]byte, endpoint Endpoint)
conn/bind_windows.go:489
Method
Send
(bufs [][]byte, ep conn.Endpoint)
conn/bindtest/bindtest.go:110
Method
Send
(tb testing.TB, ping SendDirection, done chan struct{})
device/device_test.go:118
Method
Send
(bufs [][]byte, ep conn.Endpoint)
device/device_test.go:431
Method
Send
(buf []byte, end conn.Endpoint)
device/bind_test.go:54
Method
SetMark
(mark uint32)
conn/mark_unix.go:29
Method
SetMark
(mark uint32)
conn/bind_windows.go:331
Method
SetMark
(mark uint32)
conn/mark_default.go:10
Method
SetMark
(mark uint32)
conn/bindtest/bindtest.go:94
Method
SetMark
(mark uint32)
device/device_test.go:430
Method
SetMark
(v uint32)
device/bind_test.go:25
Method
SetWriteDeadline
(t time.Time)
tun/netstack/tun.go:403
Method
SrcIP
()
conn/sticky_default.go:12
Method
SrcIP
()
conn/bind_windows.go:144
Method
SrcIP
()
conn/bindtest/bindtest.go:68
Method
SrcIfidx
()
conn/sticky_default.go:16
Method
SrcToString
clears the source address
conn/conn.go:80
Method
SrcToString
()
conn/sticky_linux.go:44
← previous
next →
501–600 of 712, ranked by callers