net_util, virtio-devices: Move TAP register/unregister helpers

Move these helper functions into net_util so that they can be used from
code inside there.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford
2020-07-07 16:06:54 +01:00
parent 7f3e40e0cf
commit 1237784a8f
5 changed files with 40 additions and 37 deletions

1
Cargo.lock generated
View File

@@ -631,6 +631,7 @@ dependencies = [
name = "net_util"
version = "0.1.0"
dependencies = [
"epoll",
"lazy_static",
"libc",
"log 0.4.8",