MCPcopy Create free account

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

Functions712 in github.com/WireGuard/wireguard-go

↓ 4 callersMethodDialUDPAddrPort
(laddr, raddr netip.AddrPort)
tun/netstack/tun.go:247
↓ 4 callersMethodFlush
()
ipc/namedpipe/file.go:240
↓ 4 callersMethodGetMessageBuffer
()
device/pools.go:97
↓ 4 callersMethodIsZero
()
device/noise-types.go:67
↓ 4 callersMethodName
()
tun/tun_linux.go:302
↓ 4 callersMethodSendStagedPackets
()
device/send.go:337
↓ 4 callersMethodSetEndpointFromPacket
(endpoint conn.Endpoint)
device/peer.go:279
↓ 4 callersMethodSwap
(i, j int)
device/allowedips_rand_test.go:39
↓ 4 callersFunctionbenchmarkTrie
(peerNumber, addressNumber, _ int, b *testing.B)
device/allowedips_test.go:42
↓ 4 callersFunctioncheckAlignment
(t *testing.T, name string, offset uintptr)
tun/alignment_windows_test.go:14
↓ 4 callersMethoddeviceState
deviceState returns device.state.state as a deviceState See those docs for how to interpret this value.
device/device.go:112
↓ 4 callersFunctiongetConnection
(cfg *namedpipe.ListenConfig)
ipc/namedpipe/namedpipe_test.go:171
↓ 4 callersFunctionloadExactHex
(dst []byte, src string)
device/noise-types.go:27
↓ 4 callersMethodmarkEndpointSrcForClearing
()
device/peer.go:289
↓ 4 callersMethodmixKey
(data []byte)
device/noise-protocol.go:259
↓ 4 callersFunctionnewTCPGROTable
()
tun/offload_linux.go:74
↓ 4 callersFunctionnewUDPGROTable
()
tun/offload_linux.go:182
↓ 4 callersFunctionsocketCloexec
(family, sotype, proto int)
tun/tun_darwin.go:310
↓ 4 callersMethodzeroizePointers
()
device/allowedips.go:80
↓ 3 callersMethodAccept
()
ipc/uapi_bsd.go:27
↓ 3 callersMethodBindUpdate
()
device/device.go:471
↓ 3 callersMethodCancel
()
rwcancel/rwcancel.go:109
↓ 3 callersMethodCloseWrite
()
ipc/namedpipe/namedpipe_test.go:352
↓ 3 callersFunctionCreateNetTUN
(localAddresses, dnsServers []netip.Addr, mtu int)
tun/netstack/tun.go:55
↓ 3 callersMethodCurrent
()
device/keypair.go:42
↓ 3 callersMethodDialPingAddr
(laddr, raddr netip.Addr)
tun/netstack/tun.go:315
↓ 3 callersMethodFile
File returns the file descriptor of the device.
tun/tun.go:22
↓ 3 callersMethodGetOutboundElementsContainer
()
device/pools.go:83
↓ 3 callersFunctionHMAC2
(sum *[blake2s.Size]byte, key, in0, in1 []byte)
device/noise-helpers.go:33
↓ 3 callersMethodInsertReceiveRequest
()
conn/bind_windows.go:335
↓ 3 callersMethodIpcGetOperation
IpcGetOperation implements the WireGuard configuration protocol "get" operation. See https://www.wireguard.com/xplatform/#configuration-protocol for d
device/uapi.go:51
↓ 3 callersMethodIsPending
()
device/timers.go:69
↓ 3 callersFunctionKDF3
(t0, t1, t2 *[blake2s.Size]byte, key, input []byte)
device/noise-helpers.go:56
↓ 3 callersMethodName
Name returns the current name of the Device.
tun/tun.go:41
↓ 3 callersMethodNewOutboundElement
()
device/send.go:60
↓ 3 callersMethodNewPeer
(pk NoisePublicKey)
device/peer.go:61
↓ 3 callersFunctionNewRWCancel
(fd int)
rwcancel/rwcancel.go:26
↓ 3 callersFunctionNewStdNetBind
()
conn/bind_std.go:51
↓ 3 callersMethodPutInboundElement
(elem *QueueInboundElement)
device/pools.go:109
↓ 3 callersMethodPutInboundElementsContainer
(c *QueueInboundElementsContainer)
device/pools.go:75
↓ 3 callersMethodReadyRead
()
rwcancel/rwcancel.go:45
↓ 3 callersMethodSendBuffers
(buffers [][]byte)
device/peer.go:116
↓ 3 callersMethodSetReadDeadline
(deadline time.Time)
ipc/namedpipe/file.go:232
↓ 3 callersMethodaddToPeerEntries
()
device/allowedips.go:58
↓ 3 callersMethodasyncIo
asyncIo processes the return value from ReadFile or WriteFile, blocking until the operation has actually completed.
ipc/namedpipe/file.go:141
↓ 3 callersFunctionchecksum
Checksum is the "internet checksum" from https://tools.ietf.org/html/rfc1071.
tun/tuntest/tuntest.go:29
↓ 3 callersMethodclamp
()
device/noise-helpers.go:80
↓ 3 callersFunctionhandleGRO
handleGRO evaluates bufs for GRO, and writes the indices of the resulting packets into toWrite. toWrite, tcpTable, and udpTable should initially be em
tun/offload_linux.go:865
↓ 3 callersMethodhandlePostConfig
()
device/uapi.go:258
↓ 3 callersMethodinsert
insert an item in the table for the provided packet and packet metadata.
tun/offload_linux.go:112
↓ 3 callersMethodinsert
(ip []byte, cidr uint8, peer *Peer)
device/allowedips.go:101
↓ 3 callersFunctionisZero
(val []byte)
device/noise-helpers.go:65
↓ 3 callersFunctionlistenConfig
listenConfig returns a net.ListenConfig that applies the controlFns to the socket prior to bind. This is used to apply socket buffer sizing and packet
conn/controlfns.go:32
↓ 3 callersMethodlookup
(ip []byte)
device/allowedips.go:191
↓ 3 callersMethodmarshal
(b []byte)
device/noise-protocol.go:169
↓ 3 callersMethodmaskSelf
()
device/allowedips.go:73
↓ 3 callersFunctionnanotime
go:linkname nanotime runtime.nanotime
tun/tun_windows.go:58
↓ 3 callersMethodnodePlacement
(ip []byte, cidr uint8)
device/allowedips.go:88
↓ 3 callersMethodprepareIo
prepareIo prepares for a new IO operation. The caller must call f.wg.Done() when the IO is finished, prior to Close() returning.
ipc/namedpipe/file.go:112
↓ 3 callersFunctionprintUsage
()
main.go:35
↓ 3 callersFunctionremovePeerLocked
Must hold device.peers.Lock()
device/device.go:129
↓ 3 callersFunctionsetSrc
(ep *StdNetEndpoint, addr netip.Addr, ifidx int32)
conn/sticky_linux_test.go:21
↓ 3 callersFunctionsockPath
(iface string)
ipc/uapi_unix.go:31
↓ 3 callersFunctionstamp
(t time.Time)
tai64n/tai64n.go:22
↓ 3 callersFunctiontcp6PacketMutateIPFields
(srcIPPort, dstIPPort netip.AddrPort, flags header.TCPFlags, segmentSize, seq uint32, ipFn func(*header.IPv6Fi
tun/offload_linux_test.go:133
↓ 3 callersMethodtimersAnyAuthenticatedPacketReceived
* Should be called after any type of authenticated packet is received -- keepalive, data, or handshake. */
device/timers.go:163
↓ 3 callersMethodtimersAnyAuthenticatedPacketSent
* Should be called after any type of authenticated packet is sent -- keepalive, data, or handshake. */
device/timers.go:156
↓ 3 callersFunctionudp6PacketMutateIPFields
(srcIPPort, dstIPPort netip.AddrPort, payloadLen int, ipFn func(*header.IPv6Fields))
tun/offload_linux_test.go:64
↓ 2 callersMethodAllow
(ip netip.Addr)
ratelimiter/ratelimiter.go:99
↓ 2 callersMethodClear
()
device/noise-protocol.go:246
↓ 2 callersMethodClearSrc
()
conn/conn.go:79
↓ 2 callersFunctionCloseCompletionQueue
(cq Cq)
conn/winrio/rio_windows.go:151
↓ 2 callersMethodConsumeMessageInitiation
(msg *MessageInitiation)
device/noise-protocol.go:340
↓ 2 callersMethodConsumeMessageResponse
(msg *MessageResponse)
device/noise-protocol.go:512
↓ 2 callersMethodConsumeReply
(msg *MessageCookieReply)
device/cookie.go:194
↓ 2 callersFunctionCreateIOCPCompletionQueue
(queueSize uint32, iocp windows.Handle, key uintptr, overlapped *windows.Overlapped)
conn/winrio/rio_windows.go:170
↓ 2 callersMethodCreateMessageInitiation
(peer *Peer)
device/noise-protocol.go:270
↓ 2 callersMethodCreateMessageResponse
(peer *Peer)
device/noise-protocol.go:444
↓ 2 callersMethodCreateReply
( msg []byte, recv uint32, src []byte, )
device/cookie.go:117
↓ 2 callersFunctionCreateRequestQueue
(socket windows.Handle, maxOutstandingReceive, maxReceiveDataBuffers, maxOutstandingSend, maxSendDataBuffers u
conn/winrio/rio_windows.go:192
↓ 2 callersFunctionCreateTUN
CreateTUN creates a Device with the provided name and MTU.
tun/tun_linux.go:551
↓ 2 callersFunctionCreateTUNFromFile
CreateTUNFromFile creates a Device from an os.File with the provided MTU.
tun/tun_linux.go:585
↓ 2 callersMethodDial
(network, address string)
tun/netstack/tun.go:1055
↓ 2 callersFunctionDialContext
DialContext calls DialConfig.DialContext using an empty configuration.
ipc/namedpipe/namedpipe.go:219
↓ 2 callersMethodDialContext
DialContext attempts to connect to the specified named pipe by path.
ipc/namedpipe/namedpipe.go:163
↓ 2 callersMethodDialTCPAddrPort
(addr netip.AddrPort)
tun/netstack/tun.go:221
↓ 2 callersMethodDialUDP
(laddr, raddr *net.UDPAddr)
tun/netstack/tun.go:267
↓ 2 callersMethodDown
()
device/device.go:213
↓ 2 callersMethodDstIP
()
device/endpoint_test.go:43
↓ 2 callersMethodDstToBytes
returns the destination address (ip:port)
conn/conn.go:82
↓ 2 callersMethodError
()
conn/bind_std.go:333
↓ 2 callersMethodFd
()
ipc/namedpipe/file.go:244
↓ 2 callersMethodFlushStagedPackets
()
device/send.go:404
↓ 2 callersMethodFromHex
(src string)
device/noise-types.go:63
↓ 2 callersMethodInsert
(addr []byte, cidr uint8, peer *Peer)
device/allowedips_rand_test.go:43
↓ 2 callersMethodIpcHandle
(socket net.Conn)
device/uapi.go:419
↓ 2 callersMethodIpcSetOperation
IpcSetOperation implements the WireGuard configuration protocol "set" operation. See https://www.wireguard.com/xplatform/#configuration-protocol for d
device/uapi.go:140
↓ 2 callersFunctionKDF1
(t0 *[blake2s.Size]byte, key, input []byte)
device/noise-helpers.go:43
↓ 2 callersMethodListenTCP
(addr *net.TCPAddr)
tun/netstack/tun.go:239
↓ 2 callersMethodListenTCPAddrPort
(addr netip.AddrPort)
tun/netstack/tun.go:234
← previousnext →101–200 of 712, ranked by callers