mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Jody Pearson <J.Pearson@cern.ch>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Documentation / code sample wanted.
Date: 02 Jun 2003 20:40:02 +0100	[thread overview]
Message-ID: <1054582801.7494.56.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0306021939490.31408-100000@lxplus077.cern.ch>

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.


  parent reply	other threads:[~2003-06-02 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02 17:40 Jody Pearson
2003-06-02 18:18 ` Richard B. Johnson
2003-06-03 10:38   ` Jody Pearson
2003-06-02 19:40 ` Alan Cox [this message]
2003-06-03  4:10 ` Matt Mackall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1054582801.7494.56.camel@dhcp22.swansea.linux.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=J.Pearson@cern.ch \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®