Commit dad15819 authored by Mikko Rapeli's avatar Mikko Rapeli Committed by Pablo Neira Ayuso

netfilter: ebtables: use __u64 from linux/types.h

Fixes userspace compilation error:

linux/netfilter_bridge/ebtables.h:38:2: error: unknown type name ‘uint64_t’
Signed-off-by: default avatarMikko Rapeli <mikko.rapeli@iki.fi>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 3f8c0f7e
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#ifndef _UAPI__LINUX_BRIDGE_EFF_H #ifndef _UAPI__LINUX_BRIDGE_EFF_H
#define _UAPI__LINUX_BRIDGE_EFF_H #define _UAPI__LINUX_BRIDGE_EFF_H
#include <linux/types.h>
#include <linux/if.h>
#include <linux/netfilter_bridge.h> #include <linux/netfilter_bridge.h>
#define EBT_TABLE_MAXNAMELEN 32 #define EBT_TABLE_MAXNAMELEN 32
...@@ -33,8 +35,8 @@ struct xt_match; ...@@ -33,8 +35,8 @@ struct xt_match;
struct xt_target; struct xt_target;
struct ebt_counter { struct ebt_counter {
uint64_t pcnt; __u64 pcnt;
uint64_t bcnt; __u64 bcnt;
}; };
struct ebt_replace { struct ebt_replace {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment