mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Assinging IP sin_addr in kernel space
@ 2003-03-24  4:54 shesha bhushan
  0 siblings, 0 replies; only message in thread
From: shesha bhushan @ 2003-03-24  4:54 UTC (permalink / raw)
  To: ips, linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-24  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-24  4:54 Assinging IP sin_addr in kernel space shesha bhushan

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®