From patchwork Sat Dec 22 11:28:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Leblond X-Patchwork-Id: 207925 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id D0C622C0094 for ; Sat, 22 Dec 2012 22:29:21 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751097Ab2LVL3U (ORCPT ); Sat, 22 Dec 2012 06:29:20 -0500 Received: from ks28632.kimsufi.com ([91.121.96.152]:54711 "EHLO ks28632.kimsufi.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751059Ab2LVL3U (ORCPT ); Sat, 22 Dec 2012 06:29:20 -0500 Received: from bayen.regit.org ([81.57.69.189] helo=localhost.localdomain) by ks28632.kimsufi.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TmNGZ-0001jD-FV; Sat, 22 Dec 2012 12:29:19 +0100 From: Eric Leblond To: netfilter-devel Cc: Eric Leblond Subject: [PATCH 1/2] Add missing u64 function. Date: Sat, 22 Dec 2012 12:28:30 +0100 Message-Id: <1356175711-13254-2-git-send-email-eric@regit.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1356175711-13254-1-git-send-email-eric@regit.org> References: <1356175711-13254-1-git-send-email-eric@regit.org> Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Signed-off-by: Eric Leblond --- include/ulogd/ulogd.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h index 81933f2..41c2e9b 100644 --- a/include/ulogd/ulogd.h +++ b/include/ulogd/ulogd.h @@ -184,6 +184,11 @@ static inline u_int32_t ikey_get_u32(struct ulogd_key *key) return key->u.source->u.value.ui32; } +static inline u_int64_t ikey_get_u64(struct ulogd_key *key) +{ + return key->u.source->u.value.ui64; +} + static inline void *ikey_get_u128(struct ulogd_key *key) { return &key->u.source->u.value.ui128;