MCPcopy Create free account

hub / github.com/WireGuard/wireguard-go / types & classes

Types & classes136 in github.com/WireGuard/wireguard-go

↓ 5 callersTypeAliasChannelEndpoint
conn/bindtest/bindtest.go:26
↓ 3 callersTypeAliasCq
conn/winrio/rio_windows.go:48
↓ 3 callersTypeAliaspipeAddress
ipc/namedpipe/namedpipe.go:35
↓ 2 callersTypeAliasdeviceState
deviceState represents the state of a Device. There are three states: down, up, closed. Transitions: down -----+ ↑↓ ↓ up -> closed
device/device.go:101
↓ 1 callersTypeAliasBufferId
conn/winrio/rio_windows.go:52
↓ 1 callersTypeAliasRq
conn/winrio/rio_windows.go:50
↓ 1 callersInterfacebatchWriter
conn/bind_std.go:222
↓ 1 callersTypeAliashandshakeState
device/noise-protocol.go:22
StructAllowedIPs
device/allowedips.go:207
InterfaceBind
A Bind listens on a port for both IPv6 and IPv4 UDP traffic. A Bind interface may also be a PeekLookAtSocketFd or BindSocketToInterface, depending on
conn/conn.go:34
InterfaceBindSocketToInterface
BindSocketToInterface is implemented by Bind objects that support being tied to a single network interface. Used by wireguard-windows.
conn/conn.go:62
StructBuffer
conn/winrio/rio_windows.go:54
StructChannelBind
conn/bindtest/bindtest.go:18
StructChannelTUN
tun/tuntest/tuntest.go:82
InterfaceCloseWriter
ipc/namedpipe/namedpipe_test.go:491
StructCookieChecker
device/cookie.go:18
StructCookieGenerator
device/cookie.go:30
InterfaceDevice
tun/tun.go:20
StructDevice
device/device.go:20
StructDialConfig
DialConfig exposes various options for use in Dial and DialContext.
ipc/namedpipe/namedpipe.go:142
StructDummyBind
device/bind_test.go:19
StructDummyDatagram
device/bind_test.go:14
StructDummyEndpoint
device/endpoint_test.go:13
InterfaceEndpoint
An Endpoint maintains the source/destination caching for a peer. dst: the remote address of a peer ("endpoint" in uapi terminology) src: the local
conn/conn.go:78
StructErrUDPGSODisabled
conn/bind_std.go:328
TypeAliasEvent
tun/tun.go:12
StructFilter
A Filter rejects replayed messages by checking if message counter value is within a sliding window of previously received messages. The zero value for
replay/replay.go:24
StructHandshake
device/noise-protocol.go:211
StructIPCError
device/uapi.go:24
StructIndexTable
device/indextable.go:20
StructIndexTableEntry
device/indextable.go:14
StructKDFTest
device/kdf_test.go:15
StructKeypair
* Due to limitations in Go and /x/crypto there is currently * no way to ensure that key material is securely ereased in memory. * * Since this may
device/keypair.go:24
StructKeypairs
device/keypair.go:35
StructListenConfig
ListenConfig contains configuration for the pipe listener.
ipc/namedpipe/namedpipe.go:384
StructLogger
A Logger provides logging for a Device. The functions are Printf-style functions. They must be safe for concurrent use. They do not require a trailing
device/logger.go:18
StructMessageCookieReply
device/noise-protocol.go:112
StructMessageInitiation
* Type is an 8-bit field, followed by 3 nul bytes, * by marshalling the messages in little-endian byteorder * we can treat these as a 32-bit unsigne
device/noise-protocol.go:85
StructMessageResponse
device/noise-protocol.go:95
StructMessageTransport
device/noise-protocol.go:105
StructNativeTun
tun/tun_linux.go:30
StructNativeTun
tun/tun_darwin.go:22
StructNativeTun
tun/tun_openbsd.go:30
StructNativeTun
tun/tun_windows.go:34
StructNativeTun
tun/tun_freebsd.go:70
TypeAliasNet
tun/netstack/tun.go:53
TypeAliasNoiseNonce
device/noise-types.go:24
TypeAliasNoisePresharedKey
device/noise-types.go:23
TypeAliasNoisePrivateKey
device/noise-types.go:22
TypeAliasNoisePublicKey
device/noise-types.go:21
InterfacePeekLookAtSocketFd
PeekLookAtSocketFd is implemented by Bind objects that support having their file descriptor peeked at. Used by wireguard-android.
conn/conn.go:69
StructPeer
device/peer.go:18
StructPingAddr
tun/netstack/tun.go:292
StructPingConn
tun/netstack/tun.go:284
StructQueueHandshakeElement
device/receive.go:21
StructQueueInboundElement
device/receive.go:28
StructQueueInboundElementsContainer
device/receive.go:36
StructQueueOutboundElement
* Outbound flow * * 1. TUN queue * 2. Routing (sequential) * 3. Nonce assignment (sequential) * 4. Encryption (parallel) * 5. Transmission (sequ
device/send.go:47
StructQueueOutboundElementsContainer
device/send.go:55
StructRWCancel
rwcancel/rwcancel.go:20
StructRWCancel
rwcancel/rwcancel_stub.go:7
StructRatelimiter
ratelimiter/ratelimiter.go:28
StructRatelimiterEntry
ratelimiter/ratelimiter.go:22
FuncTypeReceiveFunc
A ReceiveFunc receives at least one packet from the network and writes them into packets. On a successful read it returns the number of elements of si
conn/conn.go:28
StructResult
conn/winrio/rio_windows.go:60
TypeAliasSendDirection
device/device_test.go:104
StructSlowNode
device/allowedips_rand_test.go:23
TypeAliasSlowRouter
device/allowedips_rand_test.go:29
StructStdNetBind
StdNetBind implements Bind for all platforms. While Windows has its own Bind (see bind_windows.go), it may fall back to StdNetBind. TODO: Remove usage
conn/bind_std.go:32
StructStdNetEndpoint
conn/bind_std.go:76
StructTimer
A Timer manages time-based aspects of the WireGuard protocol. Timer roughly copies the interface of the Linux kernel's struct timer_list.
device/timers.go:21
TypeAliasTimestamp
tai64n/tai64n.go:20
StructUAPIListener
ipc/uapi_linux.go:16
StructUAPIListener
ipc/uapi_bsd.go:19
StructUAPIListener
ipc/uapi_windows.go:24
StructWaitPool
device/pools.go:12
StructWinRingBind
WinRingBind uses Windows registered I/O for fast ring buffered networking.
conn/bind_windows.go:74
StructWinRingEndpoint
conn/bind_windows.go:89
StructacceptResponse
ipc/namedpipe/namedpipe.go:223
StructafWinRingBind
conn/bind_windows.go:65
Structargs
tun/offload_linux_test.go:659
StructautodrainingInboundQueue
device/channels.go:74
StructautodrainingOutboundQueue
device/channels.go:106
InterfacebatchReader
conn/bind_std.go:218
TypeAliasblock
replay/replay.go:9
TypeAliascanCoalesce
canCoalesce represents the outcome of checking if two TCP packets are candidates for coalescing.
tun/offload_linux.go:268
StructchTun
tun/tuntest/tuntest.go:107
InterfacecloseWriter
ipc/namedpipe/namedpipe_test.go:351
TypeAliascoalesceResult
coalesceResult represents the result of attempting to coalesce two TCP packets.
tun/offload_linux.go:402
FuncTypecontrolFn
controlFn is the callback function signature from net.ListenConfig.Control. It is used to apply platform specific configuration to the socket prior to
conn/controlfns.go:23
StructdeadlineHandler
ipc/namedpipe/file.go:62
StructeventNotificationCompletion
conn/winrio/rio_windows.go:74
StructfakeBindSized
device/device_test.go:422
StructfakeTUNDeviceSized
device/device_test.go:435
Structfile
file implements Reader, Writer, and Closer on a Win32 handle without blocking in a syscall. It takes ownership of this handle and will close it if it
ipc/namedpipe/file.go:52
FuncTypegetGSOFunc
func(control []byte) (int, error)
conn/bind_std.go:500
TypeAliasgroCandidateType
tun/offload_linux.go:741
TypeAliasgroResult
tun/offload_linux.go:518
StructhandshakeQueue
A handshakeQueue is similar to an outboundQueue; see those docs.
device/channels.go:57
StructifreqMtu
Iface requests with MTU
tun/tun_freebsd.go:47
next →1–100 of 136, ranked by callers