2010-01-03 15:08:26 -05:00
|
|
|
/*
|
|
|
|
* Linux ioctl helper functions for driver wrappers
|
|
|
|
* Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* Alternatively, this software may be distributed under the terms of BSD
|
|
|
|
* license.
|
|
|
|
*
|
|
|
|
* See README and COPYING for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LINUX_IOCTL_H
|
|
|
|
#define LINUX_IOCTL_H
|
|
|
|
|
|
|
|
int linux_set_iface_flags(int sock, const char *ifname, int dev_up);
|
2010-01-03 15:17:08 -05:00
|
|
|
int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr);
|
|
|
|
int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr);
|
2010-01-03 15:08:26 -05:00
|
|
|
|
|
|
|
#endif /* LINUX_IOCTL_H */
|