Re: Documentation / code sample wanted.

From: Alan Cox (
Date: Mon Jun 02 2003 - 14:40:02 EST

On Llu, 2003-06-02 at 18:40, Jody Pearson wrote:
> I have looked over khttpd, which has been some help, and I looked briefly
> at the nfs code, but I don't want to use RPC.
> Can anybody point me to a document/code/patch to help me out ?
> For more information, I basically want to emulate a userland
> gethostbyname() in kernel space.

Thats basically impossible because gethostbyname will handle queries to
all kinds of things like LDAP or DNSSEC. Do your lookups in user space,
its a lot simpler.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:18 EST