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

Struct tcpStreamFactory

examples/reassemblydump/main.go:260–263  ·  view source on GitHub ↗

* * The TCP factory: returns a new Stream */

Source from the content-addressed store, hash-verified

258 * The TCP factory: returns a new Stream
259 */
260type tcpStreamFactory struct {
261 wg sync.WaitGroup
262 doHTTP bool
263}
264
265func (factory *tcpStreamFactory) New(net, transport gopacket.Flow, tcp *layers.TCP, ac reassembly.AssemblerContext) reassembly.Stream {
266 Debug("* NEW: %s %s\n", net, transport)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected