netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is there any function similar to inet_ntoa() in Kernel or NetFilter ?
@ 2008-11-20  0:03 Kunsheng Chen
  2008-11-20  9:34 ` Roar Bjørgum Rotvik
  0 siblings, 1 reply; 6+ messages in thread
From: Kunsheng Chen @ 2008-11-20  0:03 UTC (permalink / raw)
  To: netdev

Hello, everyone,

I am doing a project similar to iptable using netfilter, currently I want to convert a IP address from 'long int' back to dotted address.

I don't know whether there is some functions inside kernel or netfilter that could make that like using inet_ntoa() in <arpa/inet.h>


Any idea is well appreciated.


Thanks,

Kunsheng


      


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-11-25 16:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-20  0:03 Is there any function similar to inet_ntoa() in Kernel or NetFilter ? Kunsheng Chen
2008-11-20  9:34 ` Roar Bjørgum Rotvik
2008-11-21 23:08   ` Julius Volz
2008-11-25  2:03     ` Chuck Lever
2008-11-25  6:01       ` Harvey Harrison
2008-11-25 16:44         ` Chuck Lever

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).