History log of /external/iproute2/tc/em_cmp.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d17b136f7d7dd6ed7ea518e4f068d3de735e8756 18-Jul-2016 Phil Sutter <phil@nwl.cc> Use C99 style initializers everywhere

This big patch was compiled by vimgrepping for memset calls and changing
to C99 initializer if applicable. One notable exception is the
initialization of union bpf_attr in tc/tc_bpf.c: changing it would break
for older gcc versions (at least <=3.4.6).

Calls to memset for struct rtattr pointer fields for parse_rtattr*()
were just dropped since they are not needed.

The changes here allowed the compiler to discover some unused variables,
so get rid of them, too.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
/external/iproute2/tc/em_cmp.c
32a121cba257954963fbdd56a1c4567c2efc779a 21-Mar-2016 Stephen Hemminger <stephen@networkplumber.org> tc: code cleanup

Use checkpatch to fix whitespace and other style issues.
/external/iproute2/tc/em_cmp.c
6d5ee98a7c47644308ccb167faa93e07bb702fd8 03-Oct-2011 Thomas Jarosch <thomas.jarosch@intra2net.com> Fix wrong comparison in cmp_print_eopt()

Detected by cppcheck.

Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
/external/iproute2/tc/em_cmp.c
05b4f8492b1f605e78e7ff961cb165a475f456bc 04-Nov-2009 Mike Frysinger <vapier@gentoo.org> tc: remove dlfcn.h from files that dont need it

A bunch of source files look like they're copy & pasted from other files,
and some include header files that they don't actually need. Since dlfcn
has very specific usage (and is a pain on a static-only system), drop it
where it isn't really needed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
/external/iproute2/tc/em_cmp.c
bc45ded42ca835a735dcd934e69c17f90442d790 12-Oct-2007 Lionel Elie Mamane <lionel@mamane.lu> Fix ematch cmp and nbyte syntax help text.

The help/usage screen of ematch cmp and nbyte say recognised symbolic
values for "layer FOO" are link, header and next-header, but the code
does _not_ implement that: it will recognise "next-header" as what is
supposed to be "header" and will not recognise "header". The right
symbolic values seem to be link, network, transport. Here is a patch
that changes the help/usage screen to match the code.
(http://bugs.debian.org/438653)

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
/external/iproute2/tc/em_cmp.c
ae665a522bd46bea44c5ea84c89c8b1731954170 05-Dec-2006 Stephen Hemminger <shemminger@osdl.org> Remove trailing whitespace

Go through source files and remove all trailing whitespace

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
/external/iproute2/tc/em_cmp.c
311b41454dc445639924c691a949bd15fbfab0cb 23-Jun-2005 shemminger <shemminger> Add new extended match files.
/external/iproute2/tc/em_cmp.c