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

Method hasPayload

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

Source from the content-addressed store, hash-verified

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.
105// Separated from bypass.Mutation so the engine can add bookkeeping (final

Callers 3

handleOutboundMethod · 0.80
handleInboundMethod · 0.80
TestParseSYNFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestParseSYNFunction · 0.64