Hello, what is the function to read IP address in kernel code as human readable dot quad format? IP address are unsigned int's in ip.h file as __u32 saddr; __u32 daddr; In ip_build_xmit ip header gets IP addresses from rtable struct as iph->saddr=rt->rt_src; iph->daddr=rt->rt_dst; Now if i want to know to which ip current packet is being sent i am using printks but it prints iph->saddr in int format not in user readable format. how to do that? regards, linux_lover __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/