//
pkg.gl
Category
github.com/m-lab/packet-headers
demuxer
package
0.7.4
Repository:
https://github.com/m-lab/packet-headers.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
13
Dependents
2
Files
225 SLOC
#
Functions
FlowKeyFrom4Tuple
FlowKeyFrom4Tuple creates a FlowKey (suitable for use as a map key) from a TCP 4-tuple.
NewTCP
NewTCP creates a demuxer.TCP, which is the system which chooses which channel to send TCP/IP packets for subsequent saving to a file.
#
Structs
FlowKey
FlowKey characterizes a TCP/IP flow without judgement about what direction the flow is.
TCP
TCP sends each received TCP/IP packet to the proper saver.
UUIDEvent
UUIDEvent is the datatype sent to a demuxer's UUIDChan to notify it about the UUID of new flows.