From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Subject: endian issue in conntrack_netlink Date: Thu, 25 Aug 2005 23:09:24 +0200 Message-ID: <430E3384.6000305@eurodev.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Harald Welte Return-path: To: Netfilter Development Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-devel-bounces@lists.netfilter.org Errors-To: netfilter-devel-bounces@lists.netfilter.org List-Id: netfilter-devel.vger.kernel.org Hi Harald, while working on the conntrack tool I've observed that conntrack_netlink uses cpu_to_be64, htonl... to flip bits depending on the architecture. Is this some kind of portability issue? BTW, what is the equivalence of be64_to_cpu in userspace? Thanks! -- Pablo