base/frameworks/netcontrol/shunt.bro
- 
NetControl
Implementation of the shunt functionality for NetControl.
Detailed Interface
Types
- 
NetControl::ShuntInfo
- 
 
Events
- 
NetControl::log_netcontrol_shunt
- 
Event that can be handled to access the NetControl::ShuntInforecord as it is sent on to the logging framework.
 
 
Functions
- 
NetControl::shunt_flow
- 
Stops forwarding a uni-directional flow’s packets to Bro. 
| F: | The flow to shunt. | 
|---|
 | T: | How long to leave the shunt in place, with 0 being indefinitely. | 
|---|
 | Location: | An optional string describing where the shunt was triggered. | 
|---|
 | Returns: | The id of the inserted rule on success and zero on failure. | 
|---|