Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hidden-Node/GooseRelayVPN-AndroidClient
/ HasFlag
Method
HasFlag
internal/frame/frame.go:35–35 ·
view source on GitHub ↗
(flag uint8)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(f *Frame) HasFlag(flag uint8) bool {
return
f.Flags&flag != 0 }
36
37
func
(f *Frame) EncodedLen() int {
38
return
SessionIDLen + 8 + 1 + 1 + len(f.Target) + 4 + len(f.Payload)
Callers
14
handleTunnel
Method · 0.80
routeIncoming
Method · 0.80
TestExit_MultiClient_RejectsSessionSpoof
Function · 0.80
routeIncomingNoBackoff
Function · 0.80
TestFrameRoundTrip_SYN
Function · 0.80
TestFrameRoundTrip_FIN_NoPayload
Function · 0.80
TestFrameRoundTrip_ACK
Function · 0.80
Diagnose
Method · 0.80
routeRx
Method · 0.80
TestDrainTx_EmitsSYNFirst
Function · 0.80
TestDrainTx_EmitsFINOnClose
Function · 0.80
TestRollbackDrain_RestoresSYNAndPayload
Function · 0.80
Calls
no outgoing calls
Tested by
9
TestExit_MultiClient_RejectsSessionSpoof
Function · 0.64
routeIncomingNoBackoff
Function · 0.64
TestFrameRoundTrip_SYN
Function · 0.64
TestFrameRoundTrip_FIN_NoPayload
Function · 0.64
TestFrameRoundTrip_ACK
Function · 0.64
TestDrainTx_EmitsSYNFirst
Function · 0.64
TestDrainTx_EmitsFINOnClose
Function · 0.64
TestRollbackDrain_RestoresSYNAndPayload
Function · 0.64
TestEnqueueInitialData_PreservesOrderAcrossMultipleCalls
Function · 0.64