[PATCH 1/2] Add missing u64 function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Eric Leblond <eric@xxxxxxxxx>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux