From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: [PATCH net-2.6.25 0/4] Convert IP4 address class macros to inline functions Date: Wed, 14 Nov 2007 07:53:19 -0800 Message-ID: <1195055599.5163.178.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: netdev , "Pekka Savola (ipv6)" , Alexey Kuznetsov , Hideaki YOSHIFUJI , James Morris , Patrick McHardy To: David Miller Return-path: Received: from DSL022.labridge.com ([206.117.136.22]:1470 "EHLO perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755722AbXKNPxW (ORCPT ); Wed, 14 Nov 2007 10:53:22 -0500 Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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