summaryrefslogtreecommitdiff
path: root/pcap_rw.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-03 23:36:14 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-03 23:37:11 +0200
commit8bb67e4e60d1c0d9fba66c1b28e62e4d92d8d4ce (patch)
tree7237b73c834ed7d27dec252253e44856e5b615cf /pcap_rw.c
parent3e071a78f2a5c7424340b4c8b446d51e82413c13 (diff)
iosched: break out io scheduling functions from xutils
Break this stuff out, for better maintainability and readability. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'pcap_rw.c')
-rw-r--r--pcap_rw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap_rw.c b/pcap_rw.c
index 4d95c47..29d11c5 100644
--- a/pcap_rw.c
+++ b/pcap_rw.c
@@ -16,6 +16,7 @@
#include "xutils.h"
#include "xio.h"
#include "die.h"
+#include "iosched.h"
static ssize_t pcap_rw_write(int fd, pcap_pkthdr_t *phdr, enum pcap_type type,
const uint8_t *packet, size_t len)