mirror_iproute2/bridge
Phil Sutter 62000e51e0 Use ARRAY_SIZE macro everywhere
This patch was generated by the following semantic patch (a trimmed down
version of what is shipped with Linux sources):

@@
type T;
T[] E;
@@
(
- (sizeof(E)/sizeof(*E))
+ ARRAY_SIZE(E)
|
- (sizeof(E)/sizeof(E[...]))
+ ARRAY_SIZE(E)
|
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
)

The only manual adjustment was to include utils.h in misc/nstat.c to make
the macro known there.

Signed-off-by: Phil Sutter <phil@nwl.cc>
2016-06-29 09:18:18 -07:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
br_common.h bridge: mdb: add support for extended router port information 2016-03-14 16:05:09 -07:00
bridge.c bridge: add batch command support 2015-10-12 09:24:15 -07:00
fdb.c bridge: fdb: add support to filter by vlan id 2016-04-11 21:52:47 +00:00
link.c Use ARRAY_SIZE macro everywhere 2016-06-29 09:18:18 -07:00
Makefile Make builds default to quiet mode 2016-05-31 12:13:07 -07:00
mdb.c bridge: mdb: add support to filter by vlan id 2016-04-11 21:52:47 +00:00
monitor.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
vlan.c bridge: vlan: fix a few "fdb" typos in vlan doc 2016-06-27 10:49:50 -07:00