summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-06 04:57:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-06 04:57:40 +0000
commitc47542925c44be2522adb442f268506dee9f34a7 (patch)
treebec955a1c15c5a41ca6c3a6fc3fc3c59f75e0f24 /extra
parentd2d573391d1cb10aa4f9ac4125741810354dd740 (diff)
as weber notes in Bug 99:
if_nameindex doesnt list all of my interfaces! this is because we are still using the old style ioctl(SIOCGIFINDEX) for gathering interface names/indexes. while this code is pretty small, the kernel does not return all interfaces via this method. so we import the new style netlink code from glibc and make it optional so those people who need the full functionality can get it.
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index d110a19c7..61402c0f8 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -597,6 +597,20 @@ config UCLIBC_HAS_REENTRANT_RPC
help
Most packages utilize the normal (non-reentrant) RPC functions, but
some (like exportfs from nfs-utils) need these reentrant versions.
+
+ Most people can safely answer N.
+
+config UCLIBC_USE_NETLINK
+ bool "Use netlink to query interfaces"
+ default n
+ help
+ In newer versions of Linux (2.4.17+), support was added for querying
+ network device information via netlink rather than the old style
+ ioctl's. Most of the time, the older ioctl style is sufficient (and
+ it is smaller than netlink), but if you find that not all of your
+ devices are being returned by the if_nameindex() function, you will
+ have to use the netlink implementation.
+
Most people can safely answer N.
endmenu