code: def submit(self):
          
          self._newflg = False
          ret = list()
          for buf in self._buffer.values():
              buf = copy.deepcopy(buf)
              if self._fdpext:
                  buf['fpout'] = f"{self._fproot}/{buf['label']}.{self._fdpext}"
              else:
                  del buf['fpout']
              buf['index'] = tuple(buf['index'])
              ret.append(Info(buf))
          ret += self._stream
          return tuple(ret)
docs: Submit traced TCP flows.