Index: uspace/drv/nic/virtio-net/virtio-net.c
===================================================================
--- uspace/drv/nic/virtio-net/virtio-net.c	(revision a2700269a26215d1d65e027459823e351f3f4553)
+++ uspace/drv/nic/virtio-net/virtio-net.c	(revision 2dac5a9f54889337e36b6b2a94454a418e5b55c1)
@@ -43,5 +43,6 @@
 
 #include <virtio-pci.h>
-
+#include "pcapdump_iface.h"
+#include "pcap_iface.h"
 #define NAME	"virtio-net"
 
@@ -97,4 +98,5 @@
 		if (frame) {
 			memcpy(frame->data, &hdr[1], len - sizeof(*hdr));
+			pcapdump_packet(nic_get_pcap_iface(nic), frame->data, frame->size);
 			nic_received_frame(nic, frame);
 		} else {
@@ -357,5 +359,5 @@
 	/* Copy packet data into the buffer just past the header */
 	memcpy(&hdr[1], data, size);
-
+	pcapdump_packet(nic_get_pcap_iface(nic), data, size);
 	/*
 	 * Set the descriptor, put it into the virtqueue and notify the device
@@ -437,4 +439,13 @@
 	    ddf_dev_get_name(dev));
 
+	errno_t pcap_rc  = pcapdump_init(nic_get_pcap_iface(nic));
+
+	if (pcap_rc != EOK) {
+		printf("Failed creating pcapdump port\n");
+	}
+	rc = ddf_fun_add_to_category(fun, "pcap");
+	if (rc != EOK)
+		goto unbind;
+
 	return EOK;
 
