Root/target/linux/generic/patches-2.6.36/031-aligned_u64.patch

1--- a/include/linux/if_ppp.h
2+++ b/include/linux/if_ppp.h
3@@ -114,14 +114,14 @@ struct pppol2tp_ioc_stats {
4     __u16 tunnel_id; /* redundant */
5     __u16 session_id; /* if zero, get tunnel stats */
6     __u32 using_ipsec:1; /* valid only for session_id == 0 */
7- aligned_u64 tx_packets;
8- aligned_u64 tx_bytes;
9- aligned_u64 tx_errors;
10- aligned_u64 rx_packets;
11- aligned_u64 rx_bytes;
12- aligned_u64 rx_seq_discards;
13- aligned_u64 rx_oos_packets;
14- aligned_u64 rx_errors;
15+ __aligned_u64 tx_packets;
16+ __aligned_u64 tx_bytes;
17+ __aligned_u64 tx_errors;
18+ __aligned_u64 rx_packets;
19+ __aligned_u64 rx_bytes;
20+ __aligned_u64 rx_seq_discards;
21+ __aligned_u64 rx_oos_packets;
22+ __aligned_u64 rx_errors;
23 };
24 
25 #define ifr__name b.ifr_ifrn.ifrn_name
26

Archive Download this file



interactive