From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joe Perches Subject: [PATCH] - in.h - IP4_ADDR Date: Sun, 11 Nov 2007 19:19:30 -0800 Message-ID: <1194837570.9407.29.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: netdev , "Fred L. Templin" To: David Miller Return-path: Received: from DSL022.labridge.com ([206.117.136.22]:3176 "EHLO perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754253AbXKLDTe (ORCPT ); Sun, 11 Nov 2007 22:19:34 -0500 Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Add inline functions to in.h that make the IP4 address tests a bit easier to read and also add some type safety. gcc optimizes IP4_ADDR to a constant (O2 or Os) Signed-off-by: Joe Perches