iproute2/misc
Stefan Hajnoczi b338a3e7e7 ss: allow AF_FAMILY constants >32
Linux has more than 32 address families defined in <bits/socket.h>.  Use
a 64-bit type so all of them can be represented in the filter->families
bitmask.

It's easy to introduce bugs when using (1 << AF_FAMILY) because the
value is 32-bit.  This can produce incorrect results from bitmask
operations so introduce the FAMILY_MASK() macro to eliminate these bugs.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2017-10-11 10:50:20 -07:00
..
.gitignore Add ignore files to make using git easier 2006-08-08 12:04:38 -07:00
Makefile config: put CFLAGS/LDLIBS in config.mk 2017-08-23 10:03:09 -07:00
arpd.c Check user supplied interface name lengths 2017-10-02 08:01:21 -07:00
ifstat.c ifstat, nstat: Check fdopen() return value 2017-08-24 14:49:43 -07:00
lnstat.c Replace malloc && memset by calloc 2016-07-20 12:05:24 -07:00
lnstat.h iproute2: various header include fixes for compiling with musl libc 2014-05-28 16:51:39 -07:00
lnstat_util.c lnstat_util: Make sure buffer is NUL-terminated 2017-09-01 12:10:54 -07:00
nstat.c ifstat, nstat: Check fdopen() return value 2017-08-24 14:49:43 -07:00
rtacct.c misc: fix style issues 2016-03-21 11:56:36 -07:00
ss.c ss: allow AF_FAMILY constants >32 2017-10-11 10:50:20 -07:00
ssfilter.h ss: Support displaying and filtering on socket marks. 2016-09-22 16:34:40 -07:00
ssfilter.y ss: Support displaying and filtering on socket marks. 2016-09-22 16:34:40 -07:00