MCPcopy 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
35func (f *Frame) HasFlag(flag uint8) bool { return f.Flags&flag != 0 }
36
37func (f *Frame) EncodedLen() int {
38 return SessionIDLen + 8 + 1 + 1 + len(f.Target) + 4 + len(f.Payload)

Callers 14

handleTunnelMethod · 0.80
routeIncomingMethod · 0.80
routeIncomingNoBackoffFunction · 0.80
TestFrameRoundTrip_SYNFunction · 0.80
TestFrameRoundTrip_ACKFunction · 0.80
DiagnoseMethod · 0.80
routeRxMethod · 0.80

Calls

no outgoing calls