Tons of code cleanup, refactor Network to use EthernetTapFactory, probably also fix GitHub issue #90
This commit is contained in:
parent
9b93141dd0
commit
b80c229d87
27 changed files with 169 additions and 1547 deletions
|
@ -89,11 +89,12 @@ public:
|
|||
void *arg) = 0;
|
||||
|
||||
/**
|
||||
* Close an ethernet tap device
|
||||
* Close an ethernet tap device and delete/free the tap object
|
||||
*
|
||||
* @param tap Tap instance
|
||||
* @param destroyPersistentDevices If true, destroy persistent device (on platforms where applicable)
|
||||
*/
|
||||
virtual void close(EthernetTap *tap) = 0;
|
||||
virtual void close(EthernetTap *tap,bool destroyPersistentDevices) = 0;
|
||||
|
||||
/**
|
||||
* @return All currently open tap device names
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue