History

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’

Mikko Rapeli committed 11 years ago

Commit dad15811 parent 3f8c0f71 file · +4 −2Browse files

Unified · Split

include/uapi/linux/netfilter_bridge/ebtables.h+4−2
@@ -12,6 +12,8 @@ · 11 unmodified lines
1212
1313 #ifndef _UAPI__LINUX_BRIDGE_EFF_H
1414 #define _UAPI__LINUX_BRIDGE_EFF_H
15+#include <linux/types.h>
16+#include <linux/if.h>
1517 #include <linux/netfilter_bridge.h>
1618
1719 #define EBT_TABLE_MAXNAMELEN 32
@@ -33,8 +35,8 @@ struct xt_match; · 15 unmodified lines
3335 struct xt_target;
3436
3537 struct ebt_counter {
36− uint64_t pcnt;
37− uint64_t bcnt;
38+ __u64 pcnt;
39+ __u64 bcnt;
3840 };
3941
4042 struct ebt_replace {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t