aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu40/files/pcap-patch-net_clients.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu40/files/pcap-patch-net_clients.h')
-rw-r--r--emulators/qemu40/files/pcap-patch-net_clients.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/qemu40/files/pcap-patch-net_clients.h b/emulators/qemu40/files/pcap-patch-net_clients.h
new file mode 100644
index 000000000000..5b56f1b2f49a
--- /dev/null
+++ b/emulators/qemu40/files/pcap-patch-net_clients.h
@@ -0,0 +1,13 @@
+--- net/clients.h.orig 2018-04-24 16:30:47 UTC
++++ net/clients.h
+@@ -61,4 +61,10 @@ int net_init_netmap(const Netdev *netdev, const char *
+ int net_init_vhost_user(const Netdev *netdev, const char *name,
+ NetClientState *peer, Error **errp);
+
++#ifdef CONFIG_PCAP
++int net_init_pcap(const Netdev *netdev, const char *name,
++ NetClientState *peer, Error **errp);
++#endif
++
++
+ #endif /* QEMU_NET_CLIENTS_H */