Share a single Linux ioctl helper fo setting interface up/down
[hostap-gosc2009.git] / src / drivers / linux_ioctl.h
blob8498b9a61b33c9e860dbc23c34f6437e190cf88d
1 /*
2 * Linux ioctl helper functions for driver wrappers
3 * Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * published by the Free Software Foundation.
9 * Alternatively, this software may be distributed under the terms of BSD
10 * license.
12 * See README and COPYING for more details.
15 #ifndef LINUX_IOCTL_H
16 #define LINUX_IOCTL_H
18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up);
20 #endif /* LINUX_IOCTL_H */