MCPcopy Create free account

hub / github.com/40t/go-sniffer / types & classes

Types & classes19 in github.com/40t/go-sniffer

↓ 4 callersTypeAliasSequence
Sequence is a TCP sequence number. It provides a few convenience functions for handling TCP wrap-around. The sequence should always be in the range
core/assembly.go:30
StructAssembler
Assembler handles reassembling TCP streams. It is not safe for concurrency... after passing a packet in via the Assemble call, the caller must wait f
core/assembly.go:445
StructAssemblerOptions
AssemblerOptions controls the behavior of each assembler. Modify the options of each assembler you create to change their behavior.
core/assembly.go:373
StructCmd
core/cmd.go:20
StructCore
core/core.go:3
StructDispatch
core/dispatch.go:14
StructExternalPlug
core/plug.go:39
StructPlug
core/plug.go:17
InterfacePlugInterface
All internal plug-ins must implement this interface ResolvePacket - entry BPFFilter - set BPF, like: mysql(tcp and port 3306) SetFlag - plug
core/plug.go:32
StructProtocolStream
core/dispatch.go:80
StructProtocolStreamFactory
core/dispatch.go:76
StructReassembly
Reassembly objects are passed by an Assembler into Streams using the Reassembled call. Callers should not need to create these structs themselves exc
core/assembly.go:60
InterfaceStream
Stream is implemented by the caller to handle incoming reassembled TCP data. Callers create a StreamFactory, then StreamPool uses it to create a new S
core/assembly.go:162
InterfaceStreamFactory
StreamFactory is used by assembly to create a new stream for each new TCP session.
core/assembly.go:179
StructStreamPool
StreamPool stores all streams created by Assemblers, allowing multiple assemblers to work together on stream processing while enforcing the fact that
core/assembly.go:286
Structconnection
core/assembly.go:350
TypeAliaskey
core/assembly.go:265
Structpage
page is used to store TCP data we're not ready for yet (out-of-order packets). Unused pages are stored in and returned from a pageCache, which avoids
core/assembly.go:82
StructpageCache
pageCache is a concurrency-unsafe store of page objects we use to avoid memory allocation as much as we can. It grows but never shrinks.
core/assembly.go:92