mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "shesha bhushan" <bhushan_vadulas@hotmail.com>
To: ips@ece.cmu.edu, linux-kernel@vger.kernel.org
Subject: Assinging IP sin_addr in kernel space
Date: Mon, 24 Mar 2003 04:54:16 +0000	[thread overview]
Message-ID: <F159GPDcHO6YrKpRODr0000c019@hotmail.com> (raw)

Hello All,
This is a very basic doubt I suppose, but I am not able to figure out.

If I want to send a message to IP addrs 158.168.1.1 using sockets, how to 
assign sock_data.sin_addr.s_addrs with the above IP, if I am assigning this 
in a kernel module, where functions like gethostbyname() is not avaliable to 
me.

Your help will very valuable.

Thanking You
Shesha



_________________________________________________________________
Get more buddies in your list. Win prizes http://messenger.msn.co.in/promo


                 reply	other threads:[~2003-03-24  4:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=F159GPDcHO6YrKpRODr0000c019@hotmail.com \
    --to=bhushan_vadulas@hotmail.com \
    --cc=ips@ece.cmu.edu \
    --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®