summaryrefslogtreecommitdiffstats
path: root/include/linux/gen_stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gen_stats.h')
-rw-r--r--include/linux/gen_stats.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/gen_stats.h b/include/linux/gen_stats.h
index 0ffa41df0ee8..710e901085d0 100644
--- a/include/linux/gen_stats.h
+++ b/include/linux/gen_stats.h
@@ -22,6 +22,11 @@ struct gnet_stats_basic
{
__u64 bytes;
__u32 packets;
+};
+struct gnet_stats_basic_packed
+{
+ __u64 bytes;
+ __u32 packets;
} __attribute__ ((packed));
/**
OpenPOWER on IntegriCloud