mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 17:28:29 -05:00
0f3d578efc
Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
23 lines
835 B
C
23 lines
835 B
C
/*
|
|
* Linux ioctl helper functions for driver wrappers
|
|
* Copyright (c) 2002-2010, Jouni Malinen <j@w1.fi>
|
|
*
|
|
* This software may be distributed under the terms of the BSD license.
|
|
* See README for more details.
|
|
*/
|
|
|
|
#ifndef LINUX_IOCTL_H
|
|
#define LINUX_IOCTL_H
|
|
|
|
int linux_set_iface_flags(int sock, const char *ifname, int dev_up);
|
|
int linux_iface_up(int sock, const char *ifname);
|
|
int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr);
|
|
int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr);
|
|
int linux_br_add(int sock, const char *brname);
|
|
int linux_br_del(int sock, const char *brname);
|
|
int linux_br_add_if(int sock, const char *brname, const char *ifname);
|
|
int linux_br_del_if(int sock, const char *brname, const char *ifname);
|
|
int linux_br_get(char *brname, const char *ifname);
|
|
|
|
#endif /* LINUX_IOCTL_H */
|