RAWInput used for intercepting traffic for given address
| 34 | |
| 35 | // RAWInput used for intercepting traffic for given address |
| 36 | type RAWInput struct { |
| 37 | sync.Mutex |
| 38 | RAWInputConfig |
| 39 | messageStats []tcp.Stats |
| 40 | listener *capture.Listener |
| 41 | messageParser *tcp.MessageParser |
| 42 | cancelListener context.CancelFunc |
| 43 | closed bool |
| 44 | } |
| 45 | |
| 46 | // NewRAWInput constructor for RAWInput. Accepts raw input config as arguments. |
| 47 | func NewRAWInput(address string, config RAWInputConfig) (i *RAWInput) { |
nothing calls this directly
no outgoing calls
no test coverage detected