]> git.ipfire.org Git - thirdparty/ulogd2.git/commitdiff
Add missing u64 function.
authorEric Leblond <eric@regit.org>
Fri, 21 Dec 2012 20:11:49 +0000 (21:11 +0100)
committerEric Leblond <eric@regit.org>
Fri, 21 Dec 2012 20:12:21 +0000 (21:12 +0100)
include/ulogd/ulogd.h

index 81933f2422dea07c582b44baaf56c8293eb7c380..41c2e9beaaefd06e85d7b8574cb2dbf032837bcc 100644 (file)
@@ -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;