[PATCH 2/2] extensions conversion to C99 structure initialization and MARK target modification

Pablo Neira pablo at eurodev.net
Sat Dec 25 22:32:03 CET 2004


Hi,

This patch makes all structures use C99 initization, I needed this to 
add the versioning stuff. Actually, I've spent one hour on this... but 
it was too late when I changed my mind and decided to add a single line 
in every file. I was already possesed by a penguin... hope that it's 
worth it anyway.

Anyway, the most important thing here is the example of how to extend a 
target/match to register a new version. Please see libipt_MARK.c

Sorry, it's gzip'ed, too big for the mailling list (65K).

--
Pablo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extensions-C99.patch.gz
Type: application/gzip
Size: 7278 bytes
Desc: not available
Url : /pipermail/netfilter-devel/attachments/20041225/af64c16c/extensions-C99.patch-0001.bin


More information about the netfilter-devel mailing list