package
0.0.0-20230421053604-b3f7bda99619
Repository: https://github.com/funbinary/go_example.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
WithMaxBufferedPagesPerConnection 单个连接缓冲的page最大值 如果达到上限,则将刷新最小序列号以及任何连续数据。 如果<= 0,这将被忽略。.
WithMaxBufferedPagesTotal 等待无序包时要缓冲的page总数最大值 一旦达到这个上限值, Assembler将会降级刷新每个连接的 如果<=0将被忽略。.
# Structs
No description provided by the author
No description provided by the author
TCPAssemblyStats provides some figures for a ScatterGather.
# Interfaces
AssemblerContext provides method to get metadata.
ScatterGather is used to pass reassembled data and metadata of reassembled packets to a Stream via ReassembledSG.
Stream is implemented by the caller to handle incoming reassembled TCP data.
StreamFactory is used by assembly to create a new stream for each new TCP session.
# Type aliases
Sequence is a TCP sequence number.
TCPFlowDirection distinguish the two half-connections directions.