mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
ifplugd: add copyright
This commit is contained in:
parent
71c165780a
commit
f4e4563fe7
@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* ifplugd for busybox
|
* ifplugd for busybox
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009
|
* Copyright (C) 2009 Maksym Kryzhanovskyy <xmaks@email.cz>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
||||||
*/
|
*/
|
||||||
@ -19,6 +19,21 @@
|
|||||||
#define __user
|
#define __user
|
||||||
#include <linux/wireless.h>
|
#include <linux/wireless.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
TODO: describe compat status here.
|
||||||
|
|
||||||
|
One questionable point of the design is netlink usage:
|
||||||
|
|
||||||
|
We have 1 second timeout by default to poll the link status,
|
||||||
|
it is short enough so that there are no real benefits in
|
||||||
|
using netlink to get "instantaneous" interface creation/deletion
|
||||||
|
notifications. We can check for interface existence by just
|
||||||
|
doing some fast ioctl using its name.
|
||||||
|
|
||||||
|
Netlink code then can be just dropped (1k or more?)
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define IFPLUGD_ENV_PREVIOUS "IFPLUGD_PREVIOUS"
|
#define IFPLUGD_ENV_PREVIOUS "IFPLUGD_PREVIOUS"
|
||||||
#define IFPLUGD_ENV_CURRENT "IFPLUGD_CURRENT"
|
#define IFPLUGD_ENV_CURRENT "IFPLUGD_CURRENT"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user