diff options
author | Eric Leblond <eric@regit.org> | 2012-12-21 21:11:49 +0100 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2012-12-21 21:12:21 +0100 |
commit | a76962b1484d4ac17a939122e4cd0227468c727e (patch) | |
tree | 71b5fa2def701da33382a6d7653a3cf1d0506078 /include | |
parent | 09c01f9e3d37417a5b0ceca6e907b3ae36ab62e1 (diff) |
Add missing u64 function.
Diffstat (limited to 'include')
-rw-r--r-- | include/ulogd/ulogd.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |