>From bb5c78816df6d9506f5e0aa1c1e7432dcd6efc0d Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki <ole@xxxxxx> Date: Mon, 16 Jun 2008 22:48:49 +0200 Subject: Netlink: add NLA_PUT_BE64 macro Add NLA_PUT_BE64 macro required for 64bit counters in netfilter Signed-off-by: Krzysztof Piotr Oledzki <ole@xxxxxx> --- include/net/netlink.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/net/netlink.h b/include/net/netlink.h index 112dcdf..4518490 100644 --- a/include/net/netlink.h +++ b/include/net/netlink.h @@ -898,6 +898,9 @@ static inline int nla_put_msecs(struct sk_buff *skb, int attrtype, #define NLA_PUT_U64(skb, attrtype, value) \ NLA_PUT_TYPE(skb, u64, attrtype, value) +#define NLA_PUT_BE64(skb, attrtype, value) \ + NLA_PUT_TYPE(skb, __be64, attrtype, value) + #define NLA_PUT_STRING(skb, attrtype, value) \ NLA_PUT(skb, attrtype, strlen(value) + 1, value) -- 1.5.5.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