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
12 * See README and COPYING for more details.
18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up);
19 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr);
20 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr);
21 int linux_br_add(int sock, const char *brname);
22 int linux_br_del(int sock, const char *brname);
23 int linux_br_add_if(int sock, const char *brname, const char *ifname);
24 int linux_br_del_if(int sock, const char *brname, const char *ifname);
25 int linux_br_get(char *brname, const char *ifname);
27 #endif /* LINUX_IOCTL_H */