[lkml]   [2003]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectAssinging IP sin_addr in kernel space
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 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

Your help will very valuable.

Thanking You

Get more buddies in your list. Win prizes
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

 \ /
  Last update: 2005-03-22 13:34    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean