diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-08-09 12:04:49 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-08-09 12:04:49 +0200 |
commit | a2e70ae5b06ac6fa09cce3848c2ed795967b174f (patch) | |
tree | 214b9c1e15a502f4cb57939fceec371c1a970f83 /promisc.h | |
parent | af0c1f5f89750f16054c988937e180764c411c20 (diff) |
dev: Integrate `promisc' module into `dev' module
Since entering/leaving promiscuous mode also is a device specific
function and all users of the `promisc' module also use `dev', integrate
it there. Also rename the functions to have a `device_' prefix like the
other functions in the module.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'promisc.h')
-rw-r--r-- | promisc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/promisc.h b/promisc.h deleted file mode 100644 index 3dc275f..0000000 --- a/promisc.h +++ /dev/null @@ -1,7 +0,0 @@ -#ifndef PROMISC_H -#define PROMISC_H - -extern short enter_promiscuous_mode(const char *ifname); -extern void leave_promiscuous_mode(const char *ifname, short oldflags); - -#endif /* PROMISC_H */ |