netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-2.6.25 0/4] Convert IP4 address class macros to inline functions
@ 2007-11-20  6:40 Joe Perches
  2007-11-20  7:06 ` Simon Horman
  0 siblings, 1 reply; 6+ messages in thread
From: Joe Perches @ 2007-11-20  6:40 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Pekka Savola (ipv6), Alexey Kuznetsov, Hideaki YOSHIFUJI,
	James Morris, Patrick McHardy

Change LOOPBACK MULTICAST LOCAL_MCAST BADCLASS and ZERONET
macros to inline functions ipv4_is_<type>(__be32 addr)

Adds some type safety and arguably some readability

No change in compiled image size

Signed-off-by: Joe Perches <joe@perches.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH net-2.6.25 0/4] Convert IP4 address class macros to inline functions
@ 2007-11-14 15:53 Joe Perches
  0 siblings, 0 replies; 6+ messages in thread
From: Joe Perches @ 2007-11-14 15:53 UTC (permalink / raw)
  To: David Miller
  Cc: netdev, Pekka Savola (ipv6), Alexey Kuznetsov, Hideaki YOSHIFUJI,
	James Morris, Patrick McHardy

Change LOOPBACK MULTICAST LOCAL_MCAST BADCLASS and ZERONET
macros to inline functions is_ip4_[type](__be32 addr)
Adds some type safety and maybe some readability

No change in compiled image size

Signed-off-by: Joe Perches <joe@perches.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-20  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20  6:40 [PATCH net-2.6.25 0/4] Convert IP4 address class macros to inline functions Joe Perches
2007-11-20  7:06 ` Simon Horman
2007-11-20  7:18   ` Joe Perches
2007-11-20  7:42     ` Simon Horman
2007-11-20  8:03     ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2007-11-14 15:53 Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).