MCPcopy
hub / github.com/google/gopacket / Reverse

Method Reverse

flows.go:206–208  ·  view source on GitHub ↗

Reverse returns a new flow with endpoints reversed.

()

Source from the content-addressed store, hash-verified

204
205// Reverse returns a new flow with endpoints reversed.
206func (f Flow) Reverse() Flow {
207 return Flow{f.typ, f.dlen, f.slen, f.dst, f.src}
208}
209
210// NewFlow creates a new flow.
211//

Callers 3

NewMethod · 0.45
NewMethod · 0.45
ReassembledSGMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected