Commit Graph

14 Commits

Author SHA1 Message Date
Jan Engelhardt
9148c38428 xt_mp2t: unify choice of integer types
Converge on standard C99 type names.
2010-11-24 14:14:26 +01:00
Jan Engelhardt
782fe01997 xt_mp2t: mark payload_ptr const and annotate 2010-11-04 01:12:02 +01:00
Jan Engelhardt
41d337d916 xt_mp2t: simplify boolean expression 2010-11-04 01:02:41 +01:00
Jan Engelhardt
23cae38513 xt_mp2t: reduce redundant union/struct encapsulation
The unnamed union does not serve any purpose (there is just one union
member anyway), and the struct is also not referred to (e.g. address
taken), so just flatten the outer struct entirely.
2010-11-04 00:57:49 +01:00
Jan Engelhardt
4c986d8355 xt_mp2t: update format specifiers to match types' signedness 2010-11-04 00:52:57 +01:00
Jan Engelhardt
91b61eaf08 xt_mp2t: use proper format specifiers for conn->id
First, since id is unsigned, we need %u. Second, I do not believe
uint32_t is necessary; just using unsigned int seems easier, as that
will save us lots of casts.
2010-11-04 00:40:01 +01:00
Jan Engelhardt
1d4b50b414 xt_mp2t: replace XT_MODULE_NAME by KBUILD_MODNAME
Kbuild already provides us with the module name, so no need for
redundant defines.
2010-11-04 00:30:03 +01:00
Jan Engelhardt
ff8081243d xt_mp2t: move non-API description out of header file 2010-11-04 00:28:40 +01:00
Jan Engelhardt
b44af767e8 xt_mp2t: fix mtcheck convention
Xt-a/compat_xtables has its own API that is independent from the
kernel.
2010-11-04 00:25:19 +01:00
Jan Engelhardt
305af4210b xt_mp2t: reduce mp2t_mt_reg from an array to single-level struct
There's just one currently anyway.
2010-11-04 00:22:32 +01:00
Jan Engelhardt
304bbf0846 xt_mp2t: remove redundant casts 2010-11-04 00:20:42 +01:00
Jan Engelhardt
9a40807d00 xt_mp2t: avoid compating linux headers
'#include "compat_xtables.h"' should really come as the very last
header inclusion in a source file.
2010-11-04 00:14:58 +01:00
Jan Engelhardt
5adc20a066 xt_mp2t: remove unused module alias 2010-11-04 00:08:57 +01:00
Jesper Dangaar Brouer
03710b6a5c xt_mp2t: initial import
This is my iptables match module for analyzing IPTV MPEG2/TS streams.
Currently it only detects dropped packets, but I want to extend it for
analyzing jitter and bursts.
2010-10-19 17:27:23 +02:00