InactiveHandle allows you to call pre-pcap_activate functions on your pcap handle to set it up just the way you'd like.
| 744 | // InactiveHandle allows you to call pre-pcap_activate functions on your pcap |
| 745 | // handle to set it up just the way you'd like. |
| 746 | type InactiveHandle struct { |
| 747 | // cptr is the handle for the actual pcap C object. |
| 748 | cptr pcapTPtr |
| 749 | device string |
| 750 | deviceIndex int |
| 751 | timeout time.Duration |
| 752 | } |
| 753 | |
| 754 | // holds the err messoge in case activation returned a Warning |
| 755 | var activateErrMsg error |
nothing calls this directly
no outgoing calls
no test coverage detected