Re: [PATCH net-2.6.25 1/8] Create ipv4_is_<type>(__be32 addr)functions

From: David Miller
Date: Sun Dec 16 2007 - 16:43:21 EST


From: Joe Perches <joe@xxxxxxxxxxx>
Date: Thu, 13 Dec 2007 15:38:54 -0800

> Change IPV4 specific macros LOOPBACK MULTICAST LOCAL_MCAST BADCLASS and ZERONET
> macros to inline functions ipv4_is_<type>(__be32 addr)
>
> Adds type safety and arguably some readability.
>
> Changes since last submission:
>
> Removed ipv4_addr_octets function
> Used hex constants
> Converted recently added rfc3330 macros
>
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/