MCPcopy Create free account

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

Functions712 in github.com/WireGuard/wireguard-go

↓ 1 callersMethodGetOutboundElement
()
device/pools.go:114
↓ 1 callersMethodInit
()
ratelimiter/ratelimiter.go:45
↓ 1 callersFunctionInitialize
()
conn/winrio/rio_windows.go:92
↓ 1 callersMethodIsUnderLoad
()
device/device.go:217
↓ 1 callersMethodIsZero
()
device/noise-types.go:39
↓ 1 callersMethodListenPingAddr
(laddr netip.Addr)
tun/netstack/tun.go:366
↓ 1 callersMethodMTU
()
tun/tun_openbsd.go:300
↓ 1 callersMethodName
()
tun/tun_darwin.go:179
↓ 1 callersMethodName
()
tun/tun_openbsd.go:188
↓ 1 callersMethodName
()
tun/tun_freebsd.go:315
↓ 1 callersMethodNetwork
()
tun/netstack/tun.go:298
↓ 1 callersFunctionNewChannelBinds
()
conn/bindtest/bindtest.go:33
↓ 1 callersFunctionNewWinRingBind
()
conn/bind_windows.go:82
↓ 1 callersFunctionNow
()
tai64n/tai64n.go:31
↓ 1 callersMethodParseEndpoint
ParseEndpoint creates a new endpoint from a string.
conn/conn.go:53
↓ 1 callersMethodPopulatePools
()
device/pools.go:49
↓ 1 callersMethodReadFrom
(p []byte)
tun/netstack/tun.go:438
↓ 1 callersMethodReadyWrite
()
rwcancel/rwcancel.go:65
↓ 1 callersFunctionReceiveEx
(rq Rq, buf *Buffer, dataBufferCount uint32, localAddress, remoteAddress, controlContext, flags *Buffer, sflag
conn/winrio/rio_windows.go:240
↓ 1 callersMethodReceivedWithKeypair
(receivedKeypair *Keypair)
device/noise-protocol.go:701
↓ 1 callersMethodRoutineDecryption
(id int)
device/receive.go:238
↓ 1 callersMethodRoutineEncryption
* Encrypts the elements in the queue * and marks them for sequential consumption (by releasing the mutex) * * Obs. One instance per core */
device/send.go:439
↓ 1 callersMethodRoutineHandshake
* Handles incoming packets related to handshake */
device/receive.go:271
↓ 1 callersMethodRoutineReadFromTUN
()
device/send.go:206
↓ 1 callersMethodRoutineReceiveIncoming
* Receives incoming datagrams for the device * * Every time the bind is updated a new routine is started for * IPv4 and IPv6 (separately) */
device/receive.go:72
↓ 1 callersMethodRoutineSequentialReceiver
(maxBatchSize int)
device/receive.go:429
↓ 1 callersMethodRoutineSequentialSender
(maxBatchSize int)
device/send.go:477
↓ 1 callersMethodRoutineTUNEventReader
()
device/tun.go:16
↓ 1 callersFunctionSendEx
(rq Rq, buf *Buffer, dataBufferCount uint32, localAddress, remoteAddress, controlContext, flags *Buffer, sflag
conn/winrio/rio_windows.go:232
↓ 1 callersMethodSendHandshakeCookie
(initiatingElem *QueueHandshakeElement)
device/send.go:177
↓ 1 callersMethodSendHandshakeResponse
()
device/send.go:142
↓ 1 callersMethodSendKeepalivesToPeersWithCurrentKeypair
()
device/device.go:406
↓ 1 callersMethodSetDeadline
(t time.Time)
tun/netstack/tun.go:467
↓ 1 callersMethodSetDeadline
(t time.Time)
ipc/namedpipe/namedpipe.go:45
↓ 1 callersMethodSrcIP
()
conn/conn.go:84
↓ 1 callersMethodSrcIP
()
device/endpoint_test.go:47
↓ 1 callersMethodString
()
device/device_test.go:111
↓ 1 callersMethodString
()
ipc/namedpipe/namedpipe.go:112
↓ 1 callersMethodSwapIndexForKeypair
(index uint32, keypair *Keypair)
device/indextable.go:44
↓ 1 callersFunctionUAPIOpen
(name string)
ipc/uapi_unix.go:35
↓ 1 callersMethodWrite
Write is called by the wireguard device to deliver a packet for routing.
tun/tuntest/tuntest.go:125
↓ 1 callersMethodWriteBatch
([]ipv6.Message, int)
conn/bind_std.go:223
↓ 1 callersFunctionapplyTCPCoalesceAccounting
applyTCPCoalesceAccounting updates bufs to account for coalescing based on the metadata found in table.
tun/offload_linux.go:625
↓ 1 callersFunctionapplyUDPCoalesceAccounting
applyUDPCoalesceAccounting updates bufs to account for coalescing based on the metadata found in table.
tun/offload_linux.go:683
↓ 1 callersFunctioncalculatePaddingSize
(packetSize, mtu int)
device/send.go:419
↓ 1 callersFunctioncheckHeader
(p *dnsmessage.Parser, h dnsmessage.Header)
tun/netstack/tun.go:708
↓ 1 callersMethodcloseHandle
closeHandle closes the resources associated with a Win32 handle
ipc/namedpipe/file.go:88
↓ 1 callersFunctioncoalesceTCPPackets
coalesceTCPPackets attempts to coalesce pkt with the packet described by item, and returns the outcome. This function may swap bufs elements in the ev
tun/offload_linux.go:444
↓ 1 callersFunctioncoalesceUDPPackets
coalesceUDPPackets attempts to coalesce pkt with the packet described by item, and returns the outcome.
tun/offload_linux.go:414
↓ 1 callersFunctionconnectPipe
(p *file)
ipc/namedpipe/namedpipe.go:439
↓ 1 callersFunctioncreateNetlinkRouteSocket
()
device/sticky_linux.go:209
↓ 1 callersFunctioncreateNetlinkSocket
()
tun/tun_linux.go:110
↓ 1 callersMethoddecode
(b []byte)
tun/offload_linux.go:38
↓ 1 callersMethoddeleteAt
(key tcpFlowKey, i int)
tun/offload_linux.go:136
↓ 1 callersFunctiondnsPacketRoundTrip
(c net.Conn, id uint16, query dnsmessage.Question, b []byte)
tun/netstack/tun.go:599
↓ 1 callersFunctiondnsStreamRoundTrip
(c net.Conn, id uint16, query dnsmessage.Question, b []byte)
tun/netstack/tun.go:622
↓ 1 callersFunctionequalASCIIName
(x, y dnsmessage.Name)
tun/netstack/tun.go:566
↓ 1 callersFunctionerrShouldDisableUDPGSO
(err error)
conn/errors_linux.go:15
↓ 1 callersMethodexchange
(ctx context.Context, server netip.Addr, q dnsmessage.Question, timeout time.Duration)
tun/netstack/tun.go:653
↓ 1 callersFunctionflipTCP4Checksum
(b []byte)
tun/offload_linux_test.go:262
↓ 1 callersFunctionflipUDP4Checksum
(b []byte)
tun/offload_linux_test.go:269
↓ 1 callersMethodflushInboundQueue
(q *autodrainingInboundQueue)
device/channels.go:90
↓ 1 callersMethodflushOutboundQueue
(q *autodrainingOutboundQueue)
device/channels.go:123
↓ 1 callersFunctiongenConfigs
genConfigs generates a pair of configs that connect to each other. The configs use distinct, probably-usable ports.
device/device_test.go:53
↓ 1 callersFunctiongenICMPv4
(payload []byte, dst, src netip.Addr)
tun/tuntest/tuntest.go:43
↓ 1 callersFunctiongetIFIndex
(name string)
tun/tun_linux.go:203
↓ 1 callersFunctiongsoNoneChecksum
(in []byte, cSumStart, cSumOffset uint16)
tun/offload_linux.go:985
↓ 1 callersFunctiongsoSplit
gsoSplit splits packets from in into outBuffs, writing the size of each element into sizes. It returns the number of buffers populated, and/or an erro
tun/offload_linux.go:901
↓ 1 callersMethodhandleDeviceLine
(key, value string)
device/uapi.go:197
↓ 1 callersMethodhandlePeerLine
(peer *ipcSetPeer, key, value string)
device/uapi.go:304
↓ 1 callersMethodhandlePublicKeyLine
(peer *ipcSetPeer, value string)
device/uapi.go:274
↓ 1 callersMethodinsert
insert an item in the table for the provided packet and packet metadata.
tun/offload_linux.go:219
↓ 1 callersFunctionioCompletionProcessor
ioCompletionProcessor processes completed async IOs forever
ipc/namedpipe/file.go:126
↓ 1 callersFunctionisDomainName
(s string)
tun/netstack/tun.go:498
↓ 1 callersMethodkeepKeyFreshReceiving
* Called when a new authenticated message has been received * * NOTE: Not thread safe, but called by sequential receiver! */
device/receive.go:56
↓ 1 callersMethodkeepKeyFreshSending
()
device/send.go:195
↓ 1 callersFunctionkernelVersion
Taken from go/src/internal/syscall/unix/kernel_version_linux.go
conn/controlfns_linux.go:17
↓ 1 callersMethodlistenerRoutine
()
ipc/namedpipe/namedpipe.go:354
↓ 1 callersMethodmakeConnectedServerPipe
()
ipc/namedpipe/namedpipe.go:324
↓ 1 callersMethodmakeReceiveIPv4
(pc *ipv4.PacketConn, conn *net.UDPConn, rxOffload bool)
conn/bind_std.go:280
↓ 1 callersMethodmakeReceiveIPv6
(pc *ipv6.PacketConn, conn *net.UDPConn, rxOffload bool)
conn/bind_std.go:286
↓ 1 callersMethodmakeServerPipe
()
ipc/namedpipe/namedpipe.go:311
↓ 1 callersFunctionmockGetGSOSize
(control []byte)
conn/bind_std_test.go:125
↓ 1 callersMethodnameSlow
()
tun/tun_linux.go:311
↓ 1 callersFunctionnewAutodrainingInboundQueue
newAutodrainingInboundQueue returns a channel that will be drained when it gets GC'd. It is useful in cases in which is it hard to manage the lifetime
device/channels.go:82
↓ 1 callersFunctionnewAutodrainingOutboundQueue
newAutodrainingOutboundQueue returns a channel that will be drained when it gets GC'd. It is useful in cases in which is it hard to manage the lifetim
device/channels.go:115
↓ 1 callersFunctionnewHandshakeQueue
()
device/channels.go:62
↓ 1 callersFunctionnewInboundQueue
()
device/channels.go:44
↓ 1 callersMethodnewItems
()
tun/offload_linux.go:155
↓ 1 callersMethodnewItems
()
tun/offload_linux.go:252
↓ 1 callersFunctionnewOutboundQueue
()
device/channels.go:26
↓ 1 callersFunctionnewRequest
(q dnsmessage.Question)
tun/netstack/tun.go:548
↓ 1 callersFunctionpartialDeadline
(now, deadline time.Time, addrsRemaining int)
tun/netstack/tun.go:935
↓ 1 callersFunctionprocyield
go:linkname procyield runtime.procyield
conn/bind_windows.go:353
↓ 1 callersFunctionprocyield
go:linkname procyield runtime.procyield
tun/tun_windows.go:55
↓ 1 callersFunctionpseudoHeaderChecksumRefNoFold
(protocol uint8, srcAddr, dstAddr []byte, totalLen uint16)
tun/checksum_test.go:29
↓ 1 callersFunctionrandU16
()
tun/netstack/tun.go:539
↓ 1 callersFunctionrandUint32
()
device/indextable.go:25
↓ 1 callersMethodroutineHackListener
()
tun/tun_linux.go:62
↓ 1 callersMethodroutineNetlinkListener
()
tun/tun_linux.go:126
← previousnext →301–400 of 712, ranked by callers