Re: dev_get_by_index is not hashed: O(n)

From: David S. Miller (
Date: Thu Aug 29 2002 - 19:37:10 EST

   From: Ben Greear <>
   Date: Thu, 29 Aug 2002 17:37:36 -0700
   What does it use?

I could say go run strace on it but...

AF_NETLINK which dumps the whole list of interface
data over a socket to the application. At least
that is what smart apps like ip use last time
I checked.

And since I deleted all of the netlink CONFIG_*
options, everyone's kernel has it enabled. There
really isn't any excuse to use netlink for network
configuration read/write in these kinds of tools.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to
More majordomo info at

This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:01 EST