mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-26 09:18:24 -05:00
e2d02c29b5
As an initial step in sharing netlink helper functions among driver wrappers, create a new file for netlink code and move operstate send function there.
21 lines
575 B
C
21 lines
575 B
C
/*
|
|
* Netlink helper functions for driver wrappers
|
|
* Copyright (c) 2002-2009, 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 NETLINK_H
|
|
#define NETLINK_H
|
|
|
|
int netlink_send_oper_ifla(int sock, int ifindex, int linkmode, int operstate);
|
|
|
|
#endif /* NETLINK_H */
|