StreamData is a payload fragment of data we received from a streamReader its contains the raw bytes as well an assembler context with timestamp information.
| 28 | // StreamData is a payload fragment of data we received from a streamReader |
| 29 | // its contains the raw bytes as well an assembler context with timestamp information. |
| 30 | type StreamData struct { |
| 31 | // raw binary data |
| 32 | RawData []byte |
| 33 | |
| 34 | // tcp specific fields |
| 35 | AssemblerContext reassembly.AssemblerContext |
| 36 | Dir reassembly.TCPFlowDirection |
| 37 | |
| 38 | // udp specific fields |
| 39 | CaptureInformation gopacket.CaptureInfo |
| 40 | Net gopacket.Flow |
| 41 | Trans gopacket.Flow |
| 42 | } |
| 43 | |
| 44 | // dataFragment interface implementation |
| 45 |
nothing calls this directly
no outgoing calls
no test coverage detected