diff options
author | Joe Perches <joe@perches.com> | 2007-12-16 13:42:49 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:58:13 -0800 |
commit | 2658fa803111dae1353602e7f586de8e537803e2 (patch) | |
tree | 23921cc424e502855f21da2e8b7259cc1fea48b7 /include/asm-um/param.h | |
parent | 586f12115264b767ea6a48ce081ca25a39c1e3dd (diff) |
[IPV4]: Create ipv4_is_<type>(__be32 addr) functions
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@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-um/param.h')
0 files changed, 0 insertions, 0 deletions