From ac5fd9168efaa4e149340340805b1be7425d8834 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 4 Jun 2013 10:32:48 +0200 Subject: xutils: break out promisc mode functions Put them separately for the sake of maintanence. Signed-off-by: Daniel Borkmann --- promisc.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 promisc.h (limited to 'promisc.h') 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 */ -- cgit v1.2.3-54-g00ecf