diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-26 01:17:44 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-26 01:17:44 +0000 |
| commit | f4e4563fe7030d2ed574fef837478128b40516c9 (patch) | |
| tree | fc00c10b88781c9e763b2a5b3027b386eea82e5c | |
| parent | 71c165780ac83b0562a7cbc3b57e87807f02055b (diff) | |
| download | busybox-w32-f4e4563fe7030d2ed574fef837478128b40516c9.tar.gz busybox-w32-f4e4563fe7030d2ed574fef837478128b40516c9.tar.bz2 busybox-w32-f4e4563fe7030d2ed574fef837478128b40516c9.zip | |
ifplugd: add copyright
| -rw-r--r-- | networking/ifplugd.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 5a389fdf9..3d7f2a98a 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | /* | 2 | /* |
| 3 | * ifplugd for busybox | 3 | * ifplugd for busybox |
| 4 | * | 4 | * |
| 5 | * Copyright (C) 2009 | 5 | * Copyright (C) 2009 Maksym Kryzhanovskyy <xmaks@email.cz> |
| 6 | * | 6 | * |
| 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
| 8 | */ | 8 | */ |
| @@ -19,6 +19,21 @@ | |||
| 19 | #define __user | 19 | #define __user |
| 20 | #include <linux/wireless.h> | 20 | #include <linux/wireless.h> |
| 21 | 21 | ||
| 22 | /* | ||
| 23 | TODO: describe compat status here. | ||
| 24 | |||
| 25 | One questionable point of the design is netlink usage: | ||
| 26 | |||
| 27 | We have 1 second timeout by default to poll the link status, | ||
| 28 | it is short enough so that there are no real benefits in | ||
| 29 | using netlink to get "instantaneous" interface creation/deletion | ||
| 30 | notifications. We can check for interface existence by just | ||
| 31 | doing some fast ioctl using its name. | ||
| 32 | |||
| 33 | Netlink code then can be just dropped (1k or more?) | ||
| 34 | */ | ||
| 35 | |||
| 36 | |||
| 22 | #define IFPLUGD_ENV_PREVIOUS "IFPLUGD_PREVIOUS" | 37 | #define IFPLUGD_ENV_PREVIOUS "IFPLUGD_PREVIOUS" |
| 23 | #define IFPLUGD_ENV_CURRENT "IFPLUGD_CURRENT" | 38 | #define IFPLUGD_ENV_CURRENT "IFPLUGD_CURRENT" |
| 24 | 39 | ||
