Eric Dumazet 1823e4c80e snmp: add align parameter to snmp_mib_init()
In preparation for 64bit snmp counters for some mibs,
add an 'align' parameter to snmp_mib_init(), instead
of assuming mibs only contain 'unsigned long' fields.

Callers can use __alignof__(type) to provide correct
alignment.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Herbert Xu <herbert@gondor.apana.org.au>
CC: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
CC: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
CC: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-06-25 21:33:17 -07:00
..
2010-04-20 16:37:13 -07:00
2010-06-03 03:21:52 -07:00
2010-05-31 00:24:11 -07:00
2010-06-25 21:33:12 -07:00
2010-06-11 18:37:08 -07:00
2010-06-03 03:21:52 -07:00
2010-05-17 23:23:13 -07:00
2010-04-20 16:37:13 -07:00
2010-05-29 00:18:48 -07:00
2010-04-20 16:37:13 -07:00
2009-07-12 12:22:34 -07:00
2010-05-17 17:39:28 -07:00