driver_nl80211/wext: Share netlink operstate send function
[mech_eap.orig] / src / drivers / netlink.h
1 /*
2  * Netlink helper functions for driver wrappers
3  * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
4  *
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.
8  *
9  * Alternatively, this software may be distributed under the terms of BSD
10  * license.
11  *
12  * See README and COPYING for more details.
13  */
14
15 #ifndef NETLINK_H
16 #define NETLINK_H
17
18 int netlink_send_oper_ifla(int sock, int ifindex, int linkmode, int operstate);
19
20 #endif /* NETLINK_H */