summaryrefslogtreecommitdiff
path: root/usr/src/cmd/bhyve/net_backends.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/bhyve/net_backends.h')
-rw-r--r--usr/src/cmd/bhyve/net_backends.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/cmd/bhyve/net_backends.h b/usr/src/cmd/bhyve/net_backends.h
index b55437fc7b..bc7834546b 100644
--- a/usr/src/cmd/bhyve/net_backends.h
+++ b/usr/src/cmd/bhyve/net_backends.h
@@ -37,8 +37,9 @@ typedef struct net_backend net_backend_t;
/* Interface between network frontends and the network backends. */
typedef void (*net_be_rxeof_t)(int, enum ev_type, void *param);
-int netbe_init(net_backend_t **be, const char *opts, net_be_rxeof_t cb,
+int netbe_init(net_backend_t **be, nvlist_t *nvl, net_be_rxeof_t cb,
void *param);
+int netbe_legacy_config(nvlist_t *nvl, const char *opts);
void netbe_cleanup(net_backend_t *be);
uint64_t netbe_get_cap(net_backend_t *be);
int netbe_set_cap(net_backend_t *be, uint64_t cap,