MCPcopy Create free account
hub / github.com/SamNet-dev/snix / isACKOnly

Method isACKOnly

core/engine/packet.go:101–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 return p.flags&flagSYN != 0 && p.flags&flagACK != 0 && p.flags&(flagRST|flagFIN) == 0
100}
101func (p pkt) isACKOnly() bool { return p.flags&flagACK != 0 && p.flags&(flagSYN|flagRST|flagFIN) == 0 }
102func (p pkt) hasPayload() bool { return len(p.payload) > 0 }
103
104// injectSpec is the set of mutation knobs the engine passes to buildInjection.

Callers 2

handleOutboundMethod · 0.80
handleInboundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected