Andrew Morton wrote:
> How about changing printk() so it knows how to output ipv4 dotted quads?
> printk("%q", sin.sin_addr.s_addr).
Because:
-this is the element of least surprise and
-doesn't change the API of printk and
-won't break if the number is in host order or network order, we'll use
HIPQUAD.
David Miller's NIPQUAD macro is really the most efficient way to handle this
IMO.
-d
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:25 EST