Re: Is there any function similar to inet_ntoa() in Kernel or NetFilter ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julius Volz
Date: Friday, November 21, 2008 - 4:08 pm

On Thu, Nov 20, 2008 at 10:34 AM, Roar Bjørgum Rotvik <roarbr@tihlde.org> wrote:

In the latest tree, there are now "%pI4" and "%pI6" format options for printk.

For example:

printk(KERN_DEBUG "Address: %pI4\n", &v4_addr);

Julius
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Is there any function similar to inet_ntoa() in Kernel ..., Roar Bjørgum Rotvik, (Thu Nov 20, 2:34 am)
Re: Is there any function similar to inet_ntoa() in Kernel ..., Julius Volz, (Fri Nov 21, 4:08 pm)