How to get a local IPv4 address from within a kernel module?

Juan Gomez (juang@us.ibm.com)
Wed, 30 Oct 2002 16:52:05 -0800


Is there any standard way of doing this? I looked into ipv4 code but I did
not find a function that would provide a direct, clean way to query the
local IPv4 addresses of a given node.
If this information is not available could we create an interface for it?
Any suggestions on the way to do it?

The interfaces provided to user-level applications do the copy to/from user
that I guess will not work with kernel modules...

Juan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/