예제 #1
0
 private IEnumerable <L7Flow> AvailableUnidirectionL7Conversations(Boolean forceCreate, TcpFlowReassembler reassembler) =>
 reassembler.CompletedFlows.Where(flow => !flow.Paired)
 .Where(flow => forceCreate ||
        this._lastFrameTimestampTicks - flow.LastSeenTicks >= TcpSessionTimeoutTicks);
예제 #2
0
 GetOrCreateTcpFlowReassemblerForFrame(ref TcpFlowReassembler flow, FlowDirection direction) =>
 flow ?? (flow = new TcpFlowReassembler(direction));