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

Method isSYNOnly

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

Source from the content-addressed store, hash-verified

93)
94
95func (p pkt) isSYNOnly() bool {
96 return p.flags&flagSYN != 0 && p.flags&flagACK == 0 && p.flags&(flagRST|flagFIN) == 0
97}
98func (p pkt) isSYNACK() bool {
99 return p.flags&flagSYN != 0 && p.flags&flagACK != 0 && p.flags&(flagRST|flagFIN) == 0
100}

Callers 2

handleOutboundMethod · 0.80
TestParseSYNFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestParseSYNFunction · 0.64