StreamFactory is used by assembly to create a new stream for each new TCP session.
| 382 | // StreamFactory is used by assembly to create a new stream for each |
| 383 | // new TCP session. |
| 384 | type StreamFactory interface { |
| 385 | // New should return a new stream for the given TCP key. |
| 386 | New(netFlow, tcpFlow gopacket.Flow, tcp *layers.TCP, ac AssemblerContext) Stream |
| 387 | } |
| 388 | |
| 389 | type key [2]gopacket.Flow |
| 390 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…