summaryrefslogtreecommitdiff
path: root/promisc.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:32:48 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-06-04 10:32:48 +0200
commitac5fd9168efaa4e149340340805b1be7425d8834 (patch)
tree6f87f03c79d0168c44f472c03f9f800c9883d266 /promisc.h
parent92206a78c27de6442f1428ccf8cd622fa3364a5a (diff)
xutils: break out promisc mode functions
Put them separately for the sake of maintanence. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'promisc.h')
-rw-r--r--promisc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/promisc.h b/promisc.h
new file mode 100644
index 0000000..b290b92
--- /dev/null
+++ b/promisc.h
@@ -0,0 +1,7 @@
+#ifndef PROMISC_H
+#define PROMISC_H
+
+extern short enter_promiscuous_mode(char *ifname);
+extern void leave_promiscuous_mode(char *ifname, short oldflags);
+
+#endif /* PROMISC_H */