summaryrefslogtreecommitdiffstats
path: root/dma/nwl_loopback.h
diff options
context:
space:
mode:
Diffstat (limited to 'dma/nwl_loopback.h')
-rw-r--r--dma/nwl_loopback.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dma/nwl_loopback.h b/dma/nwl_loopback.h
new file mode 100644
index 0000000..63c8446
--- /dev/null
+++ b/dma/nwl_loopback.h
@@ -0,0 +1,7 @@
+#ifndef _PCILIB_NWL_LOOPBACK_H
+#define _PCILIB_NWL_LOOPBACK_H
+
+int dma_nwl_start_loopback(nwl_dma_t *ctx, pcilib_dma_direction_t direction, size_t packet_size);
+int dma_nwl_stop_loopback(nwl_dma_t *ctx);
+
+#endif /* _PCILIB_NWL_LOOPBACK_H */