From: Eric Leblond <eric@regit.org>
To: netfilter-devel <netfilter-devel@vger.kernel.org>
Cc: Eric Leblond <eric@regit.org>
Subject: [PATCH 1/2] Add missing u64 function.
Date: Sat, 22 Dec 2012 12:28:30 +0100 [thread overview]
Message-ID: <1356175711-13254-2-git-send-email-eric@regit.org> (raw)
In-Reply-To: <1356175711-13254-1-git-send-email-eric@regit.org>
Signed-off-by: Eric Leblond <eric@regit.org>
---
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;
--
1.7.10.4
next prev parent reply other threads:[~2012-12-22 11:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-22 11:28 [ULOGD PATCH 0/2] Add Graphite output module Eric Leblond
2012-12-22 11:28 ` Eric Leblond [this message]
2012-12-22 11:28 ` [PATCH 2/2] Add GRAPHITE " Eric Leblond
2012-12-27 8:22 ` [ULOGD PATCH 0/2] Add Graphite " Eric Leblond
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1356175711-13254-2-git-send-email-eric@regit.org \
--to=eric@regit.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).